[buddypress-trac] [BuddyPress] #3153: Upgrades from 1.2 should be recognized as upgrades

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Mon Apr 25 01:15:58 UTC 2011


#3153: Upgrades from 1.2 should be recognized as upgrades
---------------------------+-----------------------
  Reporter:  boonebgorges  |      Owner:
      Type:  defect        |     Status:  new
  Priority:  critical      |  Milestone:  1.3
 Component:  Core          |    Version:  1.3
Resolution:                |   Keywords:  has-patch
---------------------------+-----------------------
Changes (by cnorris23):

 * keywords:   => has-patch


Comment:

 Actually here's the original patch I was talking about. It's kind of big
 because it turned out to be a big rabbit hole. Here's what the patch does.

 1) Typo fixes
 2) Steal from the $bp global to set $bp_wizard global values so we don't
 duplicate work that was just done
 3) Replace the $bp global with the $bp_wizard global where applicable
 since it's smaller
 4) Fixes thee active_components routine in bp-core-loader.php to account
 for a previous installation that had no deactivated components.
 5) Use $bp->active_components where possible so we don't have to duplicate
 work and we get the benefit of already having deactivated components
 accounted for
 6) Update database version numbers in two spots that kept 1.2.x version
 from being updated properly
 7) Whitespace cleanup

 This patch should actually fix #3154 also.

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


More information about the buddypress-trac mailing list