Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Publicious.org
Plugins
User Groups
Commits
7ab1d043
Commit
7ab1d043
authored
Sep 01, 2015
by
John James Jacoby
Browse files
Bump to 0.1.2.
parent
39e62258
Changes
2
Hide whitespace changes
Inline
Side-by-side
readme.txt
View file @
7ab1d043
...
...
@@ -3,7 +3,7 @@ Contributors: johnjamesjacoby
Tags: taxonomy, term, users, groups, types
Requires at least: 4.3
Tested up to: 4.3
Stable tag: 0.1.
1
Stable tag: 0.1.
2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
...
...
@@ -57,6 +57,9 @@ http://github.com/johnjamesjacoby/wp-user-groups/
== Changelog ==
= 0.1.2 =
* Namespace default taxonomy IDs
= 0.1.1 =
* User profile UI uses a mock list-table
...
...
wp-user-groups.php
View file @
7ab1d043
...
...
@@ -5,7 +5,7 @@
* Plugin URI: https://wordpress.org/plugins/wp-user-groups/
* Description: Group users together with taxonomies & terms.
* Author: John James Jacoby
* Version: 0.1.
1
* Version: 0.1.
2
* Author URI: https://profiles.wordpress.org/johnjamesjacoby/
* License: GPL v2 or later
*/
...
...
@@ -25,13 +25,13 @@ defined( 'ABSPATH' ) || exit;
function
wp_register_default_user_taxonomies
()
{
// "Groups" taxonomy
new
WP_User_Taxonomy
(
'group'
,
'users/group'
,
array
(
new
WP_User_Taxonomy
(
'
user-
group'
,
'users/group'
,
array
(
'singular'
=>
__
(
'Group'
,
'wp-user-groups'
),
'plural'
=>
__
(
'Groups'
,
'wp-user-groups'
)
)
);
// "Types" taxonomy
new
WP_User_Taxonomy
(
'type'
,
'users/type'
,
array
(
new
WP_User_Taxonomy
(
'
user-
type'
,
'users/type'
,
array
(
'singular'
=>
__
(
'Type'
,
'wp-user-groups'
),
'plural'
=>
__
(
'Types'
,
'wp-user-groups'
)
)
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment