[wp-trac] [WordPress Trac] #26072: Bundle the Open Sans font
WordPress Trac
noreply at wordpress.org
Mon Oct 6 09:42:14 UTC 2014
#26072: Bundle the Open Sans font
----------------------------+-------------------------
Reporter: johnbillion | Owner:
Type: task (blessed) | Status: closed
Priority: high | Milestone:
Component: Administration | Version: 3.8
Severity: normal | Resolution: maybelater
Keywords: | Focuses: ui
----------------------------+-------------------------
Comment (by igmoweb):
If Open Sans is going to stay, shouldn't we add the possibility to change
the font URL? Maybe a filter in wp-includes/script-loader.php
{{{
$open_sans_font_url = apply_filters( 'wp_open_sans_whatever',
"//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,300,400,600&subset=$subsets"
);
}}}
At least it makes more sense that unregistering and registering a new one.
We could add a comment for the filter that would indicate that setting the
URL to an empty one would not break the admin.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26072#comment:32>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list