|
@@ 1790-1795 (lines=6) @@
|
| 1787 |
|
} |
| 1788 |
|
|
| 1789 |
|
$version = Jetpack_Options::get_option( 'version' ); |
| 1790 |
|
if ( ! $version ) { |
| 1791 |
|
$version = $old_version = JETPACK__VERSION . ':' . time(); |
| 1792 |
|
/** This action is documented in class.jetpack.php */ |
| 1793 |
|
do_action( 'updating_jetpack_version', $version, false ); |
| 1794 |
|
Jetpack_Options::update_options( compact( 'version', 'old_version' ) ); |
| 1795 |
|
} |
| 1796 |
|
list( $version ) = explode( ':', $version ); |
| 1797 |
|
|
| 1798 |
|
$modules = array_filter( Jetpack::get_active_modules(), array( 'Jetpack', 'is_module' ) ); |
|
@@ 2176-2181 (lines=6) @@
|
| 2173 |
|
} |
| 2174 |
|
|
| 2175 |
|
$jetpack_old_version = Jetpack_Options::get_option( 'version' ); // [sic] |
| 2176 |
|
if ( ! $jetpack_old_version ) { |
| 2177 |
|
$jetpack_old_version = $version = $old_version = '1.1:' . time(); |
| 2178 |
|
/** This action is documented in class.jetpack.php */ |
| 2179 |
|
do_action( 'updating_jetpack_version', $version, false ); |
| 2180 |
|
Jetpack_Options::update_options( compact( 'version', 'old_version' ) ); |
| 2181 |
|
} |
| 2182 |
|
|
| 2183 |
|
list( $jetpack_version ) = explode( ':', $jetpack_old_version ); // [sic] |
| 2184 |
|
|
|
@@ 3156-3161 (lines=6) @@
|
| 3153 |
|
Jetpack_Options::update_option( 'activated', 2 ); |
| 3154 |
|
} |
| 3155 |
|
|
| 3156 |
|
if ( ! Jetpack_Options::get_option( 'version' ) ) { |
| 3157 |
|
$version = $old_version = JETPACK__VERSION . ':' . time(); |
| 3158 |
|
/** This action is documented in class.jetpack.php */ |
| 3159 |
|
do_action( 'updating_jetpack_version', $version, false ); |
| 3160 |
|
Jetpack_Options::update_options( compact( 'version', 'old_version' ) ); |
| 3161 |
|
} |
| 3162 |
|
|
| 3163 |
|
Jetpack::load_modules(); |
| 3164 |
|
|