[buddypress-trac] [BuddyPress] #4805: groups page missing when activated
buddypress-trac
noreply at wordpress.org
Wed Feb 6 22:10:50 UTC 2013
#4805: groups page missing when activated
--------------------------+---------------------
Reporter: intimez | Owner:
Type: defect (bug) | Status: closed
Priority: high | Milestone: 1.7
Component: Core | Version: 1.7
Severity: major | Resolution: fixed
Keywords: |
--------------------------+---------------------
Changes (by boonebgorges):
* status: new => closed
* resolution: => fixed
Comment:
(In [6770]) Improvements to automatic WP page mapping for BP directory
components
Since the wizard was removed, and Members and Activity were set as the
default
components, BP has been creating directory pages for Members and Activity
automatically upon installation. This created a jarring disparity for the
Groups component, which also needs a top-level directory; when activated
at a
later date, the user would be prompted to associate a page manually.
This changeset moves bp_updater_add_page_mappings() to the core component
(renaming it appropriately). This function is refactored to allow for
existing
page mappings to be retained, as you'd want to do when activating new
components (rather than deleting existing mappings and mapped pages, as
you'd
want during a fresh installation). Finally, the function is called when
saving
the Components admin page, so that components requiring directory pages
(like
Groups) get them created automatically upon activation.
Fixes #4805
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4805#comment:2>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list