mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Coding standards, space after if
git-svn-id: https://develop.svn.wordpress.org/trunk@12752 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -82,7 +82,7 @@ function find_core_update( $version, $locale ) {
|
||||
}
|
||||
|
||||
function core_update_footer( $msg = '' ) {
|
||||
if( is_multisite() && !is_super_admin() )
|
||||
if ( is_multisite() && !is_super_admin() )
|
||||
return false;
|
||||
|
||||
if ( !current_user_can('manage_options') )
|
||||
@@ -118,7 +118,7 @@ function core_update_footer( $msg = '' ) {
|
||||
add_filter( 'update_footer', 'core_update_footer' );
|
||||
|
||||
function update_nag() {
|
||||
if( is_multisite() && !is_super_admin() )
|
||||
if ( is_multisite() && !is_super_admin() )
|
||||
return false;
|
||||
|
||||
global $pagenow;
|
||||
@@ -142,7 +142,7 @@ add_action( 'admin_notices', 'update_nag', 3 );
|
||||
|
||||
// Called directly from dashboard
|
||||
function update_right_now_message() {
|
||||
if( is_multisite() && !is_super_admin() )
|
||||
if ( is_multisite() && !is_super_admin() )
|
||||
return false;
|
||||
|
||||
$cur = get_preferred_from_update_core();
|
||||
@@ -205,7 +205,7 @@ function wp_plugin_update_row( $file, $plugin_data ) {
|
||||
}
|
||||
|
||||
function wp_update_plugin($plugin, $feedback = '') {
|
||||
if( is_multisite() && !is_super_admin() )
|
||||
if ( is_multisite() && !is_super_admin() )
|
||||
return false;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user