[WIP] Migrate deprecated functions in WP_Customize_Manager class#199
[WIP] Migrate deprecated functions in WP_Customize_Manager class#199Codex wants to merge 2 commits into
Conversation
Co-authored-by: josephfusco <6676674+josephfusco@users.noreply.github.com>
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the Unlinked AccountsThe following contributors have not linked their GitHub and WordPress.org accounts: @codex. Contributors, please read how to link your accounts to ensure your work is properly credited in WordPress releases. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
Dalton (Security): The changes in this pull request primarily involve replacing deprecated functions with their recommended alternatives, specifically changing
Additionally, the new unit tests added to check for unsafe input (like JavaScript URLs) demonstrate a proactive approach to validating the input, which is essential for maintaining security. Overall, the changes enhance the security posture by replacing deprecated functions with safer alternatives, and the added tests help ensure that malicious input is handled correctly. |
|
Doc (Code Quality):
Overall, while the changes seem to improve the code quality by migrating deprecated functions, the implications of the sanitization methods used need to be carefully considered to avoid future misunderstandings or vulnerabilities. |
|
Pat (Compatibility + Decision): The test status is failing, which is a hard stop for any further review. Even though the code changes appear to be on the right track with the migration of deprecated functions, no PR can be approved until it passes its own test suite. The focus on maintaining compatibility and ensuring the ecosystem remains stable is paramount, and that cannot be evaluated without passing tests. DECISION: REQUEST_CHANGES |
There was a problem hiding this comment.
Pat (Compatibility + Decision):
The test status is failing, which is a hard stop for any further review. Even though the code changes appear to be on the right track with the migration of deprecated functions, no PR can be approved until it passes its own test suite. The focus on maintaining compatibility and ensuring the ecosystem remains stable is paramount, and that cannot be evaluated without passing tests.
TESTS: FAIL — were PHPUnit and Coding Standards green at review time?
FUNCTION_SIGNATURES: N/A — no changes made
HOOK_COMPATIBILITY: N/A — no changes made
RETURN_TYPES: N/A — no changes made
DEPRECATION_PATH: N/A — no changes made
DECISION: REQUEST_CHANGES
RATIONALE: The PR fails tests, preventing approval until resolved.
DECISION: REQUEST_CHANGES
Thanks for asking me to work on this. I will get started on it and keep this PR's description up to date as I form a plan and make progress.