Conflict with other plugins showing list of installed plugins
-
The
wsal_hide_plugin
function is causing conflicts with other plugins that show the list of installed plugins, like Easy Updates Manager.Please change the function from:
public function wsal_hide_plugin( $plugins ) { global $pagenow; // Check current page. if ( 'plugins.php' !== $pagenow ) { return; } // Find WSAL by plugin basename. if ( array_key_exists( WSAL_BASE_NAME, $plugins ) ) { // Remove WSAL plugin from plugin list page. unset( $plugins[ WSAL_BASE_NAME ] ); } return $plugins; }
to
public function wsal_hide_plugin( $plugins ) { global $pagenow; // Check current page. if ( 'plugins.php' !== $pagenow ) { return $plugins; } // Find WSAL by plugin basename. if ( array_key_exists( WSAL_BASE_NAME, $plugins ) ) { // Remove WSAL plugin from plugin list page. unset( $plugins[ WSAL_BASE_NAME ] ); } return $plugins; }
in the next version.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Conflict with other plugins showing list of installed plugins’ is closed to new replies.