PluginProbe
WP Data Access – App Builder for Tables, Forms, Dashboards, Charts & Maps / 5.5.87
WP Data Access – App Builder for Tables, Forms, Dashboards, Charts & Maps v5.5.87
5.5.87 5.5.85 5.5.84 5.5.83 5.5.82 5.5.81 5.5.80 5.5.79 5.5.77 5.5.76 5.5.75 5.5.73 5.5.72 5.5.22 5.5.23 5.5.29 5.5.3 5.5.31 5.5.32 5.5.34 5.5.35 5.5.36 5.5.37 5.5.4 5.5.40 All 162 releases
← All changes | wp-data-access.php +19 -1 5.5.79 → 5.5.87 View file →
@@ -3,9 +3,9 @@
3 3 /**
4 4 * Plugin Name: WP Data Access
5 5 * Plugin URI: https://wpdataaccess.com/
6 6 * Description: A powerful data-driven App Builder with an intuitive Table Builder, a highly customizable Form Builder and interactive Chart support in 35 languages
7 - * Version: 5.5.79
7 + * Version: 5.5.87
8 8 * Author: Passionate Programmers B.V.
9 9 * Author URI: https://wpdataaccess.com/
10 10 * Text Domain: wp-data-access
11 11 * License: GPL-2.0+
@@ -55,8 +55,9 @@
55 55 'slug' => 'wpda_navi',
56 56 'contact' => false,
57 57 'network' => true,
58 58 ),
59 + 'has_affiliation' => 'all',
59 60 'is_live' => true,
60 61 'is_org_compliant' => true,
61 62 ) );
62 63 }
@@ -278,8 +279,21 @@
278 279 }
279 280 // phpcs:enable WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching, WordPress.DB.PreparedSQLPlaceholders, WordPress.DB.DirectDatabaseQuery.SchemaChange
280 281 }
281 282
283 + function wpda_unschedule_event( $hook ) {
284 + $crons = _get_cron_array();
285 + foreach ( $crons as $timestamp => $cron ) {
286 + if ( isset( $cron[$hook] ) ) {
287 + foreach ( $cron[$hook] as $event ) {
288 + if ( isset( $event['args'] ) ) {
289 + wp_unschedule_event( $timestamp, $hook, $event['args'] );
290 + }
291 + }
292 + }
293 + }
294 + }
295 +
282 296 /**
283 297 * Uninstall WP Data Access tables, options and meta keys
284 298 *
285 299 * @return void
@@ -301,8 +315,12 @@
301 315 // Uninstall on single site installation.
302 316 wpda_uninstall_blog();
303 317 }
304 318 WPDA::wpda_delete_content_folder();
319 + // Unscheduled all WP Data Access events
320 + wpda_unschedule_event( 'wpda_data_backup' );
321 + wpda_unschedule_event( \WPDataAccess\Query_Builder\WPDA_Query_Builder_Scheduler::SCHEDULER_HOOK_NAME );
322 + wpda_unschedule_event( \WPDataAccess\Utilities\WPDA_Export_Scheduler::SCHEDULER_HOOK_NAME );
305 323 }
306 324
307 325 wpda_freemius()->add_action( 'after_uninstall', 'wpda_uninstall' );
308 326 /**