|
@@ 484-489 (lines=6) @@
|
| 481 |
|
self::replace_active_plugin( 'jetpack-pressable-beta/jetpack.php' ); |
| 482 |
|
} |
| 483 |
|
|
| 484 |
|
if ( 'stable' === $section && |
| 485 |
|
file_exists( WP_PLUGIN_DIR . DIRECTORY_SEPARATOR . JETPACK_PLUGIN_FILE ) ) { |
| 486 |
|
self::replace_active_plugin( JETPACK_DEV_PLUGIN_FILE, JETPACK_PLUGIN_FILE, true ); |
| 487 |
|
self::update_option( $branch, $section ); |
| 488 |
|
return; |
| 489 |
|
} |
| 490 |
|
|
| 491 |
|
if ( self::get_branch_and_section_dev() === array( $branch, $section ) |
| 492 |
|
&& file_exists( WP_PLUGIN_DIR . DIRECTORY_SEPARATOR . JETPACK_DEV_PLUGIN_FILE ) ) { |
|
@@ 491-496 (lines=6) @@
|
| 488 |
|
return; |
| 489 |
|
} |
| 490 |
|
|
| 491 |
|
if ( self::get_branch_and_section_dev() === array( $branch, $section ) |
| 492 |
|
&& file_exists( WP_PLUGIN_DIR . DIRECTORY_SEPARATOR . JETPACK_DEV_PLUGIN_FILE ) ) { |
| 493 |
|
self::replace_active_plugin( JETPACK_PLUGIN_FILE, JETPACK_DEV_PLUGIN_FILE, true ); |
| 494 |
|
self::update_option( $branch, $section ); |
| 495 |
|
return; |
| 496 |
|
} |
| 497 |
|
|
| 498 |
|
self::proceed_to_install_and_activate( |
| 499 |
|
self::get_install_url( $branch, $section ), |