diff options
author | Yury German <blueknight@gentoo.org> | 2017-01-24 23:51:34 -0500 |
---|---|---|
committer | Yury German <blueknight@gentoo.org> | 2017-01-24 23:51:34 -0500 |
commit | 3c539a4713a80181af84c1fedc742436f75c92c4 (patch) | |
tree | e1896c286f3fb98337a6297465974c65f1fe8f26 /plugins/jetpack/sync/class.jetpack-sync-modules.php | |
parent | Update theme twentyfifteen to 1.7 (diff) | |
download | blogs-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.php | 4 |
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; } + } |