|
@@ 1330-1335 (lines=6) @@
|
| 1327 |
|
} |
| 1328 |
|
|
| 1329 |
|
$version = Jetpack_Options::get_option( 'version' ); |
| 1330 |
|
if ( ! $version ) { |
| 1331 |
|
$version = $old_version = JETPACK__VERSION . ':' . time(); |
| 1332 |
|
/** This action is documented in class.jetpack.php */ |
| 1333 |
|
do_action( 'updating_jetpack_version', $version, false ); |
| 1334 |
|
Jetpack_Options::update_options( compact( 'version', 'old_version' ) ); |
| 1335 |
|
} |
| 1336 |
|
list( $version ) = explode( ':', $version ); |
| 1337 |
|
|
| 1338 |
|
$modules = array_filter( Jetpack::get_active_modules(), array( 'Jetpack', 'is_module' ) ); |
|
@@ 1853-1858 (lines=6) @@
|
| 1850 |
|
} |
| 1851 |
|
|
| 1852 |
|
$jetpack_old_version = Jetpack_Options::get_option( 'version' ); // [sic] |
| 1853 |
|
if ( ! $jetpack_old_version ) { |
| 1854 |
|
$jetpack_old_version = $version = $old_version = '1.1:' . time(); |
| 1855 |
|
/** This action is documented in class.jetpack.php */ |
| 1856 |
|
do_action( 'updating_jetpack_version', $version, false ); |
| 1857 |
|
Jetpack_Options::update_options( compact( 'version', 'old_version' ) ); |
| 1858 |
|
} |
| 1859 |
|
|
| 1860 |
|
list( $jetpack_version ) = explode( ':', $jetpack_old_version ); // [sic] |
| 1861 |
|
|
|
@@ 2682-2687 (lines=6) @@
|
| 2679 |
|
Jetpack_Options::update_option( 'activated', 2 ); |
| 2680 |
|
} |
| 2681 |
|
|
| 2682 |
|
if ( ! Jetpack_Options::get_option( 'version' ) ) { |
| 2683 |
|
$version = $old_version = JETPACK__VERSION . ':' . time(); |
| 2684 |
|
/** This action is documented in class.jetpack.php */ |
| 2685 |
|
do_action( 'updating_jetpack_version', $version, false ); |
| 2686 |
|
Jetpack_Options::update_options( compact( 'version', 'old_version' ) ); |
| 2687 |
|
} |
| 2688 |
|
|
| 2689 |
|
Jetpack::load_modules(); |
| 2690 |
|
|