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

Refactor extract and gather_errors to use WP_Error methods #5

Open
alexstandiford opened this issue Jul 22, 2021 · 0 comments
Open
Labels
good first issue Good for newcomers

Comments

@alexstandiford
Copy link
Contributor

As of WordPress 5.6, there are a few handy helper methods that make the helper methods extract and gather_errors potentially redundant.

https://developer.wordpress.org/reference/classes/wp_error/

It would be good to re-visit these methods, and determine if they should exist at all. If so, they probably should be refactored to use the WP_Error methods. Otherwise, they should be marked as deprecated and get removed in a future major release.

@alexstandiford alexstandiford added the good first issue Good for newcomers label Oct 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant