[wp-trac] [WordPress Trac] #24864: Genericons!
WordPress Trac
noreply at wordpress.org
Sun Sep 22 21:29:43 UTC 2013
#24864: Genericons!
--------------------------------+----------------------
Reporter: georgestephanis | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: External Libraries | Version: trunk
Severity: normal | Resolution: wontfix
Keywords: |
--------------------------------+----------------------
Comment (by celloexpressions):
See also my discussion with georgestephanis on IRC:
https://irclogs.wordpress.org/chanlog.php?channel=wordpress-
themes&day=2013-09-17&sort=asc#m67669. Since there is resistance to
including in core, we're fine with leaving the current setup, but with a
clearly defined standard for how to load Genericons in a theme or plugin:
`wp_enqueue_style( 'genericons', '[url to genericons.css as it is bundled
with Genericons]', array(), '[Genericons version]' );`
As a reminder to theme/plugin authors, using a handle other than
`genericons` will cause multiple versions to load, which will NOT mean
that the most recent version, or your version of the font will necessarily
be loaded. So please play nicely.
Also note that Twenty Thirteen is doing it (slightly) wrong, see #25391
(there's a non-standard css selector).
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24864#comment:12>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list