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
This commit is contained in:
parent
7b853d4b69
commit
c4b57cbbe3
|
@ -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]
|
||||
|
|
|
@ -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;
|
||||
|
||||
?>
|
||||
|
|
|
@ -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( '<span class="spinner language-install-spinner is-active" />' );
|
||||
}
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue