[buddypress-trac] [BuddyPress Trac] #9063: New pages slug do not support WordPress subpages
buddypress-trac
noreply at wordpress.org
Sun Aug 25 17:24:27 UTC 2024
#9063: New pages slug do not support WordPress subpages
-------------------------------------------------+-------------------------
Reporter: slaFFik | Owner: imath
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 15.0.0
Component: Core | Version: 12.0.0
Severity: normal | Resolution:
Keywords: needs-docs dev-feedback 2nd-opinion |
has-patch |
-------------------------------------------------+-------------------------
Changes (by prbot):
* keywords: needs-docs dev-feedback 2nd-opinion => needs-docs dev-feedback
2nd-opinion has-patch
Comment:
''This ticket was mentioned in
[https://github.com/buddypress/buddypress/pull/364 PR #364] on
[https://github.com/buddypress/buddypress/ buddypress/buddypress] by
[https://profiles.wordpress.org/imath/ @imath].''
Introduce 2 new filterable functions to get register/activate root slugs.
These 2 functions are used to set rewrite rules and permastructs. Using
the filter it is now possible to prepend a `custom-slug/` to the generated
rewrite rules and permastruct.
This was the only missing thing to be able to be able to prepend a
`custom-slug/` to all directory/specific page root slugs.
Trac ticket: https://buddypress.trac.wordpress.org/ticket/9063
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/9063#comment:14>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list