[buddypress-trac] [BuddyPress Trac] #5749: bp_blogs_record_existing_blogs() improvements
buddypress-trac
noreply at wordpress.org
Fri Jul 11 21:25:08 UTC 2014
#5749: bp_blogs_record_existing_blogs() improvements
-----------------------------+------------------
Reporter: johnjamesjacoby | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.1
Component: Blogs | Version:
Severity: normal | Resolution:
Keywords: |
-----------------------------+------------------
Comment (by johnjamesjacoby):
In [changeset:"8599"]:
{{{
#!CommitTicketReference repository="" revision="8599"
More clean up in `bp_blogs_record_existing_blogs()`:
* Do not touch the `$bp` global directly.
* Remove user/subscriber intersection and use
`bp_blogs_add_user_to_blog()` instead of `bp_blogs_record_blog()`. This
reduces complexity and leans on a function purpose-built for doing this
comparison rather than duplicating part of that logic.
See #5749.
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5749#comment:13>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list