|
@@ 3209-3214 (lines=6) @@
|
| 3206 |
|
Jetpack_Options::update_option( 'activated', 2 ); |
| 3207 |
|
} |
| 3208 |
|
|
| 3209 |
|
if ( ! Jetpack_Options::get_option( 'version' ) ) { |
| 3210 |
|
$version = $old_version = JETPACK__VERSION . ':' . time(); |
| 3211 |
|
/** This action is documented in class.jetpack.php */ |
| 3212 |
|
do_action( 'updating_jetpack_version', $version, false ); |
| 3213 |
|
Jetpack_Options::update_options( compact( 'version', 'old_version' ) ); |
| 3214 |
|
} |
| 3215 |
|
|
| 3216 |
|
self::load_modules(); |
| 3217 |
|
|
|
@@ 2183-2188 (lines=6) @@
|
| 2180 |
|
} |
| 2181 |
|
|
| 2182 |
|
$jetpack_old_version = Jetpack_Options::get_option( 'version' ); // [sic] |
| 2183 |
|
if ( ! $jetpack_old_version ) { |
| 2184 |
|
$jetpack_old_version = $version = $old_version = '1.1:' . time(); |
| 2185 |
|
/** This action is documented in class.jetpack.php */ |
| 2186 |
|
do_action( 'updating_jetpack_version', $version, false ); |
| 2187 |
|
Jetpack_Options::update_options( compact( 'version', 'old_version' ) ); |
| 2188 |
|
} |
| 2189 |
|
|
| 2190 |
|
list( $jetpack_version ) = explode( ':', $jetpack_old_version ); // [sic] |
| 2191 |
|
|
|
@@ 1803-1808 (lines=6) @@
|
| 1800 |
|
} |
| 1801 |
|
|
| 1802 |
|
$version = Jetpack_Options::get_option( 'version' ); |
| 1803 |
|
if ( ! $version ) { |
| 1804 |
|
$version = $old_version = JETPACK__VERSION . ':' . time(); |
| 1805 |
|
/** This action is documented in class.jetpack.php */ |
| 1806 |
|
do_action( 'updating_jetpack_version', $version, false ); |
| 1807 |
|
Jetpack_Options::update_options( compact( 'version', 'old_version' ) ); |
| 1808 |
|
} |
| 1809 |
|
list( $version ) = explode( ':', $version ); |
| 1810 |
|
|
| 1811 |
|
$modules = array_filter( self::get_active_modules(), array( 'Jetpack', 'is_module' ) ); |