[wp-trac] [WordPress Trac] #16075: Add Post Type Archives support in Nav Menus

WordPress Trac noreply at wordpress.org
Sun Nov 1 07:33:02 UTC 2015


#16075: Add Post Type Archives support in Nav Menus
----------------------------+----------------------------
 Reporter:  matzipan        |       Owner:  aaroncampbell
     Type:  task (blessed)  |      Status:  assigned
 Priority:  normal          |   Milestone:  4.4
Component:  Menus           |     Version:  3.1
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:
----------------------------+----------------------------

Comment (by westonruter):

 Replying to [comment:112 celloexpressions]:
 > [attachment:16075.customize.diff] gets us most of the way there for the
 customizer. It adds the UI but saving is broken - something in the JS (I
 think, or possibly the setting class in php) that isn't handling the new
 type properly. If no one else can figure it out, westonruter probably
 could since he wrote most of those pieces, but I'm guessing it's not too
 difficult.

 I think [attachment:16075.customize.2.diff] fixes the breakages you saw.
 The `object` type needs to be supplied, and the logic for how `_invalid`
 is determined needs to account for the `post_type_archive` type.

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


More information about the wp-trac mailing list