fix PHPCS

This commit is contained in:
Matthias Pfefferle 2022-05-09 15:21:59 +02:00 committed by Django Doucet
parent a4e8cc7e14
commit b4e79e1988

View file

@ -96,12 +96,12 @@ function plugin_settings_link( $actions ) {
$settings_link[] = \sprintf( $settings_link[] = \sprintf(
'<a href="%1s">%2s</a>', '<a href="%1s">%2s</a>',
\menu_page_url( 'activitypub', false ), \menu_page_url( 'activitypub', false ),
\__( 'Settings', 'activitypub' ) \__( 'Settings', 'activitypub' ),
); );
return \array_merge( $settings_link, $actions ); return \array_merge( $settings_link, $actions );
} }
\add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), '\Activitypub\plugin_settings_link' ); \add_filter( 'plugin_action_links_' . plugin_basename( __FILE__ ), '\Activitypub\plugin_settings_link' );
/** /**
* Add rewrite rules * Add rewrite rules