Avoid breaking pluggable function
-
Hi, thanks for this great plugin!
I find some compatibility problems for this plugin with plugin override functions in pluggable.php.
To fix this issue, please call $mysubscribe2->s2init() only when plugins are all loaded
add_action( 'plugins_loaded', array( $mysubscribe2, 's2init' ) );Also, remove
if ( !function_exists('get_userdata') ) { require_once(ABSPATH . WPINC . '/pluggable.php'); }from classes/class-s2-admin.php
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Avoid breaking pluggable function’ is closed to new replies.