Make WordPress Core


Ignore:
Timestamp:
11/04/2022 10:08:35 AM (2 years ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/revision.php

    r53779 r54749  
    280280    }
    281281
    282     /**
    283      * If we only have one revision, the initial revision is missing; This happens
    284      * when we have an autsosave and the user has clicked 'View the Autosave'
     282    /*
     283     * If we only have one revision, the initial revision is missing. This happens
     284     * when we have an autosave and the user has clicked 'View the Autosave'.
    285285     */
    286286    if ( 1 === count( $revisions ) ) {
Note: See TracChangeset for help on using the changeset viewer.