- Fixed "get_profile_photo_size" function (avoid PHP notice with array_combine )

- Fixed password reset/change form when other forms are initialized at the same page
  - Fixed getting extension updates on multisites
  - Deprecated JS event 'um_before_modal_removed', use wp.hooks action 'um_before_modal_removed' instead
This commit is contained in:
nikitasinelnikov
2020-07-06 14:20:29 +03:00
parent af4a53a9fb
commit 2dad3d2704
11 changed files with 73 additions and 31 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ if ( ! class_exists( 'um\core\Rewrite' ) ) {
*/
function __construct() {
if ( ! defined( 'DOING_AJAX' ) ) {
add_filter( 'wp_loaded', array( $this, 'maybe_flush_rewrite_rules' ) );
add_action( 'wp_loaded', array( $this, 'maybe_flush_rewrite_rules' ) );
}
//add rewrite rules