[wp-trac] [WordPress Trac] #34446: WordPress Notice after add support for post type archives in menu
WordPress Trac
noreply at wordpress.org
Fri Dec 11 11:52:08 UTC 2015
#34446: WordPress Notice after add support for post type archives in menu
------------------------------+--------------------
Reporter: sebastian.pisula | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.4.1
Component: Menus | Version: 4.4
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
------------------------------+--------------------
Comment (by johnbillion):
The notice is caused by
[https://core.trac.wordpress.org/browser/tags/4.4/src/wp-admin/includes
/nav-menu.php#L354 this line] which sets the nav menu item's `parent`
property name to `post_parent`, but this property doesn't exist for the
pseudo element which is being used for the post type archive link
introduced in [35500].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34446#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list