Skip to content

Commit

Permalink
3.2.2-rc3: 3rd Caldera_Forms ESI Nonce enhancement. (@paconarud16 @ma…
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-hai committed Jun 2, 2020
1 parent 1bd5992 commit 33cd1a7
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
4 changes: 2 additions & 2 deletions litespeed-cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: LiteSpeed Cache
* Plugin URI: https://www.litespeedtech.com/products/cache-plugins/wordpress-acceleration
* Description: High-performance page caching and site optimization from LiteSpeed
* Version: 3.2.2-rc2
* Version: 3.2.2-rc3
* Author: LiteSpeed Technologies
* Author URI: https://www.litespeedtech.com
* License: GPLv3
Expand Down Expand Up @@ -33,7 +33,7 @@
return;
}

! defined( 'LSCWP_V' ) && define( 'LSCWP_V', '3.2.2-rc2' );
! defined( 'LSCWP_V' ) && define( 'LSCWP_V', '3.2.2-rc3' );

! defined( 'LSCWP_CONTENT_DIR' ) && define( 'LSCWP_CONTENT_DIR', WP_CONTENT_DIR ) ;
! defined( 'LSCWP_DIR' ) && define( 'LSCWP_DIR', __DIR__ . '/' ) ;// Full absolute path '/var/www/html/***/wp-content/plugins/litespeed-cache/' or MU
Expand Down
18 changes: 18 additions & 0 deletions thirdparty/caldera-forms.cls.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?php
/**
* The Third Party integration with Caldera Forms.
*
* @since 3.2.2
*/
namespace LiteSpeed\Thirdparty;

defined( 'WPINC' ) || exit;

class Caldera_Forms {
public static function detect() {
if ( ! defined( 'CFCORE_VER' ) ) return;

// plugins/caldera-forms/classes/render/nonce.php -> class Caldera_Forms_Render_Nonce
do_action( 'litespeed_nonce', 'caldera_forms_front_*' );
}
}
1 change: 1 addition & 0 deletions thirdparty/entry.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
'Avada',
'BBPress',
'Beaver_Builder',
'Caldera_Forms',
'Divi_Theme_Builder',
'Elementor',
'Facetwp',
Expand Down

0 comments on commit 33cd1a7

Please sign in to comment.