Plugin Directory

Changeset 1753777


Ignore:
Timestamp:
10/27/2017 10:00:11 AM (8 years ago)
Author:
unloqer
Message:

2.1.13

  • Added compatibility fixes with other auth plugins by delaying the plugin load until the "plugins-loaded" action
Location:
unloq/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • unloq/trunk/autoloader/class-utility.php

    r1743724 r1753777  
    512512        if (class_exists('ITSEC_Core')) return true;
    513513        if (class_exists('WPS_Hide_Login')) return true;
     514        if (class_exists('c_ws_plugin__s2member_access_cap_times')) return true;
    514515        return false;
    515516    }
  • unloq/trunk/readme.txt

    r1752352 r1753777  
    119119
    120120== Changelog ==
     121= 2.1.13 =
     122* Added compatibility fixes with other auth plugins by delaying the plugin load until the "plugins-loaded" action
    121123= 2.1.12 =
    122124* All JavaScript assets now wait for the document ready event
  • unloq/trunk/unloq.php

    r1752352 r1753777  
    33 * Plugin Name:       UNLOQ Authentication
    44 * Description:       Perform UNLOQ.io authentications with the click of a button
    5  * Version:           2.1.12
     5 * Version:           2.1.13
    66 * Author:            UNLOQ.io
    77 * Author URI:        https://unloq.io
     
    1818
    1919define('UQ_PLUGIN', 'unloq');
    20 define('UQ_VERSION', '2.1.12');
     20define('UQ_VERSION', '2.1.13');
    2121define('UQ_VENDORS', plugin_dir_url(__FILE__) . 'vendors');
    2222define('UQ_VENDORS_DIR', plugin_dir_path(__FILE__) . 'vendors');
     
    2727 * admin-specific hooks, and public-facing site hooks.
    2828 */
    29 require plugin_dir_path(__FILE__) . 'includes/class-core.php';
     29function load_wp_unloq_core() {
     30    require plugin_dir_path(__FILE__) . 'includes/class-core.php';
     31    add_action( 'admin_init', 'load_wp_unloq' );
     32}
     33
    3034
    3135function load_wp_unloq() {
     
    3640    $activator->activate();
    3741}
    38 add_action( 'admin_init', 'load_wp_unloq' );
     42
     43add_action('plugins_loaded', 'load_wp_unloq_core', 1);
Note: See TracChangeset for help on using the changeset viewer.