@@ 2210-2215 (lines=6) @@ | ||
2207 | } |
|
2208 | ||
2209 | $jetpack_old_version = Jetpack_Options::get_option( 'version' ); // [sic] |
|
2210 | if ( ! $jetpack_old_version ) { |
|
2211 | $jetpack_old_version = $version = $old_version = '1.1:' . time(); |
|
2212 | /** This action is documented in class.jetpack.php */ |
|
2213 | do_action( 'updating_jetpack_version', $version, false ); |
|
2214 | Jetpack_Options::update_options( compact( 'version', 'old_version' ) ); |
|
2215 | } |
|
2216 | ||
2217 | list( $jetpack_version ) = explode( ':', $jetpack_old_version ); // [sic] |
|
2218 | ||
@@ 1830-1835 (lines=6) @@ | ||
1827 | } |
|
1828 | ||
1829 | $version = Jetpack_Options::get_option( 'version' ); |
|
1830 | if ( ! $version ) { |
|
1831 | $version = $old_version = JETPACK__VERSION . ':' . time(); |
|
1832 | /** This action is documented in class.jetpack.php */ |
|
1833 | do_action( 'updating_jetpack_version', $version, false ); |
|
1834 | Jetpack_Options::update_options( compact( 'version', 'old_version' ) ); |
|
1835 | } |
|
1836 | list( $version ) = explode( ':', $version ); |
|
1837 | ||
1838 | $modules = array_filter( self::get_active_modules(), array( 'Jetpack', 'is_module' ) ); |
|
@@ 3236-3241 (lines=6) @@ | ||
3233 | Jetpack_Options::update_option( 'activated', 2 ); |
|
3234 | } |
|
3235 | ||
3236 | if ( ! Jetpack_Options::get_option( 'version' ) ) { |
|
3237 | $version = $old_version = JETPACK__VERSION . ':' . time(); |
|
3238 | /** This action is documented in class.jetpack.php */ |
|
3239 | do_action( 'updating_jetpack_version', $version, false ); |
|
3240 | Jetpack_Options::update_options( compact( 'version', 'old_version' ) ); |
|
3241 | } |
|
3242 | ||
3243 | self::load_modules(); |
|
3244 |