mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
- changed version to 2.7.0;
- updated dependencies to 2.7.0;
This commit is contained in:
@@ -2044,7 +2044,7 @@ if ( ! class_exists( 'um\admin\Admin' ) ) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @since 2.6.12
|
* @since 2.7.0
|
||||||
*
|
*
|
||||||
* @return Enqueue
|
* @return Enqueue
|
||||||
*/
|
*/
|
||||||
@@ -2080,7 +2080,7 @@ if ( ! class_exists( 'um\admin\Admin' ) ) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @since 2.6.12
|
* @since 2.7.0
|
||||||
*
|
*
|
||||||
* @return Site_Health
|
* @return Site_Health
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -459,7 +459,7 @@ final class Enqueue extends \um\common\Enqueue {
|
|||||||
/**
|
/**
|
||||||
* Load Fonticons
|
* Load Fonticons
|
||||||
*
|
*
|
||||||
* @depecated 2.6.12
|
* @depecated 2.7.0
|
||||||
*/
|
*/
|
||||||
public function load_fonticons() {
|
public function load_fonticons() {
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -82,7 +82,7 @@ class Site_Health {
|
|||||||
/**
|
/**
|
||||||
* Add our data to Site Health information.
|
* Add our data to Site Health information.
|
||||||
*
|
*
|
||||||
* @since 2.6.12
|
* @since 2.7.0
|
||||||
*
|
*
|
||||||
* @param array $info The Site Health information.
|
* @param array $info The Site Health information.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -921,12 +921,12 @@ if ( ! class_exists( 'UM' ) ) {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @since 2.0
|
* @since 2.0
|
||||||
* @depecated 2.6.12
|
* @depecated 2.7.0
|
||||||
*
|
*
|
||||||
* @return um\admin\Enqueue
|
* @return um\admin\Enqueue
|
||||||
*/
|
*/
|
||||||
public function 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();
|
return $this->admin()->enqueue();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1152,7 +1152,7 @@ if ( ! class_exists( 'UM' ) ) {
|
|||||||
* @return um\frontend\Enqueue
|
* @return um\frontend\Enqueue
|
||||||
*/
|
*/
|
||||||
public function 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();
|
return $this->frontend()->enqueue();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -14,14 +14,14 @@ class Enqueue {
|
|||||||
/**
|
/**
|
||||||
* @var string scripts' Standard or Minified versions.
|
* @var string scripts' Standard or Minified versions.
|
||||||
*
|
*
|
||||||
* @since 2.6.12
|
* @since 2.7.0
|
||||||
*/
|
*/
|
||||||
public static $suffix = '';
|
public static $suffix = '';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var array URLs for easy using.
|
* @var array URLs for easy using.
|
||||||
*
|
*
|
||||||
* @since 2.6.12
|
* @since 2.7.0
|
||||||
*/
|
*/
|
||||||
public static $urls = array(
|
public static $urls = array(
|
||||||
'js' => UM_URL . 'assets/js/',
|
'js' => UM_URL . 'assets/js/',
|
||||||
@@ -32,14 +32,14 @@ class Enqueue {
|
|||||||
/**
|
/**
|
||||||
* @var string scripts' Standard or Minified versions.
|
* @var string scripts' Standard or Minified versions.
|
||||||
*
|
*
|
||||||
* @since 2.6.12
|
* @since 2.7.0
|
||||||
*/
|
*/
|
||||||
public static $select2_handle = 'select2';
|
public static $select2_handle = 'select2';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enqueue constructor.
|
* Enqueue constructor.
|
||||||
*
|
*
|
||||||
* @since 2.6.12
|
* @since 2.7.0
|
||||||
*/
|
*/
|
||||||
public function __construct() {
|
public function __construct() {
|
||||||
add_action( 'admin_enqueue_scripts', array( &$this, 'common_libs' ), 9 );
|
add_action( 'admin_enqueue_scripts', array( &$this, 'common_libs' ), 9 );
|
||||||
@@ -65,7 +65,7 @@ class Enqueue {
|
|||||||
/**
|
/**
|
||||||
* Register jQuery-UI styles.
|
* Register jQuery-UI styles.
|
||||||
*
|
*
|
||||||
* @since 2.6.12
|
* @since 2.7.0
|
||||||
*/
|
*/
|
||||||
protected function register_jquery_ui() {
|
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' );
|
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.
|
* Register common JS/CSS libraries.
|
||||||
*
|
*
|
||||||
* @since 2.6.12
|
* @since 2.7.0
|
||||||
*/
|
*/
|
||||||
public function common_libs() {
|
public function common_libs() {
|
||||||
$this->register_jquery_ui();
|
$this->register_jquery_ui();
|
||||||
|
|||||||
@@ -1400,7 +1400,7 @@ if ( ! class_exists( 'um\core\Builtin' ) ) {
|
|||||||
/**
|
/**
|
||||||
* Filters change metakeys in the blacklist.
|
* Filters change metakeys in the blacklist.
|
||||||
*
|
*
|
||||||
* @since 2.6.12
|
* @since 2.7.0
|
||||||
* @hook um_blacklist_fields_hook
|
* @hook um_blacklist_fields_hook
|
||||||
*
|
*
|
||||||
* @param {array} $blacklist_fields Blacklisted usermeta keys.
|
* @param {array} $blacklist_fields Blacklisted usermeta keys.
|
||||||
|
|||||||
@@ -524,7 +524,7 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
|
|||||||
/**
|
/**
|
||||||
* Print field error.
|
* Print field error.
|
||||||
*
|
*
|
||||||
* @since 2.6.12 Added $input_id attribute.
|
* @since 2.7.0 Added $input_id attribute.
|
||||||
*
|
*
|
||||||
* @param string $text
|
* @param string $text
|
||||||
* @param string $input_id
|
* @param string $input_id
|
||||||
@@ -560,7 +560,7 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
|
|||||||
/**
|
/**
|
||||||
* Print field notice.
|
* Print field notice.
|
||||||
*
|
*
|
||||||
* @since 2.6.12 Added $input_id attribute.
|
* @since 2.7.0 Added $input_id attribute.
|
||||||
*
|
*
|
||||||
* @param string $text
|
* @param string $text
|
||||||
* @param string $input_id
|
* @param string $input_id
|
||||||
|
|||||||
@@ -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'.
|
* 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
|
* @return bool|int|mixed
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -828,7 +828,7 @@ if ( ! class_exists( 'um\core\User' ) ) {
|
|||||||
*
|
*
|
||||||
* @return {string} User profile slug.
|
* @return {string} User profile slug.
|
||||||
*
|
*
|
||||||
* @since 2.6.12
|
* @since 2.7.0
|
||||||
* @hook um_custom_meta_permalink_base_generate_user_slug
|
* @hook um_custom_meta_permalink_base_generate_user_slug
|
||||||
*
|
*
|
||||||
* @example <caption>Use base64encode value as user slug.</caption>
|
* @example <caption>Use base64encode value as user slug.</caption>
|
||||||
|
|||||||
@@ -290,7 +290,7 @@ final class Enqueue extends \um\common\Enqueue {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Load select-dropdowns JS
|
* Load select-dropdowns JS
|
||||||
* @depecated 2.6.12
|
* @depecated 2.7.0
|
||||||
*/
|
*/
|
||||||
function load_selectjs() {
|
function load_selectjs() {
|
||||||
}
|
}
|
||||||
@@ -299,7 +299,7 @@ final class Enqueue extends \um\common\Enqueue {
|
|||||||
/**
|
/**
|
||||||
* Load Fonticons
|
* Load Fonticons
|
||||||
*
|
*
|
||||||
* @depecated 2.6.12
|
* @depecated 2.7.0
|
||||||
*/
|
*/
|
||||||
function load_fonticons() {
|
function load_fonticons() {
|
||||||
}
|
}
|
||||||
@@ -375,21 +375,17 @@ final class Enqueue extends \um\common\Enqueue {
|
|||||||
/**
|
/**
|
||||||
* Load tipsy
|
* Load tipsy
|
||||||
*
|
*
|
||||||
* @depecated 2.6.12
|
* @depecated 2.7.0
|
||||||
*/
|
*/
|
||||||
function load_tipsy() {
|
function load_tipsy() {
|
||||||
wp_enqueue_script( 'um_tipsy' );
|
|
||||||
wp_enqueue_style( 'um_tipsy' );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Load rating
|
* Load rating
|
||||||
*
|
*
|
||||||
* @depecated 2.6.12
|
* @depecated 2.7.0
|
||||||
*/
|
*/
|
||||||
function load_raty() {
|
function load_raty() {
|
||||||
wp_enqueue_script('um_raty');
|
|
||||||
wp_enqueue_style('um_raty');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ if ( ! class_exists( 'um\frontend\Init' ) ) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @since 2.6.12
|
* @since 2.7.0
|
||||||
*
|
*
|
||||||
* @return Enqueue
|
* @return Enqueue
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
*
|
*
|
||||||
* Page: "Account"
|
* Page: "Account"
|
||||||
*
|
*
|
||||||
* @version 2.6.12
|
* @version 2.7.0
|
||||||
*
|
*
|
||||||
* @var string $mode
|
* @var string $mode
|
||||||
* @var int $form_id
|
* @var int $form_id
|
||||||
|
|||||||
+1
-1
@@ -6,7 +6,7 @@
|
|||||||
*
|
*
|
||||||
* Page: "Login"
|
* Page: "Login"
|
||||||
*
|
*
|
||||||
* @version 2.6.12
|
* @version 2.7.0
|
||||||
*
|
*
|
||||||
* @var string $mode
|
* @var string $mode
|
||||||
* @var int $form_id
|
* @var int $form_id
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
*
|
*
|
||||||
* Call: function ultimatemember_password()
|
* Call: function ultimatemember_password()
|
||||||
*
|
*
|
||||||
* @version 2.6.12
|
* @version 2.7.0
|
||||||
*
|
*
|
||||||
* @var string $mode
|
* @var string $mode
|
||||||
* @var string $rp_key
|
* @var string $rp_key
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
*
|
*
|
||||||
* Call: function ultimatemember_password()
|
* Call: function ultimatemember_password()
|
||||||
*
|
*
|
||||||
* @version 2.6.12
|
* @version 2.7.0
|
||||||
*
|
*
|
||||||
* @var string $mode
|
* @var string $mode
|
||||||
* @var int $form_id
|
* @var int $form_id
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
*
|
*
|
||||||
* Page: "Profile"
|
* Page: "Profile"
|
||||||
*
|
*
|
||||||
* @version 2.6.12
|
* @version 2.7.0
|
||||||
*
|
*
|
||||||
* @var object $post
|
* @var object $post
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
*
|
*
|
||||||
* Page: "Register"
|
* Page: "Register"
|
||||||
*
|
*
|
||||||
* @version 2.6.12
|
* @version 2.7.0
|
||||||
*
|
*
|
||||||
* @var string $mode
|
* @var string $mode
|
||||||
* @var int $form_id
|
* @var int $form_id
|
||||||
|
|||||||
Reference in New Issue
Block a user