@@ 1443-1448 (lines=6) @@ | ||
1440 | } |
|
1441 | ||
1442 | $version = Jetpack_Options::get_option( 'version' ); |
|
1443 | if ( ! $version ) { |
|
1444 | $version = $old_version = JETPACK__VERSION . ':' . time(); |
|
1445 | /** This action is documented in class.jetpack.php */ |
|
1446 | do_action( 'updating_jetpack_version', $version, false ); |
|
1447 | Jetpack_Options::update_options( compact( 'version', 'old_version' ) ); |
|
1448 | } |
|
1449 | list( $version ) = explode( ':', $version ); |
|
1450 | ||
1451 | $modules = array_filter( Jetpack::get_active_modules(), array( 'Jetpack', 'is_module' ) ); |
|
@@ 1850-1855 (lines=6) @@ | ||
1847 | } |
|
1848 | ||
1849 | $jetpack_old_version = Jetpack_Options::get_option( 'version' ); // [sic] |
|
1850 | if ( ! $jetpack_old_version ) { |
|
1851 | $jetpack_old_version = $version = $old_version = '1.1:' . time(); |
|
1852 | /** This action is documented in class.jetpack.php */ |
|
1853 | do_action( 'updating_jetpack_version', $version, false ); |
|
1854 | Jetpack_Options::update_options( compact( 'version', 'old_version' ) ); |
|
1855 | } |
|
1856 | ||
1857 | list( $jetpack_version ) = explode( ':', $jetpack_old_version ); // [sic] |
|
1858 | ||
@@ 2649-2654 (lines=6) @@ | ||
2646 | Jetpack_Options::update_option( 'activated', 2 ); |
|
2647 | } |
|
2648 | ||
2649 | if ( ! Jetpack_Options::get_option( 'version' ) ) { |
|
2650 | $version = $old_version = JETPACK__VERSION . ':' . time(); |
|
2651 | /** This action is documented in class.jetpack.php */ |
|
2652 | do_action( 'updating_jetpack_version', $version, false ); |
|
2653 | Jetpack_Options::update_options( compact( 'version', 'old_version' ) ); |
|
2654 | } |
|
2655 | ||
2656 | Jetpack::load_modules(); |
|
2657 |