- changed version to 2.7.0;

- updated dependencies to 2.7.0;
This commit is contained in:
Mykyta Synelnikov
2023-10-10 18:20:15 +03:00
parent fc0d87de20
commit df47e006d7
17 changed files with 29 additions and 33 deletions
+2 -2
View File
@@ -2044,7 +2044,7 @@ if ( ! class_exists( 'um\admin\Admin' ) ) {
}
/**
* @since 2.6.12
* @since 2.7.0
*
* @return Enqueue
*/
@@ -2080,7 +2080,7 @@ if ( ! class_exists( 'um\admin\Admin' ) ) {
}
/**
* @since 2.6.12
* @since 2.7.0
*
* @return Site_Health
*/
+1 -1
View File
@@ -459,7 +459,7 @@ final class Enqueue extends \um\common\Enqueue {
/**
* Load Fonticons
*
* @depecated 2.6.12
* @depecated 2.7.0
*/
public function load_fonticons() {
}
+1 -1
View File
@@ -82,7 +82,7 @@ class Site_Health {
/**
* Add our data to Site Health information.
*
* @since 2.6.12
* @since 2.7.0
*
* @param array $info The Site Health information.
*
+3 -3
View File
@@ -921,12 +921,12 @@ if ( ! class_exists( 'UM' ) ) {
/**
* @since 2.0
* @depecated 2.6.12
* @depecated 2.7.0
*
* @return um\admin\Enqueue
*/
public function admin_enqueue() {
_deprecated_function( __METHOD__, '2.6.12', 'UM()->admin()->enqueue()' );
_deprecated_function( __METHOD__, '2.7.0', 'UM()->admin()->enqueue()' );
return $this->admin()->enqueue();
}
@@ -1152,7 +1152,7 @@ if ( ! class_exists( 'UM' ) ) {
* @return um\frontend\Enqueue
*/
public function enqueue() {
_deprecated_function( __METHOD__, '2.6.12', 'UM()->frontend()->enqueue()' );
_deprecated_function( __METHOD__, '2.7.0', 'UM()->frontend()->enqueue()' );
return $this->frontend()->enqueue();
}
+6 -6
View File
@@ -14,14 +14,14 @@ class Enqueue {
/**
* @var string scripts' Standard or Minified versions.
*
* @since 2.6.12
* @since 2.7.0
*/
public static $suffix = '';
/**
* @var array URLs for easy using.
*
* @since 2.6.12
* @since 2.7.0
*/
public static $urls = array(
'js' => UM_URL . 'assets/js/',
@@ -32,14 +32,14 @@ class Enqueue {
/**
* @var string scripts' Standard or Minified versions.
*
* @since 2.6.12
* @since 2.7.0
*/
public static $select2_handle = 'select2';
/**
* Enqueue constructor.
*
* @since 2.6.12
* @since 2.7.0
*/
public function __construct() {
add_action( 'admin_enqueue_scripts', array( &$this, 'common_libs' ), 9 );
@@ -65,7 +65,7 @@ class Enqueue {
/**
* Register jQuery-UI styles.
*
* @since 2.6.12
* @since 2.7.0
*/
protected function register_jquery_ui() {
wp_register_style( 'um_ui', self::get_url( 'libs' ) . 'jquery-ui/jquery-ui' . self::get_suffix() . '.css', array(), '1.12.1' );
@@ -74,7 +74,7 @@ class Enqueue {
/**
* Register common JS/CSS libraries.
*
* @since 2.6.12
* @since 2.7.0
*/
public function common_libs() {
$this->register_jquery_ui();
+1 -1
View File
@@ -1400,7 +1400,7 @@ if ( ! class_exists( 'um\core\Builtin' ) ) {
/**
* Filters change metakeys in the blacklist.
*
* @since 2.6.12
* @since 2.7.0
* @hook um_blacklist_fields_hook
*
* @param {array} $blacklist_fields Blacklisted usermeta keys.
+2 -2
View File
@@ -524,7 +524,7 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
/**
* Print field error.
*
* @since 2.6.12 Added $input_id attribute.
* @since 2.7.0 Added $input_id attribute.
*
* @param string $text
* @param string $input_id
@@ -560,7 +560,7 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
/**
* Print field notice.
*
* @since 2.6.12 Added $input_id attribute.
* @since 2.7.0 Added $input_id attribute.
*
* @param string $text
* @param string $input_id
+1 -1
View File
@@ -151,7 +151,7 @@ if ( ! class_exists( 'um\core\Rewrite' ) ) {
/**
* Getting the user_id based on the User Profile slug like when Base Permalink setting equals 'user_login'.
*
* @since 2.6.12
* @since 2.7.0
*
* @return bool|int|mixed
*/
+1 -1
View File
@@ -828,7 +828,7 @@ if ( ! class_exists( 'um\core\User' ) ) {
*
* @return {string} User profile slug.
*
* @since 2.6.12
* @since 2.7.0
* @hook um_custom_meta_permalink_base_generate_user_slug
*
* @example <caption>Use base64encode value as user slug.</caption>
+4 -8
View File
@@ -290,7 +290,7 @@ final class Enqueue extends \um\common\Enqueue {
/**
* Load select-dropdowns JS
* @depecated 2.6.12
* @depecated 2.7.0
*/
function load_selectjs() {
}
@@ -299,7 +299,7 @@ final class Enqueue extends \um\common\Enqueue {
/**
* Load Fonticons
*
* @depecated 2.6.12
* @depecated 2.7.0
*/
function load_fonticons() {
}
@@ -375,21 +375,17 @@ final class Enqueue extends \um\common\Enqueue {
/**
* Load tipsy
*
* @depecated 2.6.12
* @depecated 2.7.0
*/
function load_tipsy() {
wp_enqueue_script( 'um_tipsy' );
wp_enqueue_style( 'um_tipsy' );
}
/**
* Load rating
*
* @depecated 2.6.12
* @depecated 2.7.0
*/
function load_raty() {
wp_enqueue_script('um_raty');
wp_enqueue_style('um_raty');
}
+1 -1
View File
@@ -25,7 +25,7 @@ if ( ! class_exists( 'um\frontend\Init' ) ) {
}
/**
* @since 2.6.12
* @since 2.7.0
*
* @return Enqueue
*/
+1 -1
View File
@@ -6,7 +6,7 @@
*
* Page: "Account"
*
* @version 2.6.12
* @version 2.7.0
*
* @var string $mode
* @var int $form_id
+1 -1
View File
@@ -6,7 +6,7 @@
*
* Page: "Login"
*
* @version 2.6.12
* @version 2.7.0
*
* @var string $mode
* @var int $form_id
+1 -1
View File
@@ -6,7 +6,7 @@
*
* Call: function ultimatemember_password()
*
* @version 2.6.12
* @version 2.7.0
*
* @var string $mode
* @var string $rp_key
+1 -1
View File
@@ -6,7 +6,7 @@
*
* Call: function ultimatemember_password()
*
* @version 2.6.12
* @version 2.7.0
*
* @var string $mode
* @var int $form_id
+1 -1
View File
@@ -6,7 +6,7 @@
*
* Page: "Profile"
*
* @version 2.6.12
* @version 2.7.0
*
* @var object $post
*/
+1 -1
View File
@@ -6,7 +6,7 @@
*
* Page: "Register"
*
* @version 2.6.12
* @version 2.7.0
*
* @var string $mode
* @var int $form_id