[wp-trac] [WordPress Trac] #37298: unregistered CPT archive link in menu breaks nav/menu admin screen
WordPress Trac
noreply at wordpress.org
Thu Jul 7 08:36:38 UTC 2016
#37298: unregistered CPT archive link in menu breaks nav/menu admin screen
-----------------------------+------------------------
Reporter: littler.chicken | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Menus | Version: trunk
Severity: normal | Resolution: duplicate
Keywords: | Focuses:
-----------------------------+------------------------
Changes (by swissspidy):
* status: new => closed
* resolution: => duplicate
* milestone: Awaiting Review =>
Comment:
Thanks for reporting this and for the patch!
This was introduced with #35021, so I'm closing this ticket in favour of
the original one.
At the thame the patch for that ticket was written, there was no
`WP_Post_Type` class. It was just an object, which PHP probably silently
casted to an array.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37298#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list