- 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
+13
View File
@@ -432,5 +432,18 @@ if ( ! class_exists( 'um\admin\Admin' ) ) {
}
return $parent_file;
}
/**
* @since 2.0
*
* @return core\Admin_Notices()
*/
function notices() {
if ( empty( UM()->classes['admin_notices'] ) ) {
UM()->classes['admin_notices'] = new core\Admin_Notices();
}
return UM()->classes['admin_notices'];
}
}
}