Changeset 10361 for sites/trunk/buddypress.org/public_html/wp-content/plugins/buddypress-org/extensions.php
- Timestamp:
- 10/12/2020 04:25:02 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/buddypress.org/public_html/wp-content/plugins/buddypress-org/extensions.php
r10335 r10361 109 109 110 110 // Redirect old plugin groups to deprecated plugin forums 111 if ( ( $uri_chunks[1] === 'community' ) && ( $uri_chunks[2] === 'groups' ) ) {111 if ( ( $uri_chunks[1] === 'community' ) && isset( $uri_chunks[2] ) && ( $uri_chunks[2] === 'groups' ) ) { 112 112 113 113 // /community/groups/ to Support root. … … 116 116 117 117 // Single group topic redirect 118 } elseif ( !empty( $uri_chunks[5] ) && ( $uri_chunks[5] === 'topic' ) ) {118 } elseif ( !empty( $uri_chunks[5] ) && ( $uri_chunks[5] === 'topic' ) && !empty( $uri_chunks[6] ) ) { 119 119 bp_core_redirect( home_url( '/support/topic/' . $uri_chunks[6] . '/' ) ); 120 120
Note: See TracChangeset
for help on using the changeset viewer.