mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-18 06:03:38 +09:00
- 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:
@@ -355,16 +355,10 @@ if ( ! class_exists( 'um\core\Plugin_Updater' ) ) {
|
||||
* @return \stdClass modified plugin update array.
|
||||
*/
|
||||
function check_update( $_transient_data ) {
|
||||
global $pagenow;
|
||||
|
||||
if ( ! is_object( $_transient_data ) ) {
|
||||
$_transient_data = new \stdClass;
|
||||
}
|
||||
|
||||
if ( 'plugins.php' == $pagenow && is_multisite() ) {
|
||||
return $_transient_data;
|
||||
}
|
||||
|
||||
$exts = $this->get_active_plugins();
|
||||
|
||||
foreach ( $exts as $slug => $data ) {
|
||||
|
||||
Reference in New Issue
Block a user