- Added: um_member_directory_cover_image_size hook with ability to change the cover photo size on the member directory

- Added: `um_member_directory_get_members_allow` JS hook for 3rd-party integration with the member directory. You could use a time throttle until some data is loaded
- Fixed: Upgrade process on websites where a hosting locks the frequent AJAX requests (added default JS throttle between requests)
This commit is contained in:
nikitasinelnikov
2020-11-18 16:56:01 +02:00
parent 5a731e91f3
commit dfc6f876ac
11 changed files with 121 additions and 50 deletions
+3 -1
View File
@@ -16,7 +16,9 @@
success: function( response ) {
if ( typeof response.data != 'undefined' ) {
um_add_upgrade_log( response.data.message );
um_clear_cache2010();
setTimeout( function () {
um_clear_cache2010();
}, um_request_throttle );
} else {
um_wrong_ajax();
}