[wp-trac] [WordPress Trac] #34449: Remove CPT if exists menu item

WordPress Trac noreply at wordpress.org
Sat Dec 26 04:04:57 UTC 2015


#34449: Remove CPT if exists menu item
----------------------------------------------+-------------------------
 Reporter:  sebastian.pisula                  |       Owner:  swisspiddy
     Type:  defect (bug)                      |      Status:  closed
 Priority:  normal                            |   Milestone:  4.4.1
Component:  Menus                             |     Version:  4.4
 Severity:  normal                            |  Resolution:  fixed
 Keywords:  has-screenshots has-patch commit  |     Focuses:
----------------------------------------------+-------------------------
Changes (by dd32):

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


Comment:

 In [changeset:"36095"]:
 {{{
 #!CommitTicketReference repository="" revision="36095"
 Nav Menus: Avoid a PHP Notice when a menu contains a now unregistered post
 type archive.

 Props kucrut.
 Fixes #34449 for trunk.
 }}}

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


More information about the wp-trac mailing list