Changeset 3201214
- Timestamp:
- 12/02/2024 10:37:32 PM (15 months ago)
- Location:
- gravityformscli
- Files:
-
- 8 edited
- 1 copied
-
tags/1.7 (copied) (copied from gravityformscli/trunk)
-
tags/1.7/cli.php (modified) (3 diffs)
-
tags/1.7/includes/class-gf-cli-form.php (modified) (1 diff)
-
tags/1.7/includes/class-gf-cli-root.php (modified) (3 diffs)
-
tags/1.7/readme.txt (modified) (2 diffs)
-
trunk/cli.php (modified) (3 diffs)
-
trunk/includes/class-gf-cli-form.php (modified) (1 diff)
-
trunk/includes/class-gf-cli-root.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
gravityformscli/tags/1.7/cli.php
r3038788 r3201214 4 4 Plugin URI: https://gravityforms.com 5 5 Description: Manage Gravity Forms with the WP CLI. 6 Version: 1. 56 Version: 1.7 7 7 Author: Rocketgenius 8 8 Author URI: https://gravityforms.com … … 12 12 13 13 ------------------------------------------------------------------------ 14 Copyright 2016-202 0Rocketgenius, Inc.14 Copyright 2016-2024 Rocketgenius, Inc. 15 15 16 16 This program is free software; you can redistribute it and/or modify … … 31 31 32 32 // Defines the current version of the CLI add-on 33 define( 'GF_CLI_VERSION', '1. 5' );33 define( 'GF_CLI_VERSION', '1.7' ); 34 34 35 35 define( 'GF_CLI_MIN_GF_VERSION', '1.9.17.8' ); -
gravityformscli/tags/1.7/includes/class-gf-cli-form.php
r3038788 r3201214 512 512 function update( $args, $assoc_args ) { 513 513 514 $form_id = $args[0];514 $form_id = intval( $args[0] ); 515 515 516 516 if ( isset( $assoc_args['form-json'] ) ) { -
gravityformscli/tags/1.7/includes/class-gf-cli-root.php
r3038788 r3201214 38 38 if ( $slug == 'gravityforms' ) { 39 39 WP_CLI::log( GFForms::$version ); 40 } elseif ( $slug === 'gravitysmtp' ) { 41 $current_version = defined( 'GF_GRAVITY_SMTP_VERSION' ) ? GF_GRAVITY_SMTP_VERSION : null; 40 42 } else { 41 43 $addon = $this->get_addon( $slug ); … … 189 191 if ( $slug === 'gravityforms' ) { 190 192 $current_version = GFForms::$version; 193 } elseif ( $slug === 'gravitysmtp' ) { 194 $current_version = defined( 'GF_GRAVITY_SMTP_VERSION' ) ? GF_GRAVITY_SMTP_VERSION : null; 191 195 } else { 192 196 $addon = $this->get_addon( $slug ); … … 277 281 } 278 282 } 283 } elseif ( $slug ==='gravitysmtp' ) { 284 WP_CLI::success( 'setup gravitysmtp' ); 279 285 } else { 280 286 $addon = $this->get_addon( $slug ); -
gravityformscli/tags/1.7/readme.txt
r3201203 r3201214 3 3 Tags: gravity forms 4 4 Requires at least: 4.2 5 Tested up to: 6. 46 Stable tag: 1. 55 Tested up to: 6.7 6 Stable tag: 1.7 7 7 License: GPL-2.0+ 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html 9 9 10 Manage Gravity Forms on the command line. 10 Manage Gravity Forms on the command line. 11 11 12 12 == Description == … … 185 185 186 186 == 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 187 193 = 1.5 = 188 194 - Updated the plugin to allow its usage as a WP-CLI package. -
gravityformscli/trunk/cli.php
r3038788 r3201214 4 4 Plugin URI: https://gravityforms.com 5 5 Description: Manage Gravity Forms with the WP CLI. 6 Version: 1. 56 Version: 1.7 7 7 Author: Rocketgenius 8 8 Author URI: https://gravityforms.com … … 12 12 13 13 ------------------------------------------------------------------------ 14 Copyright 2016-202 0Rocketgenius, Inc.14 Copyright 2016-2024 Rocketgenius, Inc. 15 15 16 16 This program is free software; you can redistribute it and/or modify … … 31 31 32 32 // Defines the current version of the CLI add-on 33 define( 'GF_CLI_VERSION', '1. 5' );33 define( 'GF_CLI_VERSION', '1.7' ); 34 34 35 35 define( 'GF_CLI_MIN_GF_VERSION', '1.9.17.8' ); -
gravityformscli/trunk/includes/class-gf-cli-form.php
r3038788 r3201214 512 512 function update( $args, $assoc_args ) { 513 513 514 $form_id = $args[0];514 $form_id = intval( $args[0] ); 515 515 516 516 if ( isset( $assoc_args['form-json'] ) ) { -
gravityformscli/trunk/includes/class-gf-cli-root.php
r3038788 r3201214 38 38 if ( $slug == 'gravityforms' ) { 39 39 WP_CLI::log( GFForms::$version ); 40 } elseif ( $slug === 'gravitysmtp' ) { 41 $current_version = defined( 'GF_GRAVITY_SMTP_VERSION' ) ? GF_GRAVITY_SMTP_VERSION : null; 40 42 } else { 41 43 $addon = $this->get_addon( $slug ); … … 189 191 if ( $slug === 'gravityforms' ) { 190 192 $current_version = GFForms::$version; 193 } elseif ( $slug === 'gravitysmtp' ) { 194 $current_version = defined( 'GF_GRAVITY_SMTP_VERSION' ) ? GF_GRAVITY_SMTP_VERSION : null; 191 195 } else { 192 196 $addon = $this->get_addon( $slug ); … … 277 281 } 278 282 } 283 } elseif ( $slug ==='gravitysmtp' ) { 284 WP_CLI::success( 'setup gravitysmtp' ); 279 285 } else { 280 286 $addon = $this->get_addon( $slug ); -
gravityformscli/trunk/readme.txt
r3201203 r3201214 3 3 Tags: gravity forms 4 4 Requires at least: 4.2 5 Tested up to: 6. 46 Stable tag: 1. 55 Tested up to: 6.7 6 Stable tag: 1.7 7 7 License: GPL-2.0+ 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html 9 9 10 Manage Gravity Forms on the command line. 10 Manage Gravity Forms on the command line. 11 11 12 12 == Description == … … 185 185 186 186 == 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 187 193 = 1.5 = 188 194 - Updated the plugin to allow its usage as a WP-CLI package.
Note: See TracChangeset
for help on using the changeset viewer.