|
@@ 1372-1377 (lines=6) @@
|
| 1369 |
|
} |
| 1370 |
|
|
| 1371 |
|
$version = Jetpack_Options::get_option( 'version' ); |
| 1372 |
|
if ( ! $version ) { |
| 1373 |
|
$version = $old_version = JETPACK__VERSION . ':' . time(); |
| 1374 |
|
/** This action is documented in class.jetpack.php */ |
| 1375 |
|
do_action( 'updating_jetpack_version', $version, false ); |
| 1376 |
|
Jetpack_Options::update_options( compact( 'version', 'old_version' ) ); |
| 1377 |
|
} |
| 1378 |
|
list( $version ) = explode( ':', $version ); |
| 1379 |
|
|
| 1380 |
|
$modules = array_filter( Jetpack::get_active_modules(), array( 'Jetpack', 'is_module' ) ); |
|
@@ 1779-1784 (lines=6) @@
|
| 1776 |
|
} |
| 1777 |
|
|
| 1778 |
|
$jetpack_old_version = Jetpack_Options::get_option( 'version' ); // [sic] |
| 1779 |
|
if ( ! $jetpack_old_version ) { |
| 1780 |
|
$jetpack_old_version = $version = $old_version = '1.1:' . time(); |
| 1781 |
|
/** This action is documented in class.jetpack.php */ |
| 1782 |
|
do_action( 'updating_jetpack_version', $version, false ); |
| 1783 |
|
Jetpack_Options::update_options( compact( 'version', 'old_version' ) ); |
| 1784 |
|
} |
| 1785 |
|
|
| 1786 |
|
list( $jetpack_version ) = explode( ':', $jetpack_old_version ); // [sic] |
| 1787 |
|
|
|
@@ 2617-2622 (lines=6) @@
|
| 2614 |
|
Jetpack_Options::update_option( 'activated', 2 ); |
| 2615 |
|
} |
| 2616 |
|
|
| 2617 |
|
if ( ! Jetpack_Options::get_option( 'version' ) ) { |
| 2618 |
|
$version = $old_version = JETPACK__VERSION . ':' . time(); |
| 2619 |
|
/** This action is documented in class.jetpack.php */ |
| 2620 |
|
do_action( 'updating_jetpack_version', $version, false ); |
| 2621 |
|
Jetpack_Options::update_options( compact( 'version', 'old_version' ) ); |
| 2622 |
|
} |
| 2623 |
|
|
| 2624 |
|
Jetpack::load_modules(); |
| 2625 |
|
|