[wp-trac] [WordPress Trac] #42847: Twenty Seventeen: Social Menu creates code bloat

WordPress Trac noreply at wordpress.org
Sat Dec 9 00:02:48 UTC 2017


#42847: Twenty Seventeen: Social Menu creates code bloat
--------------------------+-----------------------------
 Reporter:  madriverweb   |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  4.8.3
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Theme: Twenty Seventeen
 Version: current

 The theme has an option to make a social menu.

 The Bug
 When using the social menu, 150+ lines of code (svg defs) are rendered in
 source code just above the closing body tag. This code is bloated with all
 the icons not selected, i.e. about 146 lines not needed when only two
 icons used.

 Steps to replicate:
 Add one or more custom links (Facebook) to social menu. Then look at
 rendered source code.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/42847>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list