]> 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 f882964afc5b80b6771225b86d5bfefd6a708698..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="http://wordpress.org/support/" target="_blank">Support Forums</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 ) { ?>
 );
 
 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.
@@ -91,7 +91,7 @@ else :
         */
        $settings_html = apply_filters( 'myblogs_options', '', 'global' );
        if ( $settings_html != '' ) {
         */
        $settings_html = apply_filters( 'myblogs_options', '', 'global' );
        if ( $settings_html != '' ) {
-               echo '<tr><td valign="top"><h3>' . __( 'Global Settings' ) . '</h3></td><td>';
+               echo '<tr><td><h3>' . __( 'Global Settings' ) . '</h3></td><td>';
                echo $settings_html;
                echo '</td></tr>';
        }
                echo $settings_html;
                echo '</td></tr>';
        }
@@ -109,14 +109,12 @@ 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;';
-                       echo "<td valign='top' style='$s'>";
+                       echo "<td style='$s'>";
                        echo "<h3>{$user_blog->blogname}</h3>";
                        /**
                         * Filter the row links displayed for each site on the My Sites screen.
                        echo "<h3>{$user_blog->blogname}</h3>";
                        /**
                         * Filter the row links displayed for each site on the My Sites screen.