Changeset 1460094
- Timestamp:
- 07/25/2016 08:46:39 AM (10 years ago)
- Location:
- acf-search/trunk
- Files:
-
- 2 edited
-
acf-search.php (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
acf-search/trunk/acf-search.php
r1460084 r1460094 5 5 Description: Adds the ability to search trough the selected ACF-fields 6 6 Author: Direct ICT B.V. 7 Version: 2.1. 37 Version: 2.1.4 8 8 Author URI: https://www.directict.nl/ 9 9 */ … … 37 37 } 38 38 } 39 40 global $plugin_data;41 $plugin_data = get_plugin_data( __FILE__ );42 39 } 43 40 … … 66 63 } 67 64 68 add_action('admin_init', 'acf_ search_register_settings');65 add_action('admin_init', 'acf_admin_init'); 69 66 70 function acf_search_register_settings() { 67 function acf_admin_init() { 68 // Register the options 71 69 add_option('acf_search_fields', serialize(array())); 70 71 // Load the plugin data into an global 72 global $plugin_data; 73 $plugin_data = get_plugin_data( __FILE__ ); 72 74 } 73 75 -
acf-search/trunk/readme.txt
r1460084 r1460094 29 29 == Changelog == 30 30 31 = 2.1.4 = 32 Small change regarding the “plugin_data” function 33 31 34 = 2.1.3 = 32 35 Initial Version
Note: See TracChangeset
for help on using the changeset viewer.