[buddypress-trac] [BuddyPress Trac] #5819: `bp_user_blogs` table improvements (or deletion)

buddypress-trac noreply at wordpress.org
Mon Aug 18 13:15:41 UTC 2014


#5819: `bp_user_blogs` table improvements (or deletion)
-----------------------------+------------------
 Reporter:  johnjamesjacoby  |       Owner:
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  2.2
Component:  Blogs            |     Version:  1.1
 Severity:  normal           |  Resolution:
 Keywords:  2nd-opinion      |
-----------------------------+------------------

Comment (by johnjamesjacoby):

 In [changeset:"8942"]:
 {{{
 #!CommitTicketReference repository="" revision="8942"
 Improvements to Blogs & capabilities:

 * Introduce `bp_blogs_get_allowed_roles()` to act as a blog-role whitelist
 * Introduce `bp_get_current_blog_roles()` to avoid including an admin-only
 file theme-side
 * Use these functions to clean-up the `add_user_to_blog` process in
 several ways:
 ** More accurately match the member-to-blog relationship specification
 ** No-subscriber users remains functionality intact
 ** Allow extending of existing user-to-blog behavior

 See #5749, #5819.
 }}}

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5819#comment:5>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list