Skip to content

Commit

Permalink
Move (disabled) before Deactivate.
Browse files Browse the repository at this point in the history
  • Loading branch information
azaozz committed Nov 23, 2023
1 parent ae895f6 commit ddc4ce3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion gutenberg.php
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,10 @@ function gutenberg_disabled_action_links_notice( $links, $file ) {
// Prevent PHP warnings when a plugin uses this filter incorrectly.
$links = (array) $links;

$links['gutenberg-plugin-notice'] = __( '(disabled)', 'gutenberg' );
$links = array_merge(
array( 'gutenberg-plugin-notice' => __( '(disabled)', 'gutenberg' ) ),
$links
);
}

return $links;
Expand Down

0 comments on commit ddc4ce3

Please sign in to comment.