|
@@ 1614-1619 (lines=6) @@
|
| 1611 |
|
} |
| 1612 |
|
|
| 1613 |
|
$version = Jetpack_Options::get_option( 'version' ); |
| 1614 |
|
if ( ! $version ) { |
| 1615 |
|
$version = $old_version = JETPACK__VERSION . ':' . time(); |
| 1616 |
|
/** This action is documented in class.jetpack.php */ |
| 1617 |
|
do_action( 'updating_jetpack_version', $version, false ); |
| 1618 |
|
Jetpack_Options::update_options( compact( 'version', 'old_version' ) ); |
| 1619 |
|
} |
| 1620 |
|
list( $version ) = explode( ':', $version ); |
| 1621 |
|
|
| 1622 |
|
$modules = array_filter( Jetpack::get_active_modules(), array( 'Jetpack', 'is_module' ) ); |
|
@@ 2001-2006 (lines=6) @@
|
| 1998 |
|
} |
| 1999 |
|
|
| 2000 |
|
$jetpack_old_version = Jetpack_Options::get_option( 'version' ); // [sic] |
| 2001 |
|
if ( ! $jetpack_old_version ) { |
| 2002 |
|
$jetpack_old_version = $version = $old_version = '1.1:' . time(); |
| 2003 |
|
/** This action is documented in class.jetpack.php */ |
| 2004 |
|
do_action( 'updating_jetpack_version', $version, false ); |
| 2005 |
|
Jetpack_Options::update_options( compact( 'version', 'old_version' ) ); |
| 2006 |
|
} |
| 2007 |
|
|
| 2008 |
|
list( $jetpack_version ) = explode( ':', $jetpack_old_version ); // [sic] |
| 2009 |
|
|
|
@@ 2855-2860 (lines=6) @@
|
| 2852 |
|
Jetpack_Options::update_option( 'activated', 2 ); |
| 2853 |
|
} |
| 2854 |
|
|
| 2855 |
|
if ( ! Jetpack_Options::get_option( 'version' ) ) { |
| 2856 |
|
$version = $old_version = JETPACK__VERSION . ':' . time(); |
| 2857 |
|
/** This action is documented in class.jetpack.php */ |
| 2858 |
|
do_action( 'updating_jetpack_version', $version, false ); |
| 2859 |
|
Jetpack_Options::update_options( compact( 'version', 'old_version' ) ); |
| 2860 |
|
} |
| 2861 |
|
|
| 2862 |
|
Jetpack::load_modules(); |
| 2863 |
|
|