Update WordPress to 5.2
This commit is contained in:
parent
489b5a5914
commit
e00f87f2f5
599 changed files with 119573 additions and 55990 deletions
|
@ -61,7 +61,7 @@ get_current_screen()->add_help_tab(
|
|||
get_current_screen()->set_help_sidebar(
|
||||
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
|
||||
'<p>' . __( '<a href="https://codex.wordpress.org/Network_Admin_Settings_Screen">Documentation on Network Settings</a>' ) . '</p>' .
|
||||
'<p>' . __( '<a href="https://wordpress.org/support/">Support Forums</a>' ) . '</p>'
|
||||
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
|
||||
);
|
||||
|
||||
if ( $_POST ) {
|
||||
|
|
|
@ -244,7 +244,7 @@ get_current_screen()->add_help_tab(
|
|||
get_current_screen()->set_help_sidebar(
|
||||
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
|
||||
'<p>' . __( '<a href="https://codex.wordpress.org/Network_Admin_Themes_Screen">Documentation on Network Themes</a>' ) . '</p>' .
|
||||
'<p>' . __( '<a href="https://wordpress.org/support/">Support Forums</a>' ) . '</p>'
|
||||
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
|
||||
);
|
||||
|
||||
get_current_screen()->set_screen_reader_content(
|
||||
|
|
|
@ -29,7 +29,7 @@ get_current_screen()->add_help_tab(
|
|||
get_current_screen()->set_help_sidebar(
|
||||
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
|
||||
'<p>' . __( '<a href="https://codex.wordpress.org/Network_Admin_Updates_Screen">Documentation on Upgrade Network</a>' ) . '</p>' .
|
||||
'<p>' . __( '<a href="https://wordpress.org/support/">Support Forums</a>' ) . '</p>'
|
||||
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
|
||||
);
|
||||
|
||||
require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
|
@ -57,15 +57,16 @@ switch ( $action ) {
|
|||
|
||||
$site_ids = get_sites(
|
||||
array(
|
||||
'spam' => 0,
|
||||
'deleted' => 0,
|
||||
'archived' => 0,
|
||||
'network_id' => get_current_network_id(),
|
||||
'number' => 5,
|
||||
'offset' => $n,
|
||||
'fields' => 'ids',
|
||||
'order' => 'DESC',
|
||||
'orderby' => 'id',
|
||||
'spam' => 0,
|
||||
'deleted' => 0,
|
||||
'archived' => 0,
|
||||
'network_id' => get_current_network_id(),
|
||||
'number' => 5,
|
||||
'offset' => $n,
|
||||
'fields' => 'ids',
|
||||
'order' => 'DESC',
|
||||
'orderby' => 'id',
|
||||
'update_site_meta_cache' => false,
|
||||
)
|
||||
);
|
||||
if ( empty( $site_ids ) ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue