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 ) { ?>
- <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">
echo '</p>';
else :
?>
-<form id="myblogs" action="" method="post">
+<form id="myblogs" method="post">
<?php
choose_primary_blog();
/**
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.
$split = $split + $cols;
}
- $c = '';
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;';