Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Plugin UnHider

A WordPress plugin that alerts you when another plugin is attempting to hide itself from you.

This is probably only useful if your site is getting hit with malware. Some WordPress malware will install a plugin to inject JavaScript into wp_head and also conceal itself from the admin plugins list like so:

define('hidden__BASENAME', basename( __DIR__ ) );
define('hidden__PLUGIN', hidden__BASENAME . DIRECTORY_SEPARATOR . basename( __FILE__ ) );

function hide_me($plugins) {

	if( is_plugin_active( hidden__PLUGIN ) ) {
		unset( $plugins[ hidden__PLUGIN ] );
	}

	return $plugins;
}

add_filter('all_plugins', 'hide_me');

This plugin detects if all_plugins has been filtered to exclude any plugins, "un-hides" them so they show up in your plugins list, and displays an alert on admin pages with information about the offending plugin(s).

About

A WordPress plugin that alerts you when another plugin is attempting to hide itself from you.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages