[wp-trac] [WordPress Trac] #32632: Update wp_setup_nav_menu_item() to stop overriding empty properties from supplied $menu_item
WordPress Trac
noreply at wordpress.org
Sun Jun 14 10:52:37 UTC 2015
#32632: Update wp_setup_nav_menu_item() to stop overriding empty properties from
supplied $menu_item
------------------------------+----------------------
Reporter: westonruter | Owner: ocean90
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.3
Component: Menus | Version: 3.0
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses:
------------------------------+----------------------
Changes (by ocean90):
* owner: => ocean90
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"32762"]:
{{{
#!CommitTicketReference repository="" revision="32762"
Nav Menus: Update `wp_setup_nav_menu_item()` to stop overriding empty
properties from supplied `$menu_item`.
Update docs for `WP_Post` constructor to indicate that `WP_Post|object`
can be the supplied param, as opposed to just `WP_Post`.
props westonruter.
fixes #32632.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32632#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list