WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/07/10 00:30:53 (8 years ago)
Author:
ryan
Message:

s/wpmu/ms/ in file refs. Props Denis-de-Bernardy. see #11644

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/ms.php

    r12620 r12622  
    732732    printf("<div id='update-nag'>" . __("Hi %s! You're logged in as a site administrator.") . "</div>", $current_user->user_login); 
    733733    if ( get_site_option( 'wpmu_upgrade_site' ) != $wp_db_version ) { 
    734         echo "<div id='update-nag'>" . __( 'Thank you for Upgrading! Please visit the <a href="wpmu-upgrade-site.php">Upgrade Site</a> page to update all your blogs.' ) . "</div>"; 
     734        echo "<div id='update-nag'>" . __( 'Thank you for Upgrading! Please visit the <a href="ms-upgrade-site.php">Upgrade Site</a> page to update all your blogs.' ) . "</div>"; 
    735735    } 
    736736} 
     
    838838 */ 
    839839function is_wpmu_sitewide_plugin( $file ) { 
    840     /* Open the plugin file for reading to check if this is a wpmu-plugin. */ 
     840    /* Open the plugin file for reading to check if this is a ms-plugin. */ 
    841841    $fp = @fopen( WP_PLUGIN_DIR . '/' . $file, 'r' ); 
    842842     
     
    10931093    if ( strpos( $_SERVER['PHP_SELF'], 'user-new.php' ) && !get_site_option( 'add_new_users' ) ) { 
    10941094        if ( is_site_admin() ) { 
    1095             $messages[] = '<div id="message" class="updated fade"><p>' . __( 'Warning! Only site administrators may see this page. Everyone else will see a <em>page disabled</em> message. Enable it again on <a href="wpmu-options.php#addnewusers">the options page</a>.' ) . '</p></div>'; 
     1095            $messages[] = '<div id="message" class="updated fade"><p>' . __( 'Warning! Only site administrators may see this page. Everyone else will see a <em>page disabled</em> message. Enable it again on <a href="ms-options.php#addnewusers">the options page</a>.' ) . '</p></div>'; 
    10961096        } else { 
    10971097            wp_die( __('Page disabled by the administrator') ); 
     
    12541254    $mu_media_buttons = get_site_option( 'mu_media_buttons', array() ); 
    12551255    if ( !$mu_media_buttons[ 'image' ] && current_theme_supports( 'post-thumbnails' ) ) { 
    1256         echo "<div id='update-nag'>" . sprintf( __( "Warning! The current theme supports post thumbnails. You must enable image uploads on <a href='%s'>the options page</a> for it to work." ), admin_url( 'wpmu-options.php' ) ) . "</div>"; 
     1256        echo "<div id='update-nag'>" . sprintf( __( "Warning! The current theme supports post thumbnails. You must enable image uploads on <a href='%s'>the options page</a> for it to work." ), admin_url( 'ms-options.php' ) ) . "</div>"; 
    12571257    } 
    12581258} 
Note: See TracChangeset for help on using the changeset viewer.