From feec68f78d23b5a96eababf0960ac78272f71ea1 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 4 Nov 2022 10:10:14 +0000 Subject: [PATCH] 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 --- wp-admin/includes/revision.php | 6 +++--- wp-includes/version.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-admin/includes/revision.php b/wp-admin/includes/revision.php index a91fc54650..01ef368d40 100644 --- a/wp-admin/includes/revision.php +++ b/wp-admin/includes/revision.php @@ -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( diff --git a/wp-includes/version.php b/wp-includes/version.php index 2e31f0ffed..6ad6c51d6e 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.