[buddypress-trac] [BuddyPress Trac] #5860: XProfile: Updating group order should purge 'xprofile_groups_inc_empty' cache

buddypress-trac noreply at wordpress.org
Fri Sep 5 18:30:45 UTC 2014


#5860: XProfile: Updating group order should purge 'xprofile_groups_inc_empty'
cache
--------------------------+-----------------------
 Reporter:  r-a-y         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  2.1
Component:  XProfile      |    Version:
 Severity:  normal        |   Keywords:  has-patch
--------------------------+-----------------------
 On the "Users > Profile Fields" admin page, create a bunch of profile
 groups.

 Next, go to your "Profile > Edit" page to view the profile group tabs.
 Everything should be all good.

 Now, go back to the "Users > Profile Fields" admin page, and rearrange the
 Profile Groups in a different order.  Then, navigate back to "Profile >
 Edit" on the frontend.  The profile group tabs are not showing the newer
 order.

 The problem is we are not clearing the cache when a Profile Group is
 reordered.

 `01.patch` fixes this and includes a unit test.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5860>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list