[buddypress-trac] [BuddyPress Trac] #5747: Page mappings can create duplicate pages on reinstall

buddypress-trac noreply at wordpress.org
Wed Jul 9 19:19:58 UTC 2014

#5747: Page mappings can create duplicate pages on reinstall
 Reporter:  johnjamesjacoby  |       Owner:  johnjamesjacoby
     Type:  defect (bug)     |      Status:  reopened
 Priority:  low              |   Milestone:  2.1
Component:  Core             |     Version:  1.5
 Severity:  minor            |  Resolution:
 Keywords:                   |
Changes (by boonebgorges):

 * status:  closed => reopened
 * resolution:  fixed =>


 The changes in r8570 will have the effect of hijacking any page with the
 slug 'groups'. IMO this edge case is a larger problem than the one we're
 trying to solve here (that duplicate pages can be created in the case of
 reinstallation). How about instead of get_page_by_path(), we check to see
 if the component has a page in `bp_core_get_directory_page_ids()`; if it
 does, and the page exists, use it; otherwise create a new one.

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

More information about the buddypress-trac mailing list