Change Network Only to Network for network plugins, props nacin, see #12139
git-svn-id: http://svn.automattic.com/wordpress/trunk@12975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
df305b7893
commit
4563531639
|
@ -302,7 +302,7 @@ function is_network_only_plugin( $file ) {
|
||||||
/* PHP will close file handle, but we are good citizens. */
|
/* PHP will close file handle, but we are good citizens. */
|
||||||
@fclose($fp);
|
@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 true;
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue