Commit 5ae48011 authored by John James Jacoby's avatar John James Jacoby
Browse files

Use `user-group` in `wp_get_users_of_group()`.

Bump to 1.1.0.
parent 1daf49f6
......@@ -2,8 +2,8 @@
Contributors: johnjamesjacoby, stuttter
Tags: taxonomy, term, user, group, type
Requires at least: 4.7
Tested up to: 4.7
Stable tag: 1.0.0
Tested up to: 4.8
Stable tag: 1.1.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
......@@ -77,6 +77,9 @@ http://github.com/stuttter/wp-user-groups/
== Changelog ==
= [1.1.0] - 2017/03/28 =
* Change default taxonomy to `user-group` in wp_get_users_of_group()
= [1.0.0] - 2016/12/07 =
* WordPress 4.7 compatibility
* Improved bulk actions (requires WordPress 4.7)
......
......@@ -8,7 +8,7 @@
* License: GPLv2 or later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Description: Group users together with taxonomies & terms.
* Version: 1.0.0
* Version: 1.1.0
* Text Domain: wp-user-groups
* Domain Path: /wp-user-groups/assets/languages/
*/
......@@ -56,5 +56,5 @@ function wp_user_groups_get_plugin_url() {
* @return int
*/
function wp_user_groups_get_asset_version() {
return 201612070001;
return 201703280001;
}
......@@ -135,7 +135,7 @@ function wp_get_users_of_group( $args = array() ) {
// Parse arguments
$r = wp_parse_args( $args, array(
'taxonomy' => 'user-type',
'taxonomy' => 'user-group',
'term' => '',
'term_by' => 'slug'
) );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment