From 924682cacfe48b9ed3c0ec21688cc56a8a34ac8c Mon Sep 17 00:00:00 2001 From: Jonathan Stegall Date: Wed, 29 Aug 2018 12:01:04 -0500 Subject: [PATCH] update for 1.4.1 bug fix --- changelog.md | 3 +++ docs/code/classes/Object_Sync_Salesforce.html | 6 ++--- .../code/classes/Object_Sync_Sf_Activate.html | 25 +++++-------------- docs/code/classes/Object_Sync_Sf_Admin.html | 6 ++--- .../classes/Object_Sync_Sf_Admin_Notice.html | 6 ++--- .../classes/Object_Sync_Sf_Deactivate.html | 6 ++--- .../classes/Object_Sync_Sf_Exception.html | 6 ++--- docs/code/classes/Object_Sync_Sf_Logging.html | 6 ++--- docs/code/classes/Object_Sync_Sf_Mapping.html | 6 ++--- docs/code/classes/Object_Sync_Sf_Queue.html | 6 ++--- .../classes/Object_Sync_Sf_Salesforce.html | 6 ++--- .../Object_Sync_Sf_Salesforce_Pull.html | 6 ++--- .../Object_Sync_Sf_Salesforce_Push.html | 6 ++--- ...bject_Sync_Sf_Salesforce_Select_Query.html | 6 ++--- ...bject_Sync_Sf_Salesforce_Soap_Partner.html | 6 ++--- .../classes/Object_Sync_Sf_WordPress.html | 6 ++--- .../Object_Sync_Sf_WordPress_Transient.html | 6 ++--- docs/code/classes/WordpressException.html | 6 ++--- docs/code/files/classes.activate.html | 6 ++--- docs/code/files/classes.admin-notice.html | 6 ++--- docs/code/files/classes.admin.html | 6 ++--- .../classes.class-object-sync-sf-queue.html | 6 ++--- docs/code/files/classes.deactivate.html | 6 ++--- docs/code/files/classes.logging.html | 6 ++--- docs/code/files/classes.salesforce.html | 6 ++--- .../files/classes.salesforce_mapping.html | 6 ++--- docs/code/files/classes.salesforce_pull.html | 6 ++--- docs/code/files/classes.salesforce_push.html | 6 ++--- docs/code/files/classes.salesforce_query.html | 6 ++--- .../classes.salesforce_soap_partner.html | 6 ++--- docs/code/files/classes.wordpress.html | 6 ++--- docs/code/files/classes/activate.php.txt | 15 +++++------ .../files/object-sync-for-salesforce.html | 6 ++--- docs/code/graphs/class.html | 2 +- docs/code/index.html | 6 ++--- docs/code/namespaces/default.html | 6 ++--- docs/code/reports/deprecated.html | 2 +- docs/code/reports/errors.html | 2 +- docs/code/reports/markers.html | 2 +- object-sync-for-salesforce.php | 4 +-- package-lock.json | 2 +- package.json | 2 +- readme.txt | 6 ++++- 43 files changed, 124 insertions(+), 133 deletions(-) diff --git a/changelog.md b/changelog.md index 7e19d8fe..5521dc76 100644 --- a/changelog.md +++ b/changelog.md @@ -1,6 +1,9 @@ Changelog ========= +* 1.4.1 (2018-08-29) + * Bug fix: in some plugin update scenarios, the database version number checker was not running. It runs all the time, now. + * 1.4.0 (2018-08-29) * New: this plugin now uses the [Action Scheduler](https://github.com/Prospress/action-scheduler) library for scheduling tasks and queueing data in a more performant and scalable way. This removes the need for some of the administrative settings, but as long as you **resave from the plugin's Schedule tab**, it should not break any existing functionality. * Bug fix: this release also stores composer library files in its Git repository. This *should* fix a deployment bug with some web hosts, such as Pantheon. diff --git a/docs/code/classes/Object_Sync_Salesforce.html b/docs/code/classes/Object_Sync_Salesforce.html index 30178d71..c8ae7bf2 100644 --- a/docs/code/classes/Object_Sync_Salesforce.html +++ b/docs/code/classes/Object_Sync_Salesforce.html @@ -136,10 +136,10 @@
- + \
-
+
@@ -1583,7 +1583,7 @@


Documentation is powered by phpDocumentor and authored - on August 29th, 2018 at 14:20. + on August 29th, 2018 at 16:58.
diff --git a/docs/code/classes/Object_Sync_Sf_Activate.html b/docs/code/classes/Object_Sync_Sf_Activate.html index a9fa0727..eebc0779 100644 --- a/docs/code/classes/Object_Sync_Sf_Activate.html +++ b/docs/code/classes/Object_Sync_Sf_Activate.html @@ -136,10 +136,10 @@
- + \
-
+
@@ -565,24 +565,11 @@

Tags

wordpress_salesforce_update_db_check()

-
wordpress_salesforce_update_db_check(object  $upgrader_object, array  $hook_extra) 
-

Check for database version on plugin upgrade -When the plugin is upgraded, if the database version does not match the current version, perform these methods

+
wordpress_salesforce_update_db_check() 
+

Check for database version +When the plugin is loaded in the admin, if the database version does not match the current version, perform these methods

-

Parameters

- - - - - - - - - - - -
object$upgrader_object
array$hook_extra

See https://developer.wordpress.org/reference/hooks/upgrader_process_complete/

@@ -713,7 +700,7 @@


Documentation is powered by phpDocumentor and authored - on August 29th, 2018 at 14:20. + on August 29th, 2018 at 16:58.
diff --git a/docs/code/classes/Object_Sync_Sf_Admin.html b/docs/code/classes/Object_Sync_Sf_Admin.html index f06ed7ff..d9331879 100644 --- a/docs/code/classes/Object_Sync_Sf_Admin.html +++ b/docs/code/classes/Object_Sync_Sf_Admin.html @@ -136,10 +136,10 @@
- + \
-
+
@@ -2433,7 +2433,7 @@


Documentation is powered by phpDocumentor and authored - on August 29th, 2018 at 14:20. + on August 29th, 2018 at 16:58.
diff --git a/docs/code/classes/Object_Sync_Sf_Admin_Notice.html b/docs/code/classes/Object_Sync_Sf_Admin_Notice.html index da369e19..6be00e6a 100644 --- a/docs/code/classes/Object_Sync_Sf_Admin_Notice.html +++ b/docs/code/classes/Object_Sync_Sf_Admin_Notice.html @@ -136,10 +136,10 @@
- + \
-
+
@@ -526,7 +526,7 @@


Documentation is powered by phpDocumentor and authored - on August 29th, 2018 at 14:20. + on August 29th, 2018 at 16:58.
diff --git a/docs/code/classes/Object_Sync_Sf_Deactivate.html b/docs/code/classes/Object_Sync_Sf_Deactivate.html index 7c2f5a81..318ffe38 100644 --- a/docs/code/classes/Object_Sync_Sf_Deactivate.html +++ b/docs/code/classes/Object_Sync_Sf_Deactivate.html @@ -136,10 +136,10 @@
- + \
-
+
@@ -666,7 +666,7 @@


Documentation is powered by phpDocumentor and authored - on August 29th, 2018 at 14:20. + on August 29th, 2018 at 16:58.
diff --git a/docs/code/classes/Object_Sync_Sf_Exception.html b/docs/code/classes/Object_Sync_Sf_Exception.html index 57b28aed..f3c91a8c 100644 --- a/docs/code/classes/Object_Sync_Sf_Exception.html +++ b/docs/code/classes/Object_Sync_Sf_Exception.html @@ -136,10 +136,10 @@
- + \
-
+
@@ -309,7 +309,7 @@


Documentation is powered by phpDocumentor and authored - on August 29th, 2018 at 14:20. + on August 29th, 2018 at 16:58.
diff --git a/docs/code/classes/Object_Sync_Sf_Logging.html b/docs/code/classes/Object_Sync_Sf_Logging.html index 4d2c997b..dcaeffcc 100644 --- a/docs/code/classes/Object_Sync_Sf_Logging.html +++ b/docs/code/classes/Object_Sync_Sf_Logging.html @@ -136,10 +136,10 @@
- + \
-
+
@@ -1120,7 +1120,7 @@


Documentation is powered by phpDocumentor and authored - on August 29th, 2018 at 14:20. + on August 29th, 2018 at 16:58.
diff --git a/docs/code/classes/Object_Sync_Sf_Mapping.html b/docs/code/classes/Object_Sync_Sf_Mapping.html index 97af9693..b490b620 100644 --- a/docs/code/classes/Object_Sync_Sf_Mapping.html +++ b/docs/code/classes/Object_Sync_Sf_Mapping.html @@ -136,10 +136,10 @@
- + \
-
+
@@ -1950,7 +1950,7 @@


Documentation is powered by phpDocumentor and authored - on August 29th, 2018 at 14:20. + on August 29th, 2018 at 16:58.
diff --git a/docs/code/classes/Object_Sync_Sf_Queue.html b/docs/code/classes/Object_Sync_Sf_Queue.html index e36d75d3..d2e0596a 100644 --- a/docs/code/classes/Object_Sync_Sf_Queue.html +++ b/docs/code/classes/Object_Sync_Sf_Queue.html @@ -136,10 +136,10 @@
- + \
-
+
@@ -1066,7 +1066,7 @@


Documentation is powered by phpDocumentor and authored - on August 29th, 2018 at 14:20. + on August 29th, 2018 at 16:58.
diff --git a/docs/code/classes/Object_Sync_Sf_Salesforce.html b/docs/code/classes/Object_Sync_Sf_Salesforce.html index cee31597..8f0c633d 100644 --- a/docs/code/classes/Object_Sync_Sf_Salesforce.html +++ b/docs/code/classes/Object_Sync_Sf_Salesforce.html @@ -136,10 +136,10 @@
- + \
-
+
@@ -1953,7 +1953,7 @@


Documentation is powered by phpDocumentor and authored - on August 29th, 2018 at 14:20. + on August 29th, 2018 at 16:58.
diff --git a/docs/code/classes/Object_Sync_Sf_Salesforce_Pull.html b/docs/code/classes/Object_Sync_Sf_Salesforce_Pull.html index 9f75f0cb..7ff3da4b 100644 --- a/docs/code/classes/Object_Sync_Sf_Salesforce_Pull.html +++ b/docs/code/classes/Object_Sync_Sf_Salesforce_Pull.html @@ -136,10 +136,10 @@
- + \
-
+
@@ -1046,7 +1046,7 @@


Documentation is powered by phpDocumentor and authored - on August 29th, 2018 at 14:20. + on August 29th, 2018 at 16:58.
diff --git a/docs/code/classes/Object_Sync_Sf_Salesforce_Push.html b/docs/code/classes/Object_Sync_Sf_Salesforce_Push.html index e7e07ad6..8de01647 100644 --- a/docs/code/classes/Object_Sync_Sf_Salesforce_Push.html +++ b/docs/code/classes/Object_Sync_Sf_Salesforce_Push.html @@ -136,10 +136,10 @@
- + \
-
+
@@ -1580,7 +1580,7 @@


Documentation is powered by phpDocumentor and authored - on August 29th, 2018 at 14:20. + on August 29th, 2018 at 16:58.
diff --git a/docs/code/classes/Object_Sync_Sf_Salesforce_Select_Query.html b/docs/code/classes/Object_Sync_Sf_Salesforce_Select_Query.html index a1526784..6d0b5fe2 100644 --- a/docs/code/classes/Object_Sync_Sf_Salesforce_Select_Query.html +++ b/docs/code/classes/Object_Sync_Sf_Salesforce_Select_Query.html @@ -136,10 +136,10 @@
- + \
-
+
@@ -581,7 +581,7 @@


Documentation is powered by phpDocumentor and authored - on August 29th, 2018 at 14:20. + on August 29th, 2018 at 16:58.
diff --git a/docs/code/classes/Object_Sync_Sf_Salesforce_Soap_Partner.html b/docs/code/classes/Object_Sync_Sf_Salesforce_Soap_Partner.html index 48d930db..72b29e56 100644 --- a/docs/code/classes/Object_Sync_Sf_Salesforce_Soap_Partner.html +++ b/docs/code/classes/Object_Sync_Sf_Salesforce_Soap_Partner.html @@ -136,10 +136,10 @@
- + \
-
+
@@ -556,7 +556,7 @@


Documentation is powered by phpDocumentor and authored - on August 29th, 2018 at 14:20. + on August 29th, 2018 at 16:58.
diff --git a/docs/code/classes/Object_Sync_Sf_WordPress.html b/docs/code/classes/Object_Sync_Sf_WordPress.html index 4ab9055b..d712a5ae 100644 --- a/docs/code/classes/Object_Sync_Sf_WordPress.html +++ b/docs/code/classes/Object_Sync_Sf_WordPress.html @@ -136,10 +136,10 @@
- + \
-
+
@@ -2212,7 +2212,7 @@


Documentation is powered by phpDocumentor and authored - on August 29th, 2018 at 14:20. + on August 29th, 2018 at 16:58.
diff --git a/docs/code/classes/Object_Sync_Sf_WordPress_Transient.html b/docs/code/classes/Object_Sync_Sf_WordPress_Transient.html index 36bc6ad8..767d2524 100644 --- a/docs/code/classes/Object_Sync_Sf_WordPress_Transient.html +++ b/docs/code/classes/Object_Sync_Sf_WordPress_Transient.html @@ -136,10 +136,10 @@
- + \
-
+
@@ -563,7 +563,7 @@


Documentation is powered by phpDocumentor and authored - on August 29th, 2018 at 14:20. + on August 29th, 2018 at 16:58.
diff --git a/docs/code/classes/WordpressException.html b/docs/code/classes/WordpressException.html index 4fa4c312..1c68b3ea 100644 --- a/docs/code/classes/WordpressException.html +++ b/docs/code/classes/WordpressException.html @@ -136,10 +136,10 @@
- + \
-
+
@@ -309,7 +309,7 @@


Documentation is powered by phpDocumentor and authored - on August 29th, 2018 at 14:20. + on August 29th, 2018 at 16:58.
diff --git a/docs/code/files/classes.activate.html b/docs/code/files/classes.activate.html index b31f4d9d..8be66797 100644 --- a/docs/code/files/classes.activate.html +++ b/docs/code/files/classes.activate.html @@ -136,10 +136,10 @@
- + \
-
+
@@ -265,7 +265,7 @@


Documentation is powered by phpDocumentor and authored - on August 29th, 2018 at 14:20. + on August 29th, 2018 at 16:58.
diff --git a/docs/code/files/classes.admin-notice.html b/docs/code/files/classes.admin-notice.html index 12143b2e..3305db21 100644 --- a/docs/code/files/classes.admin-notice.html +++ b/docs/code/files/classes.admin-notice.html @@ -136,10 +136,10 @@
- + \
-
+
@@ -265,7 +265,7 @@


Documentation is powered by phpDocumentor and authored - on August 29th, 2018 at 14:20. + on August 29th, 2018 at 16:58.
diff --git a/docs/code/files/classes.admin.html b/docs/code/files/classes.admin.html index 47becba7..9d8c8138 100644 --- a/docs/code/files/classes.admin.html +++ b/docs/code/files/classes.admin.html @@ -136,10 +136,10 @@
- + \
-
+
@@ -265,7 +265,7 @@


Documentation is powered by phpDocumentor and authored - on August 29th, 2018 at 14:20. + on August 29th, 2018 at 16:58.
diff --git a/docs/code/files/classes.class-object-sync-sf-queue.html b/docs/code/files/classes.class-object-sync-sf-queue.html index 9281bea9..15954b65 100644 --- a/docs/code/files/classes.class-object-sync-sf-queue.html +++ b/docs/code/files/classes.class-object-sync-sf-queue.html @@ -136,10 +136,10 @@
- + \
-
+
@@ -258,7 +258,7 @@


Documentation is powered by phpDocumentor and authored - on August 29th, 2018 at 14:20. + on August 29th, 2018 at 16:58.
diff --git a/docs/code/files/classes.deactivate.html b/docs/code/files/classes.deactivate.html index e0d99133..438da58d 100644 --- a/docs/code/files/classes.deactivate.html +++ b/docs/code/files/classes.deactivate.html @@ -136,10 +136,10 @@
- + \
-
+
@@ -265,7 +265,7 @@


Documentation is powered by phpDocumentor and authored - on August 29th, 2018 at 14:20. + on August 29th, 2018 at 16:58.
diff --git a/docs/code/files/classes.logging.html b/docs/code/files/classes.logging.html index 528283c7..e4d3c4cd 100644 --- a/docs/code/files/classes.logging.html +++ b/docs/code/files/classes.logging.html @@ -136,10 +136,10 @@
- + \
-
+
@@ -265,7 +265,7 @@


Documentation is powered by phpDocumentor and authored - on August 29th, 2018 at 14:20. + on August 29th, 2018 at 16:58.
diff --git a/docs/code/files/classes.salesforce.html b/docs/code/files/classes.salesforce.html index c5935a05..7bbb5af9 100644 --- a/docs/code/files/classes.salesforce.html +++ b/docs/code/files/classes.salesforce.html @@ -136,10 +136,10 @@
- + \
-
+
@@ -269,7 +269,7 @@


Documentation is powered by phpDocumentor and authored - on August 29th, 2018 at 14:20. + on August 29th, 2018 at 16:58.
diff --git a/docs/code/files/classes.salesforce_mapping.html b/docs/code/files/classes.salesforce_mapping.html index 3763a304..25082cd2 100644 --- a/docs/code/files/classes.salesforce_mapping.html +++ b/docs/code/files/classes.salesforce_mapping.html @@ -136,10 +136,10 @@
- + \
-
+
@@ -265,7 +265,7 @@


Documentation is powered by phpDocumentor and authored - on August 29th, 2018 at 14:20. + on August 29th, 2018 at 16:58.
diff --git a/docs/code/files/classes.salesforce_pull.html b/docs/code/files/classes.salesforce_pull.html index b2c39e24..767723b9 100644 --- a/docs/code/files/classes.salesforce_pull.html +++ b/docs/code/files/classes.salesforce_pull.html @@ -136,10 +136,10 @@
- + \
-
+
@@ -265,7 +265,7 @@


Documentation is powered by phpDocumentor and authored - on August 29th, 2018 at 14:20. + on August 29th, 2018 at 16:58.
diff --git a/docs/code/files/classes.salesforce_push.html b/docs/code/files/classes.salesforce_push.html index 7e76d650..67f81cb4 100644 --- a/docs/code/files/classes.salesforce_push.html +++ b/docs/code/files/classes.salesforce_push.html @@ -136,10 +136,10 @@
- + \
-
+
@@ -265,7 +265,7 @@


Documentation is powered by phpDocumentor and authored - on August 29th, 2018 at 14:20. + on August 29th, 2018 at 16:58.
diff --git a/docs/code/files/classes.salesforce_query.html b/docs/code/files/classes.salesforce_query.html index 68602815..3527a668 100644 --- a/docs/code/files/classes.salesforce_query.html +++ b/docs/code/files/classes.salesforce_query.html @@ -136,10 +136,10 @@
- + \
-
+
@@ -265,7 +265,7 @@


Documentation is powered by phpDocumentor and authored - on August 29th, 2018 at 14:20. + on August 29th, 2018 at 16:58.
diff --git a/docs/code/files/classes.salesforce_soap_partner.html b/docs/code/files/classes.salesforce_soap_partner.html index 3b2a17dc..691c29c4 100644 --- a/docs/code/files/classes.salesforce_soap_partner.html +++ b/docs/code/files/classes.salesforce_soap_partner.html @@ -136,10 +136,10 @@
- + \
-
+
@@ -266,7 +266,7 @@


Documentation is powered by phpDocumentor and authored - on August 29th, 2018 at 14:20. + on August 29th, 2018 at 16:58.
diff --git a/docs/code/files/classes.wordpress.html b/docs/code/files/classes.wordpress.html index caaca5f5..2656455c 100644 --- a/docs/code/files/classes.wordpress.html +++ b/docs/code/files/classes.wordpress.html @@ -136,10 +136,10 @@
- + \
-
+
@@ -273,7 +273,7 @@


Documentation is powered by phpDocumentor and authored - on August 29th, 2018 at 14:20. + on August 29th, 2018 at 16:58.
diff --git a/docs/code/files/classes/activate.php.txt b/docs/code/files/classes/activate.php.txt index c99d6b70..751d8492 100644 --- a/docs/code/files/classes/activate.php.txt +++ b/docs/code/files/classes/activate.php.txt @@ -58,8 +58,10 @@ class Object_Sync_Sf_Activate { register_activation_hook( dirname( __DIR__ ) . '/' . $this->slug . '.php', array( $this, 'wordpress_salesforce_tables' ) ); register_activation_hook( dirname( __DIR__ ) . '/' . $this->slug . '.php', array( $this, 'add_roles_capabilities' ) ); + // this should run when the user is in the admin area to make sure the database gets updated + add_action( 'admin_init', array( $this, 'wordpress_salesforce_update_db_check' ), 10 ); + // when users upgrade the plugin, run these hooks - add_action( 'upgrader_process_complete', array( $this, 'wordpress_salesforce_update_db_check' ), 10, 2 ); add_action( 'upgrader_process_complete', array( $this, 'check_for_action_scheduler' ), 10, 2 ); } @@ -164,16 +166,11 @@ class Object_Sync_Sf_Activate { } /** - * Check for database version on plugin upgrade - * When the plugin is upgraded, if the database version does not match the current version, perform these methods - * - * @param object $upgrader_object - * @param array $hook_extra - * - * See https://developer.wordpress.org/reference/hooks/upgrader_process_complete/ + * Check for database version + * When the plugin is loaded in the admin, if the database version does not match the current version, perform these methods * */ - public function wordpress_salesforce_update_db_check( $upgrader_object, $hook_extra ) { + public function wordpress_salesforce_update_db_check() { // user is running a version less than the current one $previous_version = get_transient( $this->option_prefix . 'installed_version' ); if ( version_compare( $previous_version, $this->version, '<' ) ) { diff --git a/docs/code/files/object-sync-for-salesforce.html b/docs/code/files/object-sync-for-salesforce.html index 327ee7b6..723e2e26 100644 --- a/docs/code/files/object-sync-for-salesforce.html +++ b/docs/code/files/object-sync-for-salesforce.html @@ -136,10 +136,10 @@
- + \
-
+
@@ -258,7 +258,7 @@


Documentation is powered by phpDocumentor and authored - on August 29th, 2018 at 14:20. + on August 29th, 2018 at 16:58.
diff --git a/docs/code/graphs/class.html b/docs/code/graphs/class.html index 5ec4e03f..4c4f58fa 100644 --- a/docs/code/graphs/class.html +++ b/docs/code/graphs/class.html @@ -152,7 +152,7 @@


Documentation is powered by phpDocumentor and authored - on August 29th, 2018 at 14:20. + on August 29th, 2018 at 16:58.
diff --git a/docs/code/index.html b/docs/code/index.html index 0d58020b..18eb913a 100644 --- a/docs/code/index.html +++ b/docs/code/index.html @@ -88,10 +88,10 @@
- + \
-
+
@@ -258,7 +258,7 @@


Documentation is powered by phpDocumentor and authored - on August 29th, 2018 at 14:20. + on August 29th, 2018 at 16:58.
diff --git a/docs/code/namespaces/default.html b/docs/code/namespaces/default.html index 52cffac8..b0776ec0 100644 --- a/docs/code/namespaces/default.html +++ b/docs/code/namespaces/default.html @@ -88,10 +88,10 @@
- + \
-
+
@@ -258,7 +258,7 @@


Documentation is powered by phpDocumentor and authored - on August 29th, 2018 at 14:20. + on August 29th, 2018 at 16:58.
diff --git a/docs/code/reports/deprecated.html b/docs/code/reports/deprecated.html index 8e788e4a..76e7e694 100644 --- a/docs/code/reports/deprecated.html +++ b/docs/code/reports/deprecated.html @@ -142,7 +142,7 @@


Documentation is powered by phpDocumentor and authored - on August 29th, 2018 at 14:20. + on August 29th, 2018 at 16:58.
diff --git a/docs/code/reports/errors.html b/docs/code/reports/errors.html index 993a0fe6..cb472024 100644 --- a/docs/code/reports/errors.html +++ b/docs/code/reports/errors.html @@ -1391,7 +1391,7 @@


Documentation is powered by phpDocumentor and authored - on August 29th, 2018 at 14:20. + on August 29th, 2018 at 16:58.
diff --git a/docs/code/reports/markers.html b/docs/code/reports/markers.html index 433f6da7..3fa7d8be 100644 --- a/docs/code/reports/markers.html +++ b/docs/code/reports/markers.html @@ -141,7 +141,7 @@


Documentation is powered by phpDocumentor and authored - on August 29th, 2018 at 14:20. + on August 29th, 2018 at 16:58.
diff --git a/object-sync-for-salesforce.php b/object-sync-for-salesforce.php index 25a93547..c79bc77b 100755 --- a/object-sync-for-salesforce.php +++ b/object-sync-for-salesforce.php @@ -2,7 +2,7 @@ /* Plugin Name: Object Sync for Salesforce Description: Object Sync for Salesforce maps and syncs data between Salesforce objects and WordPress objects. -Version: 1.4.0 +Version: 1.4.1 Author: MinnPost Author URI: https://code.minnpost.com License: GPL2+ @@ -130,7 +130,7 @@ protected function __construct() { global $wpdb; $this->wpdb = $wpdb; - $this->version = '1.4.0'; + $this->version = '1.4.1'; $this->slug = 'object-sync-for-salesforce'; $this->option_prefix = 'object_sync_for_salesforce_'; $this->login_credentials = $this->get_login_credentials(); diff --git a/package-lock.json b/package-lock.json index 16db9ee2..7a5382fc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "object-sync-for-salesforce", - "version": "1.4.0", + "version": "1.4.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 66a3b77c..77d97e9e 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "object-sync-for-salesforce", "title": "Object Sync for Salesforce", "description": "Object Sync for Salesforce is a WordPress plugin that maps and syncs data between Salesforce objects and WordPress objects.", - "version": "1.4.0", + "version": "1.4.1", "main": "index.js", "repository": "https://github.com/MinnPost/object-sync-for-salesforce.git", "author": "MinnPost", diff --git a/readme.txt b/readme.txt index f3c2f503..421ec6ef 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Donate link: https://www.minnpost.com/support/?campaign=7010G0000012fXGQAY Tags: salesforce, sync, crm Requires at least: 4.5 Tested up to: 4.9 -Stable tag: 1.4.0 +Stable tag: 1.4.1 Requires PHP: 5.5 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -187,6 +187,8 @@ There is extensive documentation of this plugin, including its developer hooks, == Changelog == +* 1.4.1 (2018-08-29) + * Bug fix: in some plugin update scenarios, the database version number checker was not running. It runs all the time, now. * 1.4.0 (2018-08-29) * New: this plugin now uses the [Action Scheduler](https://github.com/Prospress/action-scheduler) library for scheduling tasks and queueing data in a more performant and scalable way. This removes the need for some of the administrative settings, but as long as you **resave from the plugin's Schedule tab**, it should not break any existing functionality. * Bug fix: this release also stores composer library files in its Git repository. This *should* fix a deployment bug with some web hosts, such as Pantheon. @@ -194,5 +196,7 @@ There is extensive documentation of this plugin, including its developer hooks, * Thanks to GitHub user @charmoney for help reviewing this release. == Upgrade Notice == += 1.4.1 = +We have added a new method for scheduled actions, the Action Scheduler library from Prospress. When you upgrade, go to the Scheduling tab to save your settings. = 1.4.0 = We have added a new method for scheduled actions, the Action Scheduler library from Prospress. When you upgrade, go to the Scheduling tab to save your settings.