Make WordPress Core

Changeset 48875


Ignore:
Timestamp:
08/27/2020 01:56:05 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Tests: Update unit tests to account for lazy-loading being disabled for custom logos by default.

Follow-up to [48870].

Merges [48874] to the 5.5 branch.
See #50933.

Location:
branches/5.5
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.5

  • branches/5.5/tests/phpunit/tests/general/template.php

    r48370 r48875  
    338338
    339339        $custom_logo_attr = array(
    340             'class' => 'custom-logo',
     340            'class'   => 'custom-logo',
     341            'loading' => false,
    341342        );
    342343
     
    369370            false,
    370371            array(
    371                 'class' => 'custom-logo',
     372                'class'   => 'custom-logo',
     373                'loading' => false,
    372374            )
    373375        );
Note: See TracChangeset for help on using the changeset viewer.