Changeset 3330083
- Timestamp:
- 07/18/2025 08:56:03 AM (9 months ago)
- Location:
- gf-google-address-autocomplete
- Files:
-
- 10 added
- 4 deleted
- 4 edited
-
assets/screenshot-1.png (modified) (previous)
-
assets/screenshot-3.png (modified) (previous)
-
tags/1.3.5 (added)
-
tags/1.3.5/class-auto-address-complete.php (added)
-
tags/1.3.5/gf-auto-address-complete.php (added)
-
tags/1.3.5/js (added)
-
tags/1.3.5/js/pcafe_aac_active.js (added)
-
tags/1.3.5/js/pcafe_aac_admin.js (added)
-
tags/1.3.5/readme.txt (added)
-
trunk/admin (deleted)
-
trunk/class-auto-address-complete.php (added)
-
trunk/frontend (deleted)
-
trunk/gf-auto-address-complete.php (modified) (1 diff)
-
trunk/js/map_data.js (deleted)
-
trunk/js/pc_admin.js (deleted)
-
trunk/js/pcafe_aac_active.js (added)
-
trunk/js/pcafe_aac_admin.js (added)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
gf-google-address-autocomplete/trunk/gf-auto-address-complete.php
r3221006 r3330083 3 3 Plugin Name: Address Autocomplete via Google for Gravity Forms 4 4 Plugin Url: https://pluginscafe.com 5 Version: 1.3. 45 Version: 1.3.5 6 6 Description: This plugin adds autocomplete/suggestion feature to gravity forms address field with google map api 7 Author: Plugins cafe7 Author: PluginsCafe 8 8 Author URI: https://pluginscafe.com 9 9 License: GPLv2 or later 10 Text Domain: g ravityforms10 Text Domain: gf-google-address-autocomplete 11 11 */ 12 12 13 if (!defined('ABSPATH')) { 14 exit; 15 } 13 defined('ABSPATH') || die(); 16 14 15 define('GF_AUTO_ADDRESS_COMPLETE_VERSION_NUM', '1.3.5'); 16 define('GF_AUTO_ADDRESS_COMPLETE_FILE', __FILE__); 17 define('GF_AUTO_ADDRESS_COMPLETE_PATH', plugin_dir_path(__FILE__)); 18 define('GF_AUTO_ADDRESS_COMPLETE_URL', plugin_dir_url(__FILE__)); 17 19 18 if (!defined('GF_AUTO_ADDRESS_COMPLETE_VERSION_NUM')) 19 define('GF_AUTO_ADDRESS_COMPLETE_VERSION_NUM', '1.3.4'); 20 add_action('gform_loaded', array('GF_Auto_Address_Complete_Bootstrap', 'load'), 5); 21 class GF_Auto_Address_Complete_Bootstrap { 22 public static function load() { 23 if (!method_exists('GFForms', 'include_addon_framework')) { 24 return; 25 } 20 26 21 if (!defined('GF_AUTO_ADDRESS_COMPLETE_FILE')) 22 define('GF_AUTO_ADDRESS_COMPLETE_FILE', __FILE__); 23 24 if (!defined('GF_AUTO_ADDRESS_COMPLETE_PATH')) 25 define('GF_AUTO_ADDRESS_COMPLETE_PATH', plugin_dir_path(__FILE__)); 26 27 if (!defined('GF_AUTO_ADDRESS_COMPLETE_URL')) 28 define('GF_AUTO_ADDRESS_COMPLETE_URL', plugin_dir_url(__FILE__)); 29 30 31 class GF_auto_address_complete { 32 33 function __construct() { 34 35 if (is_admin()) { 36 add_action('plugins_loaded', array($this, 'GF_admin_init'), 14); 37 } else { 38 add_action('plugins_loaded', array($this, 'frontend_init'), 14); 39 } 40 } 41 42 43 44 /** 45 * Init frontend 46 */ 47 function frontend_init() { 48 require_once(plugin_dir_path(__FILE__) . 'frontend/class-frontend.php'); 49 } 50 51 /** 52 * Init admin side 53 */ 54 function GF_admin_init() { 55 require_once(plugin_dir_path(__FILE__) . 'admin/class-admin.php'); 56 require_once(plugin_dir_path(__FILE__) . 'admin/class-helper.php'); 27 require_once 'class-auto-address-complete.php'; 28 GFAddOn::register('GFAutoAddressComplete'); 57 29 } 58 30 } 59 60 new GF_auto_address_complete(); 31 function GF_Address_Auto_Complete() { 32 return GFAutoAddressComplete::get_instance(); 33 } -
gf-google-address-autocomplete/trunk/readme.txt
r3221006 r3330083 1 1 === Address Autocomplete via Google for Gravity Forms === 2 Author: Plugins cafe2 Author: PluginsCafe 3 3 Contributors: pluginscafe, kaisarahmmed 4 4 Tags: Gravityforms, Address, Autocomplete, Google place api, geolocation 5 5 Requires at least: 5.0 6 6 Requires PHP: 5.6 7 Tested up to: 6. 7.18 Stable tag: trunk7 Tested up to: 6.8 8 Stable tag: 1.3.5 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html … … 29 29 30 30 == Change log == 31 32 = 1.3.5 = 33 * Add new settings 34 * Fix js issue 35 * Fix other bugs 31 36 32 37 = 1.3.4 =
Note: See TracChangeset
for help on using the changeset viewer.