[buddypress-trac] [BuddyPress Trac] #5749: bp_blogs_record_existing_blogs() improvements

buddypress-trac noreply at wordpress.org
Thu Jul 10 20:03:49 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:"8585"]:
 {{{
 #!CommitTicketReference repository="" revision="8585"
 In `bp_blogs_record_existing_blogs()`, switch to using `TRUNCATE` rather
 than `DELETE` to reset the auto-increment value.

 * Move this truncation to after the `empty( $blog_ids )` check, to avoid
 leaving the tables in a misaligned state.
 * Also truncate `bp_user_blogmeta` to ensure accurate data is recorded.

 See #5749.
 }}}

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


More information about the buddypress-trac mailing list