[wp-trac] [WordPress Trac] #58134: Use correct plural of status
WordPress Trac
noreply at wordpress.org
Mon Apr 24 19:16:11 UTC 2023
#58134: Use correct plural of status
--------------------------+------------------------------
Reporter: Presskopp | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+------------------------------
Changes (by sabernhardt):
* keywords: => needs-patch
Comment:
I think it's worth replacing the `$stati` and `$post_stati` variables, but
I'm not sure about the function or the global variable.
Outside core, directory searches found the `get_post_stati()` function in
[https://wpdirectory.net/search/01GYT89TDGMH0980FN3WRZ6J1X 534 plugins]
and the [https://wpdirectory.net/search/01GYT88BFYAE7GYW1QE6MX99QD
Storefront theme].
If the function gets a new name (alias), `get_post_status_list()` might be
appropriate.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58134#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list