Changeset 12622 for trunk/wp-admin/includes/ms.php
- Timestamp:
- 01/07/2010 12:30:53 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/includes/ms.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/ms.php
r12620 r12622 732 732 printf("<div id='update-nag'>" . __("Hi %s! You're logged in as a site administrator.") . "</div>", $current_user->user_login); 733 733 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>"; 735 735 } 736 736 } … … 838 838 */ 839 839 function 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. */ 841 841 $fp = @fopen( WP_PLUGIN_DIR . '/' . $file, 'r' ); 842 842 … … 1093 1093 if ( strpos( $_SERVER['PHP_SELF'], 'user-new.php' ) && !get_site_option( 'add_new_users' ) ) { 1094 1094 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>'; 1096 1096 } else { 1097 1097 wp_die( __('Page disabled by the administrator') ); … … 1254 1254 $mu_media_buttons = get_site_option( 'mu_media_buttons', array() ); 1255 1255 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>"; 1257 1257 } 1258 1258 }
Note: See TracChangeset
for help on using the changeset viewer.