[wp-trac] [WordPress Trac] #50292: Change 'post updated' notification text to '[post type name] updated'

WordPress Trac noreply at wordpress.org
Tue Jul 28 01:36:16 UTC 2020


#50292: Change 'post updated' notification text to '[post type name] updated'
-------------------------------+------------------------------
 Reporter:  ninetyninew        |       Owner:  (none)
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  close              |     Focuses:
-------------------------------+------------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:3 deadpixl]:
 > The message on [44110] mentions that the new labels were added because
 of the REST API. Do these new labels get used for the classic editor? They
 don't seem to be working for me. e.g. I'm still seeing "Post updated." for
 my CPT even though `$labels['item_updated']` is "Event updated." All my
 other labels are working.

 As far as I remember, `item_updated` and the other four labels added in
 [44110] are indeed only used in the block editor. It might be a good idea
 to look into using them in the classic editor too.

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


More information about the wp-trac mailing list