Skip to content

Commit

Permalink
Release v3.15.8 (PR #6387)
Browse files Browse the repository at this point in the history
  • Loading branch information
wordpressfan authored Jan 17, 2024
2 parents dc721cd + d06cc20 commit 64db98c
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 16 deletions.
2 changes: 1 addition & 1 deletion assets/js/lazyload-scripts.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dynamic-lists-delayjs.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dynamic-lists.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions inc/Engine/Activation/Activation.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ public static function activate_plugin() {
require WP_ROCKET_FUNCTIONS_PATH . 'formatting.php';
require WP_ROCKET_FUNCTIONS_PATH . 'i18n.php';
require WP_ROCKET_FUNCTIONS_PATH . 'htaccess.php';
require WP_ROCKET_FUNCTIONS_PATH . 'api.php';

/**
* WP Rocket activation.
Expand Down
2 changes: 1 addition & 1 deletion inc/Engine/Media/Lazyload/Subscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ public function deactivate_lazyload_on_specific_posts() {
* @return bool
*/
public function maybe_disable_core_lazyload( $value, $tag_name ) {
if ( false === $value ) {
if ( false === $value || rocket_bypass() ) {
return $value;
}

Expand Down
18 changes: 9 additions & 9 deletions inc/common/admin-bar.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,25 +122,25 @@ function rocket_admin_bar( $wp_admin_bar ) {
}

if ( $langlinks ) {
foreach ( $langlinks as $lang ) {
if ( 'wpml' !== $i18n_plugin ) {
// Add subemnu "All langs" (the one for WPML is already printed).
$wp_admin_bar->add_menu(
[
'parent' => 'purge-all',
'id' => 'purge-all-' . $lang['code'],
'title' => $lang['flag'] . ' ' . $lang['anchor'],
'href' => wp_nonce_url( admin_url( 'admin-post.php?action=' . $action . '&type=all&lang=' . $lang['code'] . $referer ), $action . '_all' ),
'id' => 'purge-all-all',
'title' => '<div class="dashicons-before dashicons-admin-site" style="line-height:1.5"> ' . __( 'All languages', 'rocket' ) . '</div>',
'href' => wp_nonce_url( admin_url( 'admin-post.php?action=' . $action . '&type=all&lang=all' . $referer ), $action . '_all' ),
]
);
}

if ( 'wpml' !== $i18n_plugin ) {
// Add subemnu "All langs" (the one for WPML is already printed).
foreach ( $langlinks as $lang ) {
$wp_admin_bar->add_menu(
[
'parent' => 'purge-all',
'id' => 'purge-all-all',
'title' => '<div class="dashicons-before dashicons-admin-site" style="line-height:1.5"> ' . __( 'All languages', 'rocket' ) . '</div>',
'href' => wp_nonce_url( admin_url( 'admin-post.php?action=' . $action . '&type=all&lang=all' . $referer ), $action . '_all' ),
'id' => 'purge-all-' . $lang['code'],
'title' => $lang['flag'] . '&nbsp;' . $lang['anchor'],
'href' => wp_nonce_url( admin_url( 'admin-post.php?action=' . $action . '&type=all&lang=' . $lang['code'] . $referer ), $action . '_all' ),
]
);
}
Expand Down

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions wp-rocket.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: WP Rocket
* Plugin URI: https://wp-rocket.me
* Description: The best WordPress performance plugin.
* Version: 3.15.7
* Version: 3.15.8
* Requires at least: 5.8
* Requires PHP: 7.3
* Code Name: Iego
Expand All @@ -20,7 +20,7 @@
defined( 'ABSPATH' ) || exit;

// Rocket defines.
define( 'WP_ROCKET_VERSION', '3.15.7' );
define( 'WP_ROCKET_VERSION', '3.15.8' );
define( 'WP_ROCKET_WP_VERSION', '5.8' );
define( 'WP_ROCKET_WP_VERSION_TESTED', '6.3.1' );
define( 'WP_ROCKET_PHP_VERSION', '7.3' );
Expand Down

0 comments on commit 64db98c

Please sign in to comment.