[wp-trac] [WordPress Trac] #24595: Twenty Thirteen: Load Genericons in a More Plugin-friendly Way

WordPress Trac noreply at wordpress.org
Tue Jun 25 21:56:18 UTC 2013


#24595: Twenty Thirteen: Load Genericons in a More Plugin-friendly Way
------------------------------+--------------------
 Reporter:  celloexpressions  |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  3.6
Component:  Bundled Theme     |     Version:  trunk
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+--------------------

Comment (by obenland):

 Replying to [comment:9 lancewillett]:
 > - Should we use "twentythirteen-genericons" as the namespace for the
 style enqueue? Plays nicer with plugins, probably.

 I used `'genericons'` in an effort to avoid loading the font multiple
 times in different namespaces.

 [[BR]]

 > - Why did you go with the base64 code?
 > - Why is the "Individual icons." and the rest of the CSS needed? This
 file should just be the exact code removed from style.css, I think.

 I basically downloaded the Genericon 2.09 package from genericons.com and
 added some formatting. Joen will use that in its next update. The purpose
 was to make future maintenance as easy as dropping the new files in the
 fonts folder.

 The base64 encoding was part of the 2.09 package.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24595#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list