@@ 1892-1897 (lines=6) @@ | ||
1889 | } |
|
1890 | ||
1891 | $version = Jetpack_Options::get_option( 'version' ); |
|
1892 | if ( ! $version ) { |
|
1893 | $version = $old_version = JETPACK__VERSION . ':' . time(); |
|
1894 | /** This action is documented in class.jetpack.php */ |
|
1895 | do_action( 'updating_jetpack_version', $version, false ); |
|
1896 | Jetpack_Options::update_options( compact( 'version', 'old_version' ) ); |
|
1897 | } |
|
1898 | list( $version ) = explode( ':', $version ); |
|
1899 | ||
1900 | $modules = array_filter( self::get_active_modules(), array( 'Jetpack', 'is_module' ) ); |
|
@@ 2272-2277 (lines=6) @@ | ||
2269 | } |
|
2270 | ||
2271 | $jetpack_old_version = Jetpack_Options::get_option( 'version' ); // [sic] |
|
2272 | if ( ! $jetpack_old_version ) { |
|
2273 | $jetpack_old_version = $version = $old_version = '1.1:' . time(); |
|
2274 | /** This action is documented in class.jetpack.php */ |
|
2275 | do_action( 'updating_jetpack_version', $version, false ); |
|
2276 | Jetpack_Options::update_options( compact( 'version', 'old_version' ) ); |
|
2277 | } |
|
2278 | ||
2279 | list( $jetpack_version ) = explode( ':', $jetpack_old_version ); // [sic] |
|
2280 | ||
@@ 3301-3306 (lines=6) @@ | ||
3298 | Jetpack_Options::update_option( 'activated', 2 ); |
|
3299 | } |
|
3300 | ||
3301 | if ( ! Jetpack_Options::get_option( 'version' ) ) { |
|
3302 | $version = $old_version = JETPACK__VERSION . ':' . time(); |
|
3303 | /** This action is documented in class.jetpack.php */ |
|
3304 | do_action( 'updating_jetpack_version', $version, false ); |
|
3305 | Jetpack_Options::update_options( compact( 'version', 'old_version' ) ); |
|
3306 | } |
|
3307 | ||
3308 | self::load_modules(); |
|
3309 |