Change Network Only to Network for network plugins, props nacin, see #12139
git-svn-id: https://develop.svn.wordpress.org/trunk@12975 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
49bce47b8d
commit
96665140d5
|
@ -302,7 +302,7 @@ function is_network_only_plugin( $file ) {
|
|||
/* PHP will close file handle, but we are good citizens. */
|
||||
@fclose($fp);
|
||||
|
||||
if ( preg_match( '/(Network|Site Wide) Only:(.*)true$/mi', $plugin_data ) )
|
||||
if ( preg_match( '/(Network|Site Wide Only):(.*)true$/mi', $plugin_data ) )
|
||||
return true;
|
||||
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue