summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYury German <blueknight@gentoo.org>2017-01-24 23:51:34 -0500
committerYury German <blueknight@gentoo.org>2017-01-24 23:51:34 -0500
commit3c539a4713a80181af84c1fedc742436f75c92c4 (patch)
treee1896c286f3fb98337a6297465974c65f1fe8f26 /plugins/jetpack/sync/class.jetpack-sync-modules.php
parentUpdate theme twentyfifteen to 1.7 (diff)
downloadblogs-gentoo-3c539a4713a80181af84c1fedc742436f75c92c4.tar.gz
blogs-gentoo-3c539a4713a80181af84c1fedc742436f75c92c4.tar.bz2
blogs-gentoo-3c539a4713a80181af84c1fedc742436f75c92c4.zip
updating jetpack plugin
Diffstat (limited to 'plugins/jetpack/sync/class.jetpack-sync-modules.php')
-rw-r--r--plugins/jetpack/sync/class.jetpack-sync-modules.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/jetpack/sync/class.jetpack-sync-modules.php b/plugins/jetpack/sync/class.jetpack-sync-modules.php
index d0dd0eb2..c269319e 100644
--- a/plugins/jetpack/sync/class.jetpack-sync-modules.php
+++ b/plugins/jetpack/sync/class.jetpack-sync-modules.php
@@ -86,7 +86,11 @@ class Jetpack_Sync_Modules {
static function initialize_module( $module_name ) {
$module = new $module_name;
$module->set_defaults();
+ if ( method_exists( $module, 'set_late_default' ) ) {
+ add_action( 'init', array( $module, 'set_late_default' ), 90 );
+ }
return $module;
}
+
}