]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/my-sites.php
WordPress 4.2.5-scripts
[autoinstalls/wordpress.git] / wp-admin / my-sites.php
index feed16aee654cc933f9e4093fe78465f2fcdff85..269b081166e7b5fb25ad0a4f688cc6c957b030f4 100644 (file)
@@ -45,14 +45,14 @@ get_current_screen()->add_help_tab( array(
 
 get_current_screen()->set_help_sidebar(
        '<p><strong>' . __('For more information:') . '</strong></p>' .
 
 get_current_screen()->set_help_sidebar(
        '<p><strong>' . __('For more information:') . '</strong></p>' .
-       '<p>' . __('<a href="http://codex.wordpress.org/Dashboard_My_Sites_Screen" target="_blank">Documentation on My Sites</a>') . '</p>' .
+       '<p>' . __('<a href="https://codex.wordpress.org/Dashboard_My_Sites_Screen" target="_blank">Documentation on My Sites</a>') . '</p>' .
        '<p>' . __('<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'
 );
 
 require_once( ABSPATH . 'wp-admin/admin-header.php' );
 
 if ( $updated ) { ?>
        '<p>' . __('<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'
 );
 
 require_once( ABSPATH . 'wp-admin/admin-header.php' );
 
 if ( $updated ) { ?>
-       <div id="message" class="updated"><p><strong><?php _e( 'Settings saved.' ); ?></strong></p></div>
+       <div id="message" class="updated notice is-dismissible"><p><strong><?php _e( 'Settings saved.' ); ?></strong></p></div>
 <?php } ?>
 
 <div class="wrap">
 <?php } ?>
 
 <div class="wrap">
@@ -64,7 +64,7 @@ if ( empty( $blogs ) ) :
        echo '</p>';
 else :
 ?>
        echo '</p>';
 else :
 ?>
-<form id="myblogs" action="" method="post">
+<form id="myblogs" method="post">
        <?php
        choose_primary_blog();
        /**
        <?php
        choose_primary_blog();
        /**
@@ -75,7 +75,7 @@ else :
        do_action( 'myblogs_allblogs_options' );
        ?>
        <br clear="all" />
        do_action( 'myblogs_allblogs_options' );
        ?>
        <br clear="all" />
-       <table class="widefat fixed">
+       <table class="widefat fixed striped">
        <?php
        /**
         * Enable the Global Settings section on the My Sites screen.
        <?php
        /**
         * Enable the Global Settings section on the My Sites screen.
@@ -109,10 +109,8 @@ else :
                $split = $split + $cols;
        }
 
                $split = $split + $cols;
        }
 
-       $c = '';
        foreach ( $rows as $row ) {
        foreach ( $rows as $row ) {
-               $c = $c == 'alternate' ? '' : 'alternate';
-               echo "<tr class='$c'>";
+               echo "<tr>";
                $i = 0;
                foreach ( $row as $user_blog ) {
                        $s = $i == 3 ? '' : 'border-right: 1px solid #ccc;';
                $i = 0;
                foreach ( $row as $user_blog ) {
                        $s = $i == 3 ? '' : 'border-right: 1px solid #ccc;';