mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
A default DNS prefetch entry for s.w.org was previously included to save a few ms in case an emoji is used that is not supported by the browser. It appears this use case doesn't justify a prefetch to s.w.org on every WordPress website. This changesets removes `emoji_svg_url` prefetch from `wp_resource_hints()`. It also updates unit tests in `Tests_General_wpResourceHints` by removing `test_should_have_defaults_on_frontend()` entirely and removing s.w.org prefetch from expected output of ten other test functions. Plugin authors can use the `wp_resource_hints` filter if they need to re-add the DNS prefetch entry for s.w.org. Follow-up to [37920], [38122]. Props joelhardi, superpoincare, jhabdas, garrett-eclipse, sabernhardt, SergeyBiryukov. Fixes #40426. See #37387. git-svn-id: https://develop.svn.wordpress.org/trunk@53904 602fd350-edb4-49c9-b593-d223f7449a82 |
||
|---|---|---|
| .. | ||
| feedLinksExtra.php | ||
| paginateLinks.php | ||
| template_CheckedSelectedHelper.php | ||
| template.php | ||
| wpError.php | ||
| wpGetArchives.php | ||
| wpGetDocumentTitle.php | ||
| wpPreloadResources.php | ||
| wpResourceHints.php | ||
| wpTitle.php | ||