[wp-trac] [WordPress Trac] #58134: Use correct plural of status

WordPress Trac noreply at wordpress.org
Fri Aug 18 12:15:10 UTC 2023


#58134: Use correct plural of status
-------------------------------+------------------------------
 Reporter:  Presskopp          |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  needs-patch        |     Focuses:
-------------------------------+------------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:4 SergeyBiryukov]:
 > Just noting that
 [https://developer.wordpress.org/reference/functions/get_post_statuses/
 get_post_statuses()] already exists for a slightly different purpose, so
 `get_post_status_list()` as suggested above might be another option.

 There is also
 [https://developer.wordpress.org/reference/functions/get_available_post_statuses/
 get_available_post_statuses()] for another slightly different purpose.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58134#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list