[wp-trac] [WordPress Trac] #52189: Enable wp_update_nav_menu_item to use passed values for setting post_date

WordPress Trac noreply at wordpress.org
Wed Jan 20 23:16:53 UTC 2021


#52189: Enable wp_update_nav_menu_item to use passed values for setting post_date
-------------------------------------------------+-------------------------
 Reporter:  jmdodd                               |       Owner:  audrasjb
     Type:  enhancement                          |      Status:  accepted
 Priority:  normal                               |   Milestone:  5.7
Component:  Menus                                |     Version:  trunk
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests commit      |     Focuses:
  needs-dev-note                                 |
-------------------------------------------------+-------------------------
Changes (by audrasjb):

 * keywords:  has-patch has-unit-tests => has-patch has-unit-tests commit
     needs-dev-note
 * owner:  (none) => audrasjb
 * status:  new => accepted


Comment:

 I tested the patch and it looks good and relevant to me.
 Indeed, it can be useful in some cases to get the post date, especially in
 custom nav menu walkers.

 I'm marking this for `commit`.

 Also adding `needs-dev-note` workflow keyword to make sure we don't forget
 to mention it in the Miscellaneous changes dev note :)

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


More information about the wp-trac mailing list