* added todos;

This commit is contained in:
Mykyta Synelnikov
2024-11-29 12:57:18 +02:00
parent 89a0619e15
commit f5d81f1a41
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ if ( ! class_exists( 'um\admin\core\Admin_GDPR' ) ) {
* Admin_GDPR constructor.
*/
function __construct() {
add_action( 'init', array( &$this, 'init_fields' ), 10 );
add_action( 'init', array( &$this, 'init_fields' ) );
add_action( 'admin_init', array( &$this, 'plugin_add_suggested_privacy_content' ), 20 );
add_filter( 'wp_privacy_personal_data_exporters', array( &$this, 'plugin_register_exporters' ) );
add_filter( 'wp_privacy_personal_data_erasers', array( &$this, 'plugin_register_erasers' ) );
+1
View File
@@ -81,6 +81,7 @@ if ( ! class_exists( 'um\core\Access' ) ) {
add_action( 'um_access_check_individual_term_settings', array( &$this, 'um_access_check_individual_term_settings' ) );
add_action( 'um_access_check_global_settings', array( &$this, 'um_access_check_global_settings' ) );
// Don't change hook and priority, because hooks for filtering queries are run before `init`.
add_action( 'plugins_loaded', array( &$this, 'initialize_hooks' ), 1 );
}
+1 -1
View File
@@ -49,7 +49,7 @@ if ( ! class_exists( 'um\core\Mail' ) ) {
public function __construct() {
//mandrill compatibility
add_filter( 'mandrill_nl2br', array( &$this, 'mandrill_nl2br' ) );
add_action( 'plugins_loaded', array( &$this, 'init_paths' ), 99 );
add_action( 'plugins_loaded', array( &$this, 'init_paths' ), 99 ); // @todo change to init.
}
/**