diff -r 34716fd837a4 -r be944660c56a wp/wp-admin/network/sites.php --- a/wp/wp-admin/network/sites.php Tue Dec 15 15:52:01 2020 +0100 +++ b/wp/wp-admin/network/sites.php Wed Sep 21 18:19:35 2022 +0200 @@ -53,7 +53,7 @@ ) ); -$id = isset( $_REQUEST['id'] ) ? intval( $_REQUEST['id'] ) : 0; +$id = isset( $_REQUEST['id'] ) ? (int) $_REQUEST['id'] : 0; if ( isset( $_GET['action'] ) ) { /** This action is documented in wp-admin/network/edit.php */ @@ -177,8 +177,8 @@ break; case 'allblogs': - if ( ( isset( $_POST['action'] ) || isset( $_POST['action2'] ) ) && isset( $_POST['allblogs'] ) ) { - $doaction = -1 != $_POST['action'] ? $_POST['action'] : $_POST['action2']; + if ( isset( $_POST['action'] ) && isset( $_POST['allblogs'] ) ) { + $doaction = $_POST['action']; foreach ( (array) $_POST['allblogs'] as $key => $val ) { if ( '0' != $val && get_network()->site_id != $val ) { @@ -366,13 +366,18 @@

- + ' . __( 'Search results for “%s”' ) . '', esc_html( $s ) ); + echo ''; + printf( + /* translators: %s: Search query. */ + __( 'Search results for: %s' ), + '' . esc_html( $s ) . '' + ); + echo ''; } ?>