[wp-trac] [WordPress Trac] #55895: Register custom post statuses

WordPress Trac noreply at wordpress.org
Mon Sep 22 17:44:05 UTC 2025


#55895: Register custom post statuses
--------------------------------------+------------------------------
 Reporter:  angryjim                  |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Posts, Post Types         |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  dev-feedback needs-patch  |     Focuses:
--------------------------------------+------------------------------
Changes (by mindctrl):

 * keywords:  dev-feedback has-patch => dev-feedback needs-patch


Comment:

 @callumbw95 in the original description there was interest in custom
 statuses showing in the UI, to make it possible to select the status. Your
 PR doesn't address that part of the ticket.

 Also, the proposed approach will not work for the use case described
 above, since `get_post_statuses()` is only used in one place in core, and
 that's in the `wp_xmlrpc_server` class.

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


More information about the wp-trac mailing list