Skip to content

Update register_setting with sanitize callback; small adjustments.#1074

Merged
mauteri merged 7 commits intodevelopfrom
GP-1051
Apr 27, 2025
Merged

Update register_setting with sanitize callback; small adjustments.#1074
mauteri merged 7 commits intodevelopfrom
GP-1051

Conversation

@mauteri
Copy link
Copy Markdown
Contributor

@mauteri mauteri commented Apr 26, 2025

Description of the Change

Added sanitize callback for register_setting function and did a bit of related cleanup.

Closes #1051

How to test the Change

Changelog Entry

Security - Vulnerability

Credits

Props @mauteri

Checklist:

  • I agree to follow this project's Code of Conduct.
  • I have updated the documentation accordingly.
  • I have added tests to cover my change.
  • All new and existing tests pass.

@mauteri mauteri marked this pull request as ready for review April 26, 2025 23:49
@github-actions
Copy link
Copy Markdown
Contributor

Preview changes with Playground

You can preview the recent changes for PR#1074 with the following PHP versions:

PHP Version 8.3

PHP Version 7.4

Download .zip with build changes

Made with 💙 from GatherPress & a little bit of WordPress Playground. Changes will not persist between sessions.

@mauteri mauteri merged commit 9610bc0 into develop Apr 27, 2025
14 checks passed
@mauteri mauteri deleted the GP-1051 branch April 27, 2025 19:25
mauteri added a commit that referenced this pull request Apr 30, 2025
Update register_setting with sanitize callback; small adjustments.
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.

Sanitization missing for register_setting().

1 participant