[buddypress-trac] [BuddyPress Trac] #8918: Automate component's directory `buddypress` post type association
buddypress-trac
noreply at wordpress.org
Wed Jul 12 03:38:33 UTC 2023
#8918: Automate component's directory `buddypress` post type association
-------------------------+---------------------
Reporter: imath | Owner: imath
Type: enhancement | Status: closed
Priority: normal | Milestone: 12.0.0
Component: Core | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch |
-------------------------+---------------------
Changes (by imath):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"13514" 13514]:
{{{
#!CommitTicketReference repository="" revision="13514"
Improve automatic third party component directory page association
1. the `buddypress()->loaded_components` array uses component slug as keys
(not the component ID). Avoid potential problems when a component slug is
very different than the component ID by looping into this array the right
way when looking for components requiring a page association.
2. Make sure to use the component `$root_slug` and `$directory_title` when
automatically creating a `buddypress` post type for orphaned components.
3. Improve the user feedback once 2. is achieved by informing they may
need to refresh the site permalink settings.
Fixes #8918
Closes https://github.com/buddypress/buddypress/pull/127
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8918#comment:5>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list