Changeset 3351812
- Timestamp:
- 08/28/2025 08:56:27 AM (7 months ago)
- Location:
- acf-city-selector/trunk
- Files:
-
- 3 edited
-
ACF_City_Selector.php (modified) (6 diffs)
-
admin/acf-city-selector-v5.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
acf-city-selector/trunk/ACF_City_Selector.php
r3179115 r3351812 4 4 Plugin URI: https://acf-city-selector.com 5 5 Description: An extension for ACF which allows you to select a city based on country and province/state. 6 Version: 1.1 6.07 Tested up to: 6. 6.16 Version: 1.17.0 7 Tested up to: 6.8.2 8 8 Requires PHP: 7.0 9 9 Author: Beee … … 33 33 private array $settings = array(); 34 34 private array $l10n = array(); 35 35 36 36 public function __construct() { 37 37 38 38 $this->settings = [ 39 39 'db_version' => '1.0', 40 40 'url' => plugin_dir_url( __FILE__ ), 41 'version' => '1.1 6.0',41 'version' => '1.17.0', 42 42 ]; 43 43 … … 50 50 define( 'ACFCS_PLUGIN_PATH', $plugin_path ); 51 51 } 52 52 53 53 register_activation_hook( __FILE__, [ $this, 'acfcs_plugin_activation' ] ); 54 54 register_deactivation_hook( __FILE__, [ $this, 'acfcs_plugin_deactivation' ] ); 55 55 56 56 add_action( 'acf/register_fields', [ $this, 'acfcs_include_field_types' ] ); // v4 57 57 add_action( 'acf/include_field_types', [ $this, 'acfcs_include_field_types' ] ); // v5 58 58 59 59 add_action( 'admin_enqueue_scripts', [ $this, 'acfcs_add_scripts_admin' ] ); 60 60 add_action( 'admin_menu', [ $this, 'acfcs_add_admin_pages' ] ); … … 67 67 add_action( 'plugins_loaded', [ $this, 'acfcs_check_for_acf' ], 6 ); 68 68 add_action( 'plugins_loaded', [ $this, 'acfcs_check_acf_version' ] ); 69 69 70 70 add_action( 'acf/input/admin_l10n', [ $this, 'acfcs_error_messages' ] ); 71 71 72 72 add_filter( 'plugin_action_links_' . plugin_basename( __FILE__ ), [ $this, 'acfcs_settings_link' ] ); 73 73 74 74 // functions & hooks 75 75 include 'inc/acfcs-actions.php'; … … 161 161 } 162 162 } 163 164 163 164 165 165 /** 166 166 * Check if cities need to be re-imported … … 337 337 $acfcs_key = array_search( 'acf-city-selector/ACF_City_Selector.php', $active_plugins ); 338 338 $acf_key = array_search( 'advanced-custom-fields-pro/acf.php', $active_plugins ); 339 339 340 340 if ( false !== $acf_key && false !== $acfcs_key ) { 341 341 if ( $acfcs_key < $acf_key ) { -
acf-city-selector/trunk/admin/acf-city-selector-v5.php
r3179115 r3351812 11 11 */ 12 12 class acf_field_city_selector extends acf_field { 13 public $name; 14 public $label; 15 public $category; 16 public $defaults; 17 public $l10n; 18 public $settings; 19 13 20 /* 14 21 * Function index -
acf-city-selector/trunk/readme.txt
r3179115 r3351812 4 4 Requires at least: 3.6.0 5 5 Requires PHP: 7.0 6 Tested up to: 6. 6.17 Stable tag: 1.1 6.06 Tested up to: 6.8.2 7 Stable tag: 1.17.0 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 41 41 42 42 == Changelog == 43 44 = 1.17.0 = 45 * define properties 43 46 44 47 = 1.16.0 =
Note: See TracChangeset
for help on using the changeset viewer.