Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid infinite redirections after clicking on an activity permalink when using plain permalink structure #225

Closed
wants to merge 1 commit into from

Conversation

imath
Copy link
Member

@imath imath commented Jan 26, 2024

Remove potential BP URI query variables from activity permalink when redirecting to the activity single screen.

Trac ticket: https://buddypress.trac.wordpress.org/ticket/9082


This Pull Request is for code review only. Please keep all other discussion in the BuddyPress Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the WordPress Core Handbook for more details.

@imath imath deleted the patch/9082 branch January 27, 2024 03:32
dcavins pushed a commit to dcavins/buddypress-wp-svn that referenced this pull request Feb 8, 2024
When building the URL to redirect a single activity request to the member's activity single view, make sure to remove potential BP URI query variables relative to the Activity component before trying to transport extra query variables to the redirect URL.

Props johnjamesjacoby

See #9082
Closes buddypress/buddypress#225



git-svn-id: http://buddypress.svn.wordpress.org/trunk@13714 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant