Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#56981 closed defect (bug) (fixed)

Typo in a comment in wp_prepare_revisions_for_js()

Reported by: dilipbheda Owned by: SergeyBiryukov
Priority: normal Milestone: 6.2
Component: Revisions Version:
Severity: normal Keywords: has-patch commit
Cc: Focuses: docs

Description

There is a comment block in wp_prepare_revisions_for_js():

<?php
/**
 * 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'
 */

"autsosave" here should be "autosave".

Change History (6)

#2 @mukesh27
4 years ago

  • Keywords commit added
  • Milestone Awaiting Review → 6.2

Thanks for ticket and PR.

Nice catch. PR LGTM approved.

​@SergeyBiryukov commented on ​PR #3558:


4 years ago
#3

Thanks for the PR! This looks good.

I have added a minor update to use the correct format for ​multi-line comments as per the documentation standards.

​@dilipbheda commented on ​PR #3558:


4 years ago
#4

Thank You @SergeyBiryukov :rocket:

#5 @SergeyBiryukov
4 years ago

  • Owner set to SergeyBiryukov
  • Resolution → fixed
  • Status new → closed

In 54749:

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.

​@SergeyBiryukov commented on ​PR #3558:


4 years ago
#6

Merged in r54749.

Note: See TracTickets for help on using tickets.