Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#55068 closed defect (bug) (fixed)

Typo in is_post_status_viewable() DocBlock

Reported by: rafiahmedd Owned by: SergeyBiryukov
Priority: normal Milestone: 6.0
Component: Posts, Post Types Version: 5.9
Severity: normal Keywords: has-patch
Cc: Focuses: docs

Description

I think there are some small typos in the wp-includes/post.php file.

Attachments (1)

55068.diff (2.2 KB ) - added by rafiahmedd 5 years ago.
Here I fixed these typos

Download all attachments as: .zip

Change History (5)

@rafiahmedd
5 years ago

Here I fixed these typos

#1 @rafiahmedd
5 years ago

  • Keywords has-patch added

#2 @SergeyBiryukov
5 years ago

  • Milestone Awaiting Review6.0

Hi there, welcome to WordPress Trac! Thanks for the ticket.

As far as I know, both "falsey" and "falsy" are acceptable. As noted here, for example: Is it "falsy" or "falsey"?

Falsey is a perfectly acceptable alternative and gives me just as many search results. The word is unfortunately too new to provide good sources.

These were previously standardized on "falsey" in [48275] / #49572 for consistency, because WordPress core appeared to have more instances of "falsey" than "falsy".

The other change looks good, thanks!

#3 @SergeyBiryukov
5 years ago

  • Summary Typo in doc blockTypo in is_post_status_viewable() DocBlock

#4 @SergeyBiryukov
5 years ago

  • Owner set to SergeyBiryukov
  • Resolutionfixed
  • Status newclosed

In 52670:

Docs: Fix typo in the is_post_status_viewable() function description.

Follow-up to [50130].

Props rafiahmedd.
Fixes #55068.

Note: See TracTickets for help on using tickets.