Changeset 1803587
- Timestamp:
- 01/16/2018 05:16:14 AM (8 years ago)
- Location:
- disable-gravity-forms-fields
- Files:
-
- 3 edited
- 2 copied
-
tags/1.3.1 (copied) (copied from disable-gravity-forms-fields/trunk)
-
tags/1.3.1/disable-gf-fields.php (modified) (2 diffs)
-
tags/1.3.1/readme.txt (copied) (copied from disable-gravity-forms-fields/trunk/readme.txt) (2 diffs)
-
trunk/disable-gf-fields.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
disable-gravity-forms-fields/tags/1.3.1/disable-gf-fields.php
r1158060 r1803587 2 2 /** 3 3 * Plugin Name: Disable Gravity Forms Fields 4 * Plugin URI: http ://www.engagewp.com/4 * Plugin URI: https://renventura.com/ 5 5 * Description: Disable form fields by adding the CSS class "disabled". Fields can also be set to the readonly attribute with a class of "readonly". 6 6 * Author: Ren Ventura 7 * Author URI: http ://www.engagewp.com/8 * Version: 1.3 7 * Author URI: https://renventura.com/ 8 * Version: 1.3.1 9 9 * License: GPL 2.0 10 10 */ 11 11 12 12 /* 13 14 13 This program is free software; you can redistribute it and/or modify 15 14 it under the terms of the GNU General Public License, version 2, as … … 32 31 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 33 32 THE SOFTWARE. 34 35 33 */ 36 34 37 35 //* Bail if accessed directly 38 if ( ! defined( 'WPINC' ) ) 36 if ( ! defined( 'WPINC' ) ) { 39 37 die; 38 } 40 39 41 add_action( 'wp_enqueue_scripts', 'rv_disable_gf_fields' ); 42 function rv_disable_gf_fields() { 40 41 /** 42 * Enqueue JS 43 */ 44 function rv_disable_gf_fields_enqueues() { 43 45 wp_enqueue_script( 'disable-gf-fields', plugins_url( '/disable-gf-fields.js', __FILE__ ), array( 'jquery' ) ); 44 46 } 47 add_action( 'wp_enqueue_scripts', 'rv_disable_gf_fields_enqueues' ); -
disable-gravity-forms-fields/tags/1.3.1/readme.txt
r1803576 r1803587 1 1 === Disable Gravity Forms Fields === 2 Contributors: EngageWP2 Contributors: engagewp 3 3 Tags: Gravity Forms 4 4 Tested up to: 4.9.1 5 Stable tag: 1.3 5 Stable tag: 1.3.1 6 6 License: GPLv2 7 7 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 47 47 == Changelog == 48 48 49 = 1.3.1 = 50 * Updated author info 51 49 52 = 1.3 = 50 53 * Wrapped jQuery dependency in array in the enqueue call -
disable-gravity-forms-fields/trunk/disable-gf-fields.php
r1158060 r1803587 2 2 /** 3 3 * Plugin Name: Disable Gravity Forms Fields 4 * Plugin URI: http ://www.engagewp.com/4 * Plugin URI: https://renventura.com/ 5 5 * Description: Disable form fields by adding the CSS class "disabled". Fields can also be set to the readonly attribute with a class of "readonly". 6 6 * Author: Ren Ventura 7 * Author URI: http ://www.engagewp.com/8 * Version: 1.3 7 * Author URI: https://renventura.com/ 8 * Version: 1.3.1 9 9 * License: GPL 2.0 10 10 */ 11 11 12 12 /* 13 14 13 This program is free software; you can redistribute it and/or modify 15 14 it under the terms of the GNU General Public License, version 2, as … … 32 31 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 33 32 THE SOFTWARE. 34 35 33 */ 36 34 37 35 //* Bail if accessed directly 38 if ( ! defined( 'WPINC' ) ) 36 if ( ! defined( 'WPINC' ) ) { 39 37 die; 38 } 40 39 41 add_action( 'wp_enqueue_scripts', 'rv_disable_gf_fields' ); 42 function rv_disable_gf_fields() { 40 41 /** 42 * Enqueue JS 43 */ 44 function rv_disable_gf_fields_enqueues() { 43 45 wp_enqueue_script( 'disable-gf-fields', plugins_url( '/disable-gf-fields.js', __FILE__ ), array( 'jquery' ) ); 44 46 } 47 add_action( 'wp_enqueue_scripts', 'rv_disable_gf_fields_enqueues' ); -
disable-gravity-forms-fields/trunk/readme.txt
r1803576 r1803587 1 1 === Disable Gravity Forms Fields === 2 Contributors: EngageWP2 Contributors: engagewp 3 3 Tags: Gravity Forms 4 4 Tested up to: 4.9.1 5 Stable tag: 1.3 5 Stable tag: 1.3.1 6 6 License: GPLv2 7 7 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 47 47 == Changelog == 48 48 49 = 1.3.1 = 50 * Updated author info 51 49 52 = 1.3 = 50 53 * Wrapped jQuery dependency in array in the enqueue call
Note: See TracChangeset
for help on using the changeset viewer.