Plugin Directory

Changeset 2064283


Ignore:
Timestamp:
04/06/2019 04:47:48 PM (7 years ago)
Author:
mrkhanakia
Message:

Redux changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-logger-tenbulls/trunk/wp-logger.php

    r2064266 r2064283  
    7373}
    7474
    75 if ( ! function_exists( 'wp_logger_redux_init' ) ) {
    76     add_action( 'redux/init', 'wp_logger_redux_init' );
    77     function wp_logger_redux_init() {
    78         require_once( dirname( __FILE__ ) . '/redux-config.php' );
    79         Redux::init($opt_name);
    80     }
     75
     76if ( class_exists("Redux") ) {
     77    require_once( dirname( __FILE__ ) . '/redux-config.php' );
     78    Redux::init($opt_name);
    8179}
    8280
Note: See TracChangeset for help on using the changeset viewer.