| @@ -570,9 +570,9 @@ | ||
| 570 | 570 | add_action( 'wp_ajax_nopriv_uwp_ajax_forgot_password', array( $instance, 'process_forgot' ) ); |
| 571 | 571 | |
| 572 | 572 | // general |
| 573 | 573 | add_action( 'init', array( $instance, 'init_notices' ), 1 ); |
| 574 | - add_action( 'init', array( $instance, 'handler' ), 11 ); | |
| 574 | + add_action( 'uwp_loaded', array( $instance, 'handler' ) ); | |
| 575 | 575 | add_action( 'init', array( $instance, 'privacy_submit_handler' ) ); |
| 576 | 576 | add_action( 'uwp_template_display_notices', array( $instance, 'display_notices' ), 10, 1 ); |
| 577 | 577 | add_action( 'wp_ajax_uwp_upload_file_remove', array( $instance, 'upload_file_remove' ) ); |
| 578 | 578 | //User search form |