[wp-trac] [WordPress Trac] #37915: Customize: allow terms to be created in nav menus

WordPress Trac noreply at wordpress.org
Sun Sep 11 16:06:33 UTC 2016


#37915: Customize: allow terms to be created in nav menus
-------------------------------------+--------------------
 Reporter:  celloexpressions         |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  4.7
Component:  Customize                |     Version:  trunk
 Severity:  normal                   |  Resolution:
 Keywords:  needs-patch 2nd-opinion  |     Focuses:
-------------------------------------+--------------------

Comment (by boonebgorges):

 > However, we'd have to register a _draft_ taxonomy for every
 show_in_nav_menus taxonomy, which could be a lot of taxonomies. The
 alternative is to create one draft taxonomy for each and store the actual
 taxonomy somewhere with each term, but that could also get messy.

 Yes, it could potentially be a fairly large number of taxonomies. But
 storing everything in a single taxonomy seems problematic: taxonomies act
 differently from each other in ways that will affect the way the
 Customizer interacts with them (`hierarchical` comes to mind), and this
 will not be easy to model within a single draft taxonomy. And since the
 shadow taxonomies would only be registered when in the customizer view, it
 doesn't seem like too big a problem to have a large number of them.

 I have been thinking some more about `term_status` and will leave some
 additional thoughts in the upcoming days on #37914. I don't know that it's
 feasible for 4.7, but I do think there's a place in core for it beyond the
 Customizer, and it's worth fleshing out how that'd work.

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


More information about the wp-trac mailing list