Skip to content

Commit

Permalink
button filter fix
Browse files Browse the repository at this point in the history
  • Loading branch information
joshp23 committed Mar 13, 2021
1 parent abd6231 commit 727c9d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion authMgrPlus/plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ function amp_ajax_button_check( $actions, $keyword ) {
// define restricted buttons
$restricted_buttons = array('delete', 'edit');
if ( 'YOURLS_PRIVATE_INFOS' === true )
array_push( $restricted_buttons, 'stats');
$restricted_buttons += ['stats'];

$restricted_buttons = yourls_apply_filter( 'amp_restricted_buttons', $restricted_buttons );

Expand Down

0 comments on commit 727c9d8

Please sign in to comment.