Make WordPress Core


Ignore:
Timestamp:
08/27/2020 01:53:48 AM (6 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].

See #50933.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/general/template.php

    r48370 r48874  
    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.