Plugin Directory

Changeset 1460094


Ignore:
Timestamp:
07/25/2016 08:46:39 AM (10 years ago)
Author:
directict
Message:

Small change regarding plugin_data function

Location:
acf-search/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • acf-search/trunk/acf-search.php

    r1460084 r1460094  
    55Description: Adds the ability to search trough the selected ACF-fields
    66Author: Direct ICT B.V.
    7 Version: 2.1.3
     7Version: 2.1.4
    88Author URI: https://www.directict.nl/
    99*/
     
    3737        }
    3838    }
    39    
    40     global $plugin_data;
    41     $plugin_data = get_plugin_data( __FILE__ );
    4239}
    4340
     
    6663}
    6764
    68 add_action('admin_init', 'acf_search_register_settings');
     65add_action('admin_init', 'acf_admin_init');
    6966
    70 function acf_search_register_settings() {
     67function acf_admin_init() {
     68    // Register the options
    7169    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__ );
    7274}
    7375
  • acf-search/trunk/readme.txt

    r1460084 r1460094  
    2929== Changelog ==
    3030
     31= 2.1.4 =
     32Small change regarding the “plugin_data” function
     33
    3134= 2.1.3 =
    3235Initial Version
Note: See TracChangeset for help on using the changeset viewer.