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

WordPress Trac noreply at wordpress.org
Thu Oct 18 02:04:01 UTC 2018


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

 * owner:  (none) => danielbachhuber
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"43744" 43744]:
 {{{
 #!CommitTicketReference repository="" revision="43744"
 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.

 Props earnjam.
 Fixes #45101.
 }}}

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


More information about the wp-trac mailing list