[wp-trac] [WordPress Trac] #40426: Remove dns-prefetch of s.w.org domain

WordPress Trac noreply at wordpress.org
Sat Apr 17 00:29:44 UTC 2021


#40426: Remove dns-prefetch of s.w.org domain
---------------------------+------------------------------
 Reporter:  joelhardi      |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Script Loader  |     Version:  4.8
 Severity:  minor          |  Resolution:
 Keywords:  has-patch      |     Focuses:
---------------------------+------------------------------
Changes (by sabernhardt):

 * keywords:   => has-patch
 * component:  General => Script Loader


Comment:

 I considered making the filter default an empty string (or boolean false),
 but that wouldn't solve the situation with self-hosted emoji. So I simply
 refreshed the first patch.

 For a temporary fix, I have used the filter to remove the link tag in a
 plugin:
 {{{
 add_filter( 'emoji_svg_url', '__return_false' );
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/40426#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list