Plugin Directory

Changeset 3201214


Ignore:
Timestamp:
12/02/2024 10:37:32 PM (15 months ago)
Author:
rocketgenius
Message:

Update to version 1.7 from GitHub

Location:
gravityformscli
Files:
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • gravityformscli/tags/1.7/cli.php

    r3038788 r3201214  
    44Plugin URI: https://gravityforms.com
    55Description: Manage Gravity Forms with the WP CLI.
    6 Version: 1.5
     6Version: 1.7
    77Author: Rocketgenius
    88Author URI: https://gravityforms.com
     
    1212
    1313------------------------------------------------------------------------
    14 Copyright 2016-2020 Rocketgenius, Inc.
     14Copyright 2016-2024 Rocketgenius, Inc.
    1515
    1616This program is free software; you can redistribute it and/or modify
     
    3131
    3232// Defines the current version of the CLI add-on
    33 define( 'GF_CLI_VERSION', '1.5' );
     33define( 'GF_CLI_VERSION', '1.7' );
    3434
    3535define( 'GF_CLI_MIN_GF_VERSION', '1.9.17.8' );
  • gravityformscli/tags/1.7/includes/class-gf-cli-form.php

    r3038788 r3201214  
    512512    function update( $args, $assoc_args ) {
    513513
    514         $form_id = $args[0];
     514        $form_id = intval( $args[0] );
    515515
    516516        if ( isset( $assoc_args['form-json'] ) ) {
  • gravityformscli/tags/1.7/includes/class-gf-cli-root.php

    r3038788 r3201214  
    3838        if ( $slug == 'gravityforms' ) {
    3939            WP_CLI::log( GFForms::$version );
     40        } elseif ( $slug === 'gravitysmtp' ) {
     41            $current_version = defined( 'GF_GRAVITY_SMTP_VERSION' ) ? GF_GRAVITY_SMTP_VERSION : null;
    4042        } else {
    4143            $addon = $this->get_addon( $slug );
     
    189191        if ( $slug === 'gravityforms' ) {
    190192            $current_version = GFForms::$version;
     193        } elseif ( $slug === 'gravitysmtp' ) {
     194            $current_version = defined( 'GF_GRAVITY_SMTP_VERSION' ) ? GF_GRAVITY_SMTP_VERSION : null;
    191195        } else {
    192196            $addon           = $this->get_addon( $slug );
     
    277281                }
    278282            }
     283        } elseif ( $slug ==='gravitysmtp' ) {
     284            WP_CLI::success( 'setup gravitysmtp' );
    279285        } else {
    280286            $addon = $this->get_addon( $slug );
  • gravityformscli/tags/1.7/readme.txt

    r3201203 r3201214  
    33Tags: gravity forms
    44Requires at least: 4.2
    5 Tested up to: 6.4
    6 Stable tag: 1.5
     5Tested up to: 6.7
     6Stable tag: 1.7
    77License: GPL-2.0+
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
    99
    10 Manage Gravity Forms on the command line. 
     10Manage Gravity Forms on the command line.
    1111
    1212== Description ==
     
    185185
    186186== ChangeLog ==
     187= 1.7 =
     188- Fixed a bug that sometimes causes the form ID to be stored as a string.
     189
     190= 1.6 =
     191- Updated the plugin to support installing and updating Gravity SMTP.
     192
    187193= 1.5 =
    188194- Updated the plugin to allow its usage as a WP-CLI package.
  • gravityformscli/trunk/cli.php

    r3038788 r3201214  
    44Plugin URI: https://gravityforms.com
    55Description: Manage Gravity Forms with the WP CLI.
    6 Version: 1.5
     6Version: 1.7
    77Author: Rocketgenius
    88Author URI: https://gravityforms.com
     
    1212
    1313------------------------------------------------------------------------
    14 Copyright 2016-2020 Rocketgenius, Inc.
     14Copyright 2016-2024 Rocketgenius, Inc.
    1515
    1616This program is free software; you can redistribute it and/or modify
     
    3131
    3232// Defines the current version of the CLI add-on
    33 define( 'GF_CLI_VERSION', '1.5' );
     33define( 'GF_CLI_VERSION', '1.7' );
    3434
    3535define( 'GF_CLI_MIN_GF_VERSION', '1.9.17.8' );
  • gravityformscli/trunk/includes/class-gf-cli-form.php

    r3038788 r3201214  
    512512    function update( $args, $assoc_args ) {
    513513
    514         $form_id = $args[0];
     514        $form_id = intval( $args[0] );
    515515
    516516        if ( isset( $assoc_args['form-json'] ) ) {
  • gravityformscli/trunk/includes/class-gf-cli-root.php

    r3038788 r3201214  
    3838        if ( $slug == 'gravityforms' ) {
    3939            WP_CLI::log( GFForms::$version );
     40        } elseif ( $slug === 'gravitysmtp' ) {
     41            $current_version = defined( 'GF_GRAVITY_SMTP_VERSION' ) ? GF_GRAVITY_SMTP_VERSION : null;
    4042        } else {
    4143            $addon = $this->get_addon( $slug );
     
    189191        if ( $slug === 'gravityforms' ) {
    190192            $current_version = GFForms::$version;
     193        } elseif ( $slug === 'gravitysmtp' ) {
     194            $current_version = defined( 'GF_GRAVITY_SMTP_VERSION' ) ? GF_GRAVITY_SMTP_VERSION : null;
    191195        } else {
    192196            $addon           = $this->get_addon( $slug );
     
    277281                }
    278282            }
     283        } elseif ( $slug ==='gravitysmtp' ) {
     284            WP_CLI::success( 'setup gravitysmtp' );
    279285        } else {
    280286            $addon = $this->get_addon( $slug );
  • gravityformscli/trunk/readme.txt

    r3201203 r3201214  
    33Tags: gravity forms
    44Requires at least: 4.2
    5 Tested up to: 6.4
    6 Stable tag: 1.5
     5Tested up to: 6.7
     6Stable tag: 1.7
    77License: GPL-2.0+
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
    99
    10 Manage Gravity Forms on the command line. 
     10Manage Gravity Forms on the command line.
    1111
    1212== Description ==
     
    185185
    186186== ChangeLog ==
     187= 1.7 =
     188- Fixed a bug that sometimes causes the form ID to be stored as a string.
     189
     190= 1.6 =
     191- Updated the plugin to support installing and updating Gravity SMTP.
     192
    187193= 1.5 =
    188194- Updated the plugin to allow its usage as a WP-CLI package.
Note: See TracChangeset for help on using the changeset viewer.