- changed dependencies before release;

This commit is contained in:
nikitasinelnikov
2019-10-07 00:48:51 +03:00
parent fac4be7677
commit 09eb56f1b5
4 changed files with 35 additions and 33 deletions
+3 -16
View File
@@ -16,7 +16,7 @@ if ( ! class_exists( 'UM' ) ) {
* @method UM_Mailchimp Mailchimp()
* @method UM_Messaging_API Messaging_API()
* @method UM_myCRED myCRED()
* @method UM_Notices_API Notices_API()
* @method UM_Notices Notices()
* @method UM_Notifications_API Notifications_API()
* @method UM_Online Online()
* @method UM_Profile_Completeness_API Profile_Completeness_API()
@@ -517,7 +517,7 @@ if ( ! class_exists( 'UM' ) ) {
$this->admin_upgrade()->init_packages_ajax_handlers();
$this->admin_gdpr();
$this->columns();
$this->notices();
$this->admin()->notices();
$this->admin_navmenu();
$this->theme_updater();
$this->access();
@@ -529,7 +529,7 @@ if ( ! class_exists( 'UM' ) ) {
$this->columns();
$this->admin_enqueue();
$this->metabox();
$this->notices();
$this->admin()->notices();
$this->users();
$this->dragdrop();
$this->plugin_updater();
@@ -855,19 +855,6 @@ if ( ! class_exists( 'UM' ) ) {
}
/**
* @since 2.0
*
* @return um\admin\core\Admin_Notices()
*/
function notices() {
if ( empty( $this->classes['admin_notices'] ) ) {
$this->classes['admin_notices'] = new um\admin\core\Admin_Notices();
}
return $this->classes['admin_notices'];
}
/**
* @since 2.0
*