-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Font Library: sanitize font collection data #58636
Merged
Merged
Commits on Feb 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6becc25 - Browse repository at this point
Copy the full SHA 6becc25View commit details -
add a test case to be sure that the data returned by get_data is alwa…
…ys sanitized following the font collection schema
Configuration menu - View commit details
-
Copy full SHA for 148bcb0 - Browse repository at this point
Copy the full SHA 148bcb0View commit details -
Configuration menu - View commit details
-
Copy full SHA for ccdf2f9 - Browse repository at this point
Copy the full SHA ccdf2f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e52287 - Browse repository at this point
Copy the full SHA 9e52287View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b88f9b - Browse repository at this point
Copy the full SHA 6b88f9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 98e8295 - Browse repository at this point
Copy the full SHA 98e8295View commit details -
Configuration menu - View commit details
-
Copy full SHA for cd5b338 - Browse repository at this point
Copy the full SHA cd5b338View commit details -
Updates how collection data is sanitized and validated
- Sanitize and validate as early as possible, so that appropriate notices are logged right away - Use static method for sanitization schema so that we can use a closure rather than a public method for src sanitization - Adds a check for WP_Font_Utils::sanitize_from_schema so that class callables like array( $this, 'sanitization_method' ) can be used - Updates method name to indicate that sanitization is done first, as this might remove invalid data and affect the validation result
Configuration menu - View commit details
-
Copy full SHA for f307972 - Browse repository at this point
Copy the full SHA f307972View commit details
Commits on Feb 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 37e899a - Browse repository at this point
Copy the full SHA 37e899aView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.