wordpress-develop/tests/phpunit/tests/general
Weston Ruter e6425b0735 Customize: Prevent absent site icon link from outputting an empty string as href in customizer; use /favicon.ico as fallback.
An empty string causes some browsers to use the current URL as the `href`. When using `history.replaceState()` Chrome will re-fetch the favicon with each call, meaning that `customize.php` gets hit with wasted requests which tax the server.

Fixes #38377.


git-svn-id: https://develop.svn.wordpress.org/trunk@38901 602fd350-edb4-49c9-b593-d223f7449a82
2016-10-25 04:46:36 +00:00
..
archives.php Unit Tests: after [35225], make factory a method/getter on WP_UnitTestCase and add magic methods for BC for every plugin that is extending WP_UnitTestCase and accessing the $factory instance prop. 2015-10-17 18:02:16 +00:00
document-title.php Build/Test Tools: Begin eliminating unnecessary randomness in tests. 2016-10-09 01:11:14 +00:00
errors.php New remove() method and some unit tests for the WP_Error class. 2014-10-08 07:11:09 +00:00
paginateLinks.php Tests: Introduce WP_UnitTestCase::reset_permalinks(), an attempt to DRY up logic for resetting and restoring default permalinks on setUp() and tearDown(). 2015-10-03 17:14:12 +00:00
resourceHints.php Resource Hints: Allow passing custom attributes to resource hints. 2016-10-19 09:28:22 +00:00
template.php Customize: Prevent absent site icon link from outputting an empty string as href in customizer; use /favicon.ico as fallback. 2016-10-25 04:46:36 +00:00