[wp-trac] [WordPress Trac] #59080: confusing get_post_stati and get_post_statuses functions

WordPress Trac noreply at wordpress.org
Fri Nov 3 17:08:18 UTC 2023


#59080: confusing get_post_stati and get_post_statuses functions
-------------------------------+------------------------------
 Reporter:  thomask            |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:  3.0
 Severity:  normal             |  Resolution:
 Keywords:  close              |     Focuses:
-------------------------------+------------------------------
Changes (by jorbin):

 * keywords:   => close
 * version:  trunk => 3.0


Comment:

 Related: #9674

 It's too late to change the name of a function that was introduced in WP
 3.0 (Also, updating the version to that).

 While the names are similar, these two functions do different things. I
 think this should be closed as `wontfix`. As future changes happen to post
 statuses, likely in Gutenberg phase 3, naming should be considered but
 changing a name now would break many sites.

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


More information about the wp-trac mailing list