From c4b57cbbe361b7bce7a43be9ee8db6afdc66d3d2 Mon Sep 17 00:00:00 2001 From: audrasjb Date: Sun, 9 Jul 2023 19:56:23 +0000 Subject: [PATCH] Docs: Replace multiple single line comments with multi-line comments. This changeset updates various comments as per WordPress PHP Inline Documentation Standards. See https://developer.wordpress.org/coding-standards/inline-documentation-standards/php/#5-inline-comments. Follow-up to [56174]. Props costdev, audrasjb. See #58459. Built from https://develop.svn.wordpress.org/trunk@56175 git-svn-id: http://core.svn.wordpress.org/trunk@55687 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/menu-header.php | 6 ++++-- wp-admin/update-core.php | 6 ++++-- wp-admin/user-edit.php | 6 ++++-- wp-includes/version.php | 2 +- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/wp-admin/menu-header.php b/wp-admin/menu-header.php index 8409ced14c..9b38e6f77d 100644 --- a/wp-admin/menu-header.php +++ b/wp-admin/menu-header.php @@ -226,8 +226,10 @@ function _wp_menu_output( $menu, $submenu, $submenu_as_parent = true ) { $class[] = 'current'; $aria_attributes .= ' aria-current="page"'; } - // If plugin_page is set the parent must either match the current page or not physically exist. - // This allows plugin pages with the same hook to exist under different parents. + /* + * If plugin_page is set the parent must either match the current page or not physically exist. + * This allows plugin pages with the same hook to exist under different parents. + */ } elseif ( ( ! isset( $plugin_page ) && $self === $sub_item[2] ) || ( isset( $plugin_page ) && $plugin_page === $sub_item[2] diff --git a/wp-admin/update-core.php b/wp-admin/update-core.php index ab8294809e..61870f2439 100644 --- a/wp-admin/update-core.php +++ b/wp-admin/update-core.php @@ -850,8 +850,10 @@ function do_core_upgrade( $reinstall = false ) { return; } - // Allow relaxed file ownership writes for User-initiated upgrades when the API specifies - // that it's safe to do so. This only happens when there are no new files to create. + /* + * Allow relaxed file ownership writes for User-initiated upgrades when the API specifies + * that it's safe to do so. This only happens when there are no new files to create. + */ $allow_relaxed_file_ownership = ! $reinstall && isset( $update->new_files ) && ! $update->new_files; ?> diff --git a/wp-admin/user-edit.php b/wp-admin/user-edit.php index bd0e787964..c5468cf937 100644 --- a/wp-admin/user-edit.php +++ b/wp-admin/user-edit.php @@ -921,8 +921,10 @@ switch ( $action ) { jQuery( function( $ ) { var languageSelect = $( '#locale' ); $( 'form' ).on( 'submit', function() { - // Don't show a spinner for English and installed languages, - // as there is nothing to download. + /* + * Don't show a spinner for English and installed languages, + * as there is nothing to download. + */ if ( ! languageSelect.find( 'option:selected' ).data( 'installed' ) ) { $( '#submit', this ).after( '' ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index b4fb96e5dd..76e0051d64 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.3-beta3-56174'; +$wp_version = '6.3-beta3-56175'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.