diff --git a/includes/core/class-ajax-common.php b/includes/core/class-ajax-common.php index 5d70291d..9fd939cb 100644 --- a/includes/core/class-ajax-common.php +++ b/includes/core/class-ajax-common.php @@ -32,6 +32,7 @@ if ( ! class_exists( 'um\core\AJAX_Common' ) ) { } add_action( 'wp_ajax_um_select_options', array( UM()->form(), 'ajax_select_options' ) ); + add_action( 'wp_ajax_nopriv_um_select_options', array( UM()->form(), 'ajax_select_options' ) ); add_action( 'wp_ajax_um_delete_profile_photo', array( UM()->profile(), 'ajax_delete_profile_photo' ) ); add_action( 'wp_ajax_um_delete_cover_photo', array( UM()->profile(), 'ajax_delete_cover_photo' ) );