Skip to content

Commit 3905eaa

Browse files
committed
Tweak - Test for compatibility with WordPress 6.1
1 parent d810274 commit 3905eaa

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

a3-lazy-load.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Author: a3rev Software
77
Author URI: https://a3rev.com/
88
Requires at least: 5.6
9-
Tested up to: 6.0
9+
Tested up to: 6.1
1010
Text Domain: a3-lazy-load
1111
Domain Path: /languages
1212
License: GPLv2 or later

admin/admin-init.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ public function admin_settings_page( $page_data = array() ) {
217217
$activated_first_tab = false;
218218
$tab_data = false;
219219
foreach ( $tabs as $tab ) {
220-
echo '<a href="' . add_query_arg( array( 'page' => $current_page, 'tab' => $tab['name'] ), admin_url( $page_data['admin_url'] ) ) . '" class="nav-tab ';
220+
echo '<a href="' . esc_url( add_query_arg( array( 'page' => $current_page, 'tab' => $tab['name'] ), admin_url( $page_data['admin_url'] ) ) ) . '" class="nav-tab ';
221221
if ( $current_tab == '' && $activated_first_tab === false ) {
222222
echo 'nav-tab-active';
223223
$activated_first_tab = true;

readme.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Contributors: a3rev, a3rev Software, nguyencongtuan
33
Tags: a3 lazy load, Lazy Loading, image lazy load, lazyload
44
Requires at least: 5.6
5-
Tested up to: 6.0
5+
Tested up to: 6.1
66
Stable tag: 2.6.1
77
License: GPLv3
88
License URI: http://www.gnu.org/licenses/gpl-3.0.html
@@ -204,7 +204,7 @@ Filter tags to add to class name of theme to exclude lazy load on images or vide
204204

205205
= 2.6.1 - 2022/10/04 =
206206
* This maintenance release has a security vulnerability patch, please run this update.
207-
* Security This release has a patch for a security vulnerability identified by Wordfence scan
207+
* Security - This release has a patch for a security vulnerability identified by Wordfence scan
208208

209209
= 2.6.0 - 2022/07/20 =
210210
* This release adds the option to switch OFF WordPress Core Lazy Load.

0 commit comments

Comments
 (0)