[buddypress-trac] [BuddyPress Trac] #4017: Group taxonomy

buddypress-trac noreply at wordpress.org
Wed Jun 4 20:48:26 UTC 2014

#4017: Group taxonomy
 Reporter:  boonebgorges  |       Owner:  boonebgorges
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Groups        |     Version:
 Severity:  major         |  Resolution:
 Keywords:                |

Comment (by imath):

 Replying to [comment:11 r-a-y]:
 > However, do we like faking a post type in order to take advantage of the
 taxonomy API?
 Thanks a lot for your feedback r-a-y, i understand your concern. When i
 was building the plugin i've had the same. The fact that the "link" object
 is doing so in WordPress core motivated me to keep on building it. The
 great concern i had was: does using this method can have an impact on
 regular post types ? For instance if the term is 'news' for a post and a
 group, does deleting the group taxonomy would delete the post type one ?
 Or would the count be messed up if group id == post type id for the same
 term ?
 So i've search tickets in WP Core trac to see if this kind of impacts was
 existing between "link" and posts or pages and couldn't find one.
 The tests i've made with group tags (i agree it should be "stressed"
 more), did not have any impact either. I think i'd trust WP Core, if this
 use was a danger, then it could be easy to do some get_post_type(
 $object_id ) in functions of wp-includes/taxonomy.php and bail if it's not
 a real post type..

 Finally, in a way, we are already faking post types in BP Theme Compat ;)
 for instance the post type 'bp_group' argument in
 {{{bp_theme_compat_reset_post}}} function of

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4017#comment:12>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list