[wp-trac] [WordPress Trac] #63293: "Add new post" wording change/regression?

WordPress Trac noreply at wordpress.org
Wed Apr 16 15:36:52 UTC 2025


#63293: "Add new post" wording change/regression?
-------------------------------+------------------------------
 Reporter:  sitebolts          |       Owner:  (none)
     Type:  defect (bug)       |      Status:  reopened
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:  6.8
 Severity:  normal             |  Resolution:
 Keywords:                     |     Focuses:
-------------------------------+------------------------------

Comment (by sitebolts):

 (Reposting our similar message from the other thread)

 Hi all, a few thoughts/questions here:


 **1**. Is it still possible to use separate custom wording on the menu
 item and page title? For a custom post type like "Location", we'd like to
 set [https://i.imgur.com/mhuRuy6.png the menu item] to "Add New" to keep
 it short, but then display the full "Add New Location" on
 [https://i.imgur.com/8Ie2lAw.png the editing screen].

 Our assumption would be that the `add_new` arg would set one and the
 `add_new_item` arg would set the other, but it appears that the `add_new`
 arg is now completely ignored and that the `add_new_item` arg is instead
 outputted in both locations, leaving us unable to fully customize the
 wording.



 **2**. The
 [https://developer.wordpress.org/reference/functions/register_post_type/
 register_post_type documentation] still mentions both 'add_new' and
 'add_new_item' and appears to suggest using them in roughly the way that
 we were hoping to use them. Is that documentation no longer correct?

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


More information about the wp-trac mailing list