Skip to content

Commit 4f49a2d

Browse files

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/test-php.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- name: Setup PHP version
4242
uses: shivammathur/setup-php@v2
4343
with:
44-
php-version: ${{ matrix.php-version }}
44+
php-version: ${{ matrix.php-versions }}
4545
extensions: simplexml, mysql
4646
tools: phpunit-polyfills:1.1
4747
- name: Checkout source code

inc/lazyload_replacer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ public static function get_background_lazyload_selectors() {
115115
return self::$background_lazyload_selectors;
116116
}
117117

118-
if ( ! isset( self::instance()->settings ) ) {
118+
if ( self::instance()->settings === null ) {
119119
self::$background_lazyload_selectors = [];
120120

121121
return self::$background_lazyload_selectors;

0 commit comments

Comments
 (0)