diff -r 34716fd837a4 -r be944660c56a wp/wp-admin/includes/ms.php --- a/wp/wp-admin/includes/ms.php Tue Dec 15 15:52:01 2020 +0100 +++ b/wp/wp-admin/includes/ms.php Wed Sep 21 18:19:35 2022 +0200 @@ -311,7 +311,7 @@ * @since 3.0.0 * * @param int $id The user ID. - * @return bool|int The ID of the refreshed user or false if the user does not exist. + * @return int|false The ID of the refreshed user or false if the user does not exist. */ function refresh_user_details( $id ) { $id = (int) $id; @@ -689,7 +689,7 @@ * @global int $wp_db_version WordPress database version. * @global string $pagenow * - * @return false False if the current user is not a super admin. + * @return void|false Void on success. False if the current user is not a super admin. */ function site_admin_notice() { global $wp_db_version, $pagenow; @@ -842,7 +842,7 @@ function _thickbox_path_admin_subfolder() { ?> jQuery(document).ready( function($) { var languageSelect = $( '#WPLANG' ); - $( 'form' ).submit( function() { + $( 'form' ).on( 'submit', function() { // Don't show a spinner for English and installed languages, // as there is nothing to download. if ( ! languageSelect.find( 'option:selected' ).data( 'installed' ) ) { @@ -1018,6 +1018,8 @@ * * @since 4.6.0 * + * @global string $pagenow + * * @param array $args { * Optional. Array or string of Query parameters. Default empty array. *