PluginProbe ʕ •ᴥ•ʔ
JetFormBuilder — Dynamic Blocks Form Builder / 3.6.5.2
JetFormBuilder — Dynamic Blocks Form Builder v3.6.5.2
3.6.5.2 3.6.5.1 3.6.5 3.6.4.2 3.6.4.1 3.6.4 3.6.3.1 3.6.3 3.6.2.2 3.6.2.1 3.6.2 3.6.1.1 3.6.1 3.6.0.1 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.3.0 1.3.1 1.3.2 1.3.3 1.4.0 1.4.1 1.4.2 1.4.3 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.1.0 2.1.1 2.1.10 2.1.11 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 3.0.0 3.0.0.1 3.0.0.2 3.0.0.3 3.0.1 3.0.1.1 3.0.2 3.0.3 3.0.4 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.0.1 3.1.1 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7 3.1.8 3.1.9 3.2.0 3.2.1 3.2.2 3.2.3 3.3.0 3.3.1 3.3.2 3.3.3 3.3.3.1 3.3.4 3.3.4.1 3.3.4.2 3.4.0 3.4.1 3.4.2 3.4.3 3.4.4 3.4.5 3.4.5.1 3.4.5.2 3.4.6 3.4.7 3.4.7.1 3.5.0 3.5.1 3.5.1.1 3.5.1.2 3.5.2 3.5.2.1 3.5.3 3.5.4 3.5.5 3.5.6 3.5.6.1 3.5.6.2 3.5.6.3 3.6.0
jetformbuilder / includes / migrations / versions / version-3-6-5-2.php
jetformbuilder / includes / migrations / versions Last commit date
base-migration.php 2 years ago version-2-1-0.php 10 months ago version-2-1-7.php 2 years ago version-2-1-8.php 2 years ago version-3-1-7.php 2 years ago version-3-6-1.php 3 months ago version-3-6-5-2.php 6 days ago
version-3-6-5-2.php
38 lines
1 <?php
2
3
4 namespace Jet_Form_Builder\Migrations\Versions;
5
6 use Jet_Form_Builder\Migrations\Auto_Migrator;
7 use JFB_Modules\Validation\Advanced_Rules\Ssr_Callback_Allowlist;
8
9 // If this file is called directly, abort.
10 if ( ! defined( 'WPINC' ) ) {
11 die;
12 }
13
14 /**
15 * Starts a bounded backfill of the SSR "Server-Side callback" allowlist. The first batch
16 * runs immediately and a capable admin page processes the remainder through a sequence
17 * of short AJAX requests, resuming from a persisted form-ID cursor when needed. Forms
18 * reached before the backfill completes initialize their own allowlist lazily from saved
19 * content, so unattended updates do not interrupt existing custom validation. The
20 * backfill does not depend on WP-Cron.
21 *
22 * @since 3.6.5.2
23 */
24 class Version_3_6_5_2 extends Base_Migration {
25
26 public function up( \wpdb $wpdb ) {
27 Ssr_Callback_Allowlist::rebuild_from_all_forms();
28 }
29
30 public function down( \wpdb $wpdb ) {
31 delete_post_meta_by_key( Ssr_Callback_Allowlist::META_KEY );
32 delete_option( Ssr_Callback_Allowlist::OPTION_KEY );
33 delete_option( Ssr_Callback_Allowlist::REBUILD_PROGRESS_OPTION );
34 delete_transient( Ssr_Callback_Allowlist::REBUILD_LOCK_TRANSIENT );
35 delete_option( Auto_Migrator::DB_VERSION_OPTION );
36 }
37 }
38