Skip to content

Fix redirect_to URL since WordPress 6 - #88

Merged
jrchamp merged 5 commits into
michaelryanmcneill:masterfrom
masteradhoc:patch-1
Mar 20, 2023
Merged

jrchamp merged 5 commits into
michaelryanmcneill:masterfrom
masteradhoc:patch-1

Conversation

@masteradhoc

@masteradhoc masteradhoc commented Mar 16, 2023 •

Copy link
Copy Markdown
Contributor

Fixes #86

@jrchamp

jrchamp commented Mar 16, 2023

Copy link
Copy Markdown
Collaborator

Hi @masteradhoc

It looks like this Pull Request is incorrectly modifying line 534:

if ( ! empty( $redirect ) ) {

Instead, it should probably be updating line 962 (as mentioned in #86):

if ( isset( $wp->request ) ) {

@masteradhoc

Copy link
Copy Markdown
Contributor Author

@jrchamp thanks! adjusted it now

@jrchamp
jrchamp merged commit efb85af into michaelryanmcneill:master Mar 20, 2023
@jrchamp jrchamp changed the title Fix redirect_to URL since Wordpress 6 Fix redirect_to URL since WordPress 6 Mar 20, 2023
@masteradhoc
masteradhoc deleted the patch-1 branch March 20, 2023 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect redirect_to URL since WordPress 6

2 participants