[wp-trac] [WordPress Trac] #28478: remove open sans font as a dependency
WordPress Trac
noreply at wordpress.org
Sat Jan 31 06:55:08 UTC 2015
#28478: remove open sans font as a dependency
-------------------------------------------------+-------------------------
Reporter: norcross | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.2
Component: Script Loader | Version: 3.8
Severity: normal | Resolution:
Keywords: has-patch dev-feedback 2nd-opinion | Focuses: ui,
needs-testing | administration
-------------------------------------------------+-------------------------
Comment (by SergeyBiryukov):
I thin Nacin's point is that it's cleaner to keep the dependency than to
enqueue the script separately in each file where it might be needed (as
demonstrated by the patch).
If the goal is to disable Open Sans, re-registering it with an empty URL
works fine and seems like the way to go.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28478#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list