fix code standards

This commit is contained in:
Django Doucet 2022-05-08 00:50:39 -06:00
parent 36bef694b6
commit 6af56cf82e

View file

@ -93,14 +93,15 @@ function init() {
* Add plugin settings link
*/
function plugin_settings_link( $actions ) {
$settings_link[] = \sprintf( '<a href="%1s">%2s</a>',
\menu_page_url( 'activitypub', false ),
\__( 'Settings', 'activitypub' )
$settings_link[] = \sprintf(
'<a href="%1s">%2s</a>',
\menu_page_url( 'activitypub', false ),
\__( 'Settings', 'activitypub' )
);
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