Skip to content

Comments

Fixes #54106 and adds tests#2242

Closed
pbearne wants to merge 33 commits intoWordPress:trunkfrom
pbearne:#54106_wp_nonce_field_doesn't_strip_referer
Closed

Fixes #54106 and adds tests#2242
pbearne wants to merge 33 commits intoWordPress:trunkfrom
pbearne:#54106_wp_nonce_field_doesn't_strip_referer

Conversation

@pbearne
Copy link

@pbearne pbearne commented Jan 29, 2022

now removes _wp_http_referer from the url when creating a hidden input for _wp_http_referer

Trac ticket: https://core.trac.wordpress.org/ticket/54106

Copy link
Contributor

@dream-encode dream-encode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some small changes and a suggestion. Also, should resync upstream as patching current fails for tests/phpunit/tests/term/getTermBy.php.

Copy link
Member

@mukeshpanchal27 mukeshpanchal27 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left some feedback and improvement changes in tests.

Copy link
Member

@mukeshpanchal27 mukeshpanchal27 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple of formatting/standards comments

pbearne and others added 13 commits August 23, 2022 10:56
reordered comments block
Copy link
Member

@mukeshpanchal27 mukeshpanchal27 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pbearne PR look solid now. Left one review that fix the unit tests.

Copy link
Contributor

@costdev costdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR @pbearne! I've left some thoughts and suggestions below.

@mukeshpanchal27
Copy link
Member

@dream-encode @costdev Can you please re-review?

Copy link
Contributor

@costdev costdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 Could do with a re-run of CI to get that failing test passing.

@mukeshpanchal27
Copy link
Member

It's a core issue https://wordpress.slack.com/archives/C02RQBWTW/p1662025984130089?thread_ts=1661992665.658499&cid=C02RQBWTW That will be fixed soon, and then all tests will pass.

@robinwpdeveloper
Copy link

LGTM as well.
Thanks @pbearne

Copy link

@hz-tyfoon hz-tyfoon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to remove extra closing bracket.

audrasjb
audrasjb previously approved these changes Oct 9, 2022
Copy link
Contributor

@audrasjb audrasjb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@audrasjb
Copy link
Contributor

audrasjb commented Oct 9, 2022

Ah well… now it doesn't look good to me: this PR adds a new wpRefererFeld.php file in tests, but there's already a wpRefererField.php file :)

Ping @pbearne

@mukeshpanchal27
Copy link
Member

@audrasjb Can you please review it. It's ready for final review and merge.

Copy link
Contributor

@audrasjb audrasjb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Mukesh 👍

@audrasjb
Copy link
Contributor

@audrasjb audrasjb closed this Oct 10, 2022
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.

8 participants