Skip to content

Commit

Permalink
Bump versions to 2.4.0, and fix some @SInCE tags.
Browse files Browse the repository at this point in the history
  • Loading branch information
JJJ committed Nov 11, 2020
1 parent 6291bef commit c8dfca6
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 12 deletions.
9 changes: 8 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions wp-user-profiles.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/

Expand Down Expand Up @@ -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;
}
10 changes: 5 additions & 5 deletions wp-user-profiles/includes/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -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
*
Expand All @@ -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
*/
Expand All @@ -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
*/
Expand Down Expand Up @@ -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.
*
Expand Down
2 changes: 1 addition & 1 deletion wp-user-profiles/includes/common.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions wp-user-profiles/includes/sections/base.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit c8dfca6

Please sign in to comment.