From c8dfca6a00a56828516080b001fe7caa66fa26cc Mon Sep 17 00:00:00 2001 From: John James Jacoby Date: Wed, 11 Nov 2020 14:05:53 -0600 Subject: [PATCH] Bump versions to 2.4.0, and fix some @since tags. --- readme.txt | 9 ++++++++- wp-user-profiles.php | 4 ++-- wp-user-profiles/includes/admin.php | 10 +++++----- wp-user-profiles/includes/common.php | 2 +- wp-user-profiles/includes/sections/base.php | 6 +++--- 5 files changed, 19 insertions(+), 12 deletions(-) diff --git a/readme.txt b/readme.txt index 3977305..e6ab2a2 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Tags: users, user, profile, edit, metabox Requires PHP: 7.2 Requires at least: 5.2 Tested up to: 5.6 -Stable tag: 2.3.1 +Stable tag: 2.4.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9Q4F4EL5YJ62J @@ -60,6 +60,13 @@ http://github.com/stuttter/wp-user-profiles == Changelog == += [2.4.0]- 2020-11-11 = +* Improve BuddyPress support +* Improve font size to better match WordPress defaults +* Fix not being able to remove a user's role from a site +* Add sub-navigation UI and API +* Add developer actions at the end of every meta-box display function + = [2.3.1]- 2020-10-07 = * Fix confusion with site action links diff --git a/wp-user-profiles.php b/wp-user-profiles.php index f981e80..6e67052 100644 --- a/wp-user-profiles.php +++ b/wp-user-profiles.php @@ -8,7 +8,7 @@ * License: GPLv2 or later * License URI: https://www.gnu.org/licenses/gpl-2.0.html * Description: A sophisticated way to edit users in WordPress - * Version: 2.3.1 + * Version: 2.4.0 * Text Domain: wp-user-profiles */ @@ -89,5 +89,5 @@ function wp_user_profiles_get_plugin_url() { function wp_user_profiles_get_asset_version() { return defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? time() - : 202011020001; + : 202011110001; } diff --git a/wp-user-profiles/includes/admin.php b/wp-user-profiles/includes/admin.php index 5ac95ff..784a2a5 100644 --- a/wp-user-profiles/includes/admin.php +++ b/wp-user-profiles/includes/admin.php @@ -193,7 +193,7 @@ function wp_user_profiles_admin_menus() { /** * Add the admin menu hooks * - * @since 3.0.0 + * @since 2.0.0 * * @param string $hook */ @@ -295,7 +295,7 @@ function wp_user_profiles_admin_notices() { /** * Get the default query arguments. * - * @since 3.0.0 + * @since 2.0.0 * * @param WP_User $user * @@ -319,7 +319,7 @@ function wp_user_profiles_admin_default_query_args( $user = null ) { /** * Get the current admin user profile page. * - * @since 3.0.0 + * @since 2.0.0 * * @return string */ @@ -332,7 +332,7 @@ function wp_user_profiles_admin_current_page() { /** * Whether or not to show a sub-navigation. * - * @since 3.0.0 + * @since 2.0.0 * * @return bool */ @@ -451,7 +451,7 @@ function wp_user_profiles_admin_nav( $user = null ) { /** * Output the secondary options page navigation * - * @since 3.0.0 + * @since 2.0.0 * * @param object|null $user User to create profile navigation for. * diff --git a/wp-user-profiles/includes/common.php b/wp-user-profiles/includes/common.php index 3bde543..3261e85 100644 --- a/wp-user-profiles/includes/common.php +++ b/wp-user-profiles/includes/common.php @@ -170,7 +170,7 @@ function wp_user_profiles_sort_sections( $hip, $hop ) { /** * Filter sections * - * @since 3.0.0 + * @since 2.0.0 * * @param array $args * @param string $operator diff --git a/wp-user-profiles/includes/sections/base.php b/wp-user-profiles/includes/sections/base.php index 26e04bd..99d881e 100644 --- a/wp-user-profiles/includes/sections/base.php +++ b/wp-user-profiles/includes/sections/base.php @@ -73,16 +73,16 @@ class WP_User_Profile_Section { /** * Parent page ID (if not a primary page) * - * @since 3.0.0 + * @since 2.4.0 * * @var string */ public $parent = ''; /** - * Name of the subsection if prepended. + * Name of the subsection (if prepended) * - * @since 3.0.0 + * @since 2.4.0 * * @var string */