| @@ 702-708 (lines=7) @@ | ||
| 699 | <?php |
|
| 700 | ||
| 701 | // Stable up to date? |
|
| 702 | if ( $should_update_stable_version ) { |
|
| 703 | self::update_card( |
|
| 704 | __( 'Latest Stable', 'jetpack-beta' ), |
|
| 705 | __( 'Needs an update', 'jetpack-beta' ), |
|
| 706 | self::update_action_url( 'stable', 'stable' ) |
|
| 707 | ); |
|
| 708 | } |
|
| 709 | // Jetpack Dev Folder not up to date? |
|
| 710 | if ( $should_update_dev_version ) { |
|
| 711 | list( $dev_branch, $dev_section ) = Utils::get_branch_and_section_dev(); |
|
| @@ 719-725 (lines=7) @@ | ||
| 716 | ); |
|
| 717 | } |
|
| 718 | ||
| 719 | if ( $should_update_dev_to_master ) { |
|
| 720 | self::update_card( |
|
| 721 | __( 'Feature Branch was merged', 'jetpack-beta' ), |
|
| 722 | __( 'Go back to Jetpack\'s Bleeding Edge version.', 'jetpack-beta' ), |
|
| 723 | self::update_action_url( 'master', 'master' ) |
|
| 724 | ); |
|
| 725 | } |
|
| 726 | ?> |
|
| 727 | </div> |
|
| 728 | <?php |
|