Docs: Fix typo in a comment in `wp_prepare_revisions_for_js()`.
Includes updating the comment to use the correct format for multi-line comments as per the documentation standards. Follow-up to [30353]. Props dilipbheda, mukesh27. Fixes #56981. Built from https://develop.svn.wordpress.org/trunk@54749 git-svn-id: http://core.svn.wordpress.org/trunk@54301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a68f2da09a
commit
feec68f78d
|
@ -279,9 +279,9 @@ function wp_prepare_revisions_for_js( $post, $selected_revision_id, $from = null
|
|||
$revisions[ $revision->ID ] = apply_filters( 'wp_prepare_revision_for_js', $revisions_data, $revision, $post );
|
||||
}
|
||||
|
||||
/**
|
||||
* If we only have one revision, the initial revision is missing; This happens
|
||||
* when we have an autsosave and the user has clicked 'View the Autosave'
|
||||
/*
|
||||
* If we only have one revision, the initial revision is missing. This happens
|
||||
* when we have an autosave and the user has clicked 'View the Autosave'.
|
||||
*/
|
||||
if ( 1 === count( $revisions ) ) {
|
||||
$revisions[ $post->ID ] = array(
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.2-alpha-54748';
|
||||
$wp_version = '6.2-alpha-54749';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue