summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2016-11-30 16:22:57 -0500
committerAnthony G. Basile <blueness@gentoo.org>2016-11-30 16:22:57 -0500
commitfbf8cf39f7ec35489332158cb2f73ea535279e5b (patch)
treeb8025a3b964e60077492449c0e35bf675bcd6939 /plugins/jetpack/sync/class.jetpack-sync-module-constants.php
parentUpdate plugin openid to 3.4.2 (diff)
downloadblogs-gentoo-fbf8cf39f7ec35489332158cb2f73ea535279e5b.tar.gz
blogs-gentoo-fbf8cf39f7ec35489332158cb2f73ea535279e5b.tar.bz2
blogs-gentoo-fbf8cf39f7ec35489332158cb2f73ea535279e5b.zip
Update plugin jetpack to 4.4.1
Diffstat (limited to 'plugins/jetpack/sync/class.jetpack-sync-module-constants.php')
-rw-r--r--plugins/jetpack/sync/class.jetpack-sync-module-constants.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/jetpack/sync/class.jetpack-sync-module-constants.php b/plugins/jetpack/sync/class.jetpack-sync-module-constants.php
index 4ad9bafa..c473f19f 100644
--- a/plugins/jetpack/sync/class.jetpack-sync-module-constants.php
+++ b/plugins/jetpack/sync/class.jetpack-sync-module-constants.php
@@ -44,7 +44,7 @@ class Jetpack_Sync_Module_Constants extends Jetpack_Sync_Module {
return $this->constants_whitelist;
}
- function enqueue_full_sync_actions( $config ) {
+ function enqueue_full_sync_actions( $config, $max_items_to_enqueue, $state ) {
/**
* Tells the client to sync all constants to the server
*
@@ -54,7 +54,8 @@ class Jetpack_Sync_Module_Constants extends Jetpack_Sync_Module {
*/
do_action( 'jetpack_full_sync_constants', true );
- return 1;
+ // The number of actions enqueued, and next module state (true == done)
+ return array( 1, true );
}
function estimate_full_sync_actions( $config ) {