|
@@ 735-740 (lines=6) @@
|
| 732 |
|
self::replace_active_plugin( 'jetpack-pressable-beta/jetpack.php' ); |
| 733 |
|
} |
| 734 |
|
|
| 735 |
|
if ( 'stable' === $section && |
| 736 |
|
file_exists( WP_PLUGIN_DIR . DIRECTORY_SEPARATOR . JETPACK_PLUGIN_FILE ) ) { |
| 737 |
|
self::replace_active_plugin( JETPACK_DEV_PLUGIN_FILE, JETPACK_PLUGIN_FILE, true ); |
| 738 |
|
self::update_option( $branch, $section ); |
| 739 |
|
return; |
| 740 |
|
} |
| 741 |
|
|
| 742 |
|
if ( self::get_branch_and_section_dev() === array( $branch, $section ) |
| 743 |
|
&& file_exists( WP_PLUGIN_DIR . DIRECTORY_SEPARATOR . JETPACK_DEV_PLUGIN_FILE ) ) { |
|
@@ 742-747 (lines=6) @@
|
| 739 |
|
return; |
| 740 |
|
} |
| 741 |
|
|
| 742 |
|
if ( self::get_branch_and_section_dev() === array( $branch, $section ) |
| 743 |
|
&& file_exists( WP_PLUGIN_DIR . DIRECTORY_SEPARATOR . JETPACK_DEV_PLUGIN_FILE ) ) { |
| 744 |
|
self::replace_active_plugin( JETPACK_PLUGIN_FILE, JETPACK_DEV_PLUGIN_FILE, true ); |
| 745 |
|
self::update_option( $branch, $section ); |
| 746 |
|
return; |
| 747 |
|
} |
| 748 |
|
|
| 749 |
|
self::proceed_to_install_and_activate( |
| 750 |
|
self::get_install_url( $branch, $section ), |