Tests: Update one more test to account for lazy-loading being disabled for custom logos by default.
Follow-up to [48870], [48874]. Props desrosj. Merges [48878] to the 5.5 branch. See #50933. git-svn-id: https://develop.svn.wordpress.org/branches/5.5@48879 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
cac33d2984
commit
1699ff7f13
@ -308,7 +308,8 @@ class Tests_General_Template extends WP_UnitTestCase {
|
|||||||
$this->_set_custom_logo();
|
$this->_set_custom_logo();
|
||||||
|
|
||||||
$custom_logo_attr = array(
|
$custom_logo_attr = array(
|
||||||
'class' => 'custom-logo',
|
'class' => 'custom-logo',
|
||||||
|
'loading' => false,
|
||||||
);
|
);
|
||||||
|
|
||||||
// If the logo alt attribute is empty, use the site title.
|
// If the logo alt attribute is empty, use the site title.
|
||||||
|
Loading…
Reference in New Issue
Block a user