Changeset 14319 for trunk/wp-admin/includes/ms.php
- Timestamp:
- 04/30/2010 03:37:46 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/ms.php
r14318 r14319 367 367 global $current_user; 368 368 if ( strpos( $_SERVER['PHP_SELF'], 'profile.php' ) && isset( $_GET['updated'] ) && $email = get_option( $current_user->ID . '_new_email' ) ) 369 echo "<div id='update-nag'>" . sprintf( __( "Your email address has not been updated yet. Please check your inbox at %s for a confirmation email." ), $email['newemail'] ) . "</div>";369 echo "<div class='update-nag'>" . sprintf( __( "Your email address has not been updated yet. Please check your inbox at %s for a confirmation email." ), $email['newemail'] ) . "</div>"; 370 370 } 371 371 add_action( 'admin_notices', 'new_user_email_admin_notice' ); … … 672 672 $msg .= "<br/><br/><code>$out</code>"; 673 673 674 echo "<div id='update-nag'>$msg</div>";674 echo "<div class='update-nag'>$msg</div>"; 675 675 } 676 676 } … … 703 703 echo "<div class='updated'>$msg</div>"; 704 704 } elseif ( is_super_admin() ) { 705 printf( '<div id="update-nag">' . __( 'Your feed at %s is empty.' ) . '</div>', esc_html( $url ) );705 printf( '<div class="update-nag">' . __( 'Your feed at %s is empty.' ) . '</div>', esc_html( $url ) ); 706 706 } 707 707 } … … 713 713 return false; 714 714 if ( get_site_option( 'wpmu_upgrade_site' ) != $wp_db_version ) 715 echo "<div id='update-nag'>" . sprintf( __( 'Thank you for Updating! Please visit the <a href="%s">Update Network</a> page to update all your sites.' ), esc_url( admin_url( 'ms-upgrade-network.php' ) ) ) . "</div>";715 echo "<div class='update-nag'>" . sprintf( __( 'Thank you for Updating! Please visit the <a href="%s">Update Network</a> page to update all your sites.' ), esc_url( admin_url( 'ms-upgrade-network.php' ) ) ) . "</div>"; 716 716 } 717 717 add_action( 'admin_notices', 'site_admin_notice' ); … … 786 786 $mu_media_buttons = get_site_option( 'mu_media_buttons', array() ); 787 787 if ( empty($mu_media_buttons['image']) && current_theme_supports( 'post-thumbnails' ) ) { 788 echo "<div id='update-nag'>" . sprintf( __( "Warning! The current theme supports Featured Images. You must enable image uploads on <a href='%s'>the options page</a> for it to work." ), esc_url( admin_url( 'ms-options.php' ) ) ) . "</div>";788 echo "<div class='update-nag'>" . sprintf( __( "Warning! The current theme supports Featured Images. You must enable image uploads on <a href='%s'>the options page</a> for it to work." ), esc_url( admin_url( 'ms-options.php' ) ) ) . "</div>"; 789 789 } 790 790 } … … 796 796 if ( ! file_exists( WP_CONTENT_DIR . '/blogs.php' ) ) 797 797 return; 798 echo '<div id="update-nag">' . sprintf( __( 'The <code>%1$s</code> file is deprecated. Please remove it and update your server rewrite rules to use <code>%2$s</code> instead.' ), 'wp-content/blogs.php', 'wp-includes/ms-files.php' ) . '</div>';798 echo '<div class="update-nag">' . sprintf( __( 'The <code>%1$s</code> file is deprecated. Please remove it and update your server rewrite rules to use <code>%2$s</code> instead.' ), 'wp-content/blogs.php', 'wp-includes/ms-files.php' ) . '</div>'; 799 799 } 800 800 add_action( 'admin_notices', 'ms_deprecated_blogs_file' );
Note: See TracChangeset
for help on using the changeset viewer.