[wp-trac] [WordPress Trac] #45101: Add additional default labels to get_post_type_labels()

WordPress Trac noreply at wordpress.org
Thu Dec 13 09:57:05 UTC 2018


#45101: Add additional default labels to get_post_type_labels()
---------------------------------+------------------------------
 Reporter:  earnjam              |       Owner:  danielbachhuber
     Type:  enhancement          |      Status:  closed
 Priority:  normal               |   Milestone:  5.0
Component:  Posts, Post Types    |     Version:
 Severity:  normal               |  Resolution:  fixed
 Keywords:  has-patch fixed-5.0  |     Focuses:  rest-api
---------------------------------+------------------------------
Changes (by pento):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"44110" 44110]:
 {{{
 #!CommitTicketReference repository="" revision="44110"
 Posts, Post Types: Add labels for post transformation messages.

 Because the existing `post_updated_messages` filter can be modified
 dynamically based on post state, it's unreliable to use with REST API
 clients. Instead, these new labels give clients stateless equivalents.

 Merges [43744] from the 5.0 branch to trunk.

 Props earnjam.
 Fixes #45101.
 }}}

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


More information about the wp-trac mailing list