[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
Mon Jan 25 06:04:19 UTC 2021


#52189: Enable wp_update_nav_menu_item to use passed values for setting post_date
-------------------------------------------------+-------------------------
 Reporter:  jmdodd                               |       Owner:  pento
     Type:  enhancement                          |      Status:  reopened
 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 TimothyBlynJacobs):

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


Comment:

 It looks like the tests are introducing a phpcs error due to the usage of
 `date` instead of `gmdate`.

 https://github.com/WordPress/wordpress-develop/runs/1759066474

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


More information about the wp-trac mailing list