[wp-trac] [WordPress Trac] #35206: Allow theme authors to control white space between menu items

WordPress Trac noreply at wordpress.org
Thu Sep 8 08:28:00 UTC 2016


#35206: Allow theme authors to control white space between menu items
---------------------------+----------------------------
 Reporter:  peterwilsoncc  |       Owner:  peterwilsoncc
     Type:  enhancement    |      Status:  closed
 Priority:  normal         |   Milestone:  4.7
Component:  Menus          |     Version:
 Severity:  normal         |  Resolution:  fixed
 Keywords:  has-patch      |     Focuses:  template
---------------------------+----------------------------

Comment (by dgwyer):

 I understand. Thanks for clarifying.

 Replying to [comment:38 peterwilsoncc]:
 > In [attachment:35206.7.diff], there's a fix to avoid having notices when
 `Walker_Nav_Menu` is extended but methods are called with different
 arguments.
 >
 > @dgwyer you're correct, I decided to keep the logic and assignments
 identical throughout. The intent is to lower the risk of failure if a the
 class is extended and logic is copy-pasted.

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


More information about the wp-trac mailing list