[wp-trac] [WordPress Trac] #64666: REST API: Prevent fatal when font settings params are non-string in font faces and font families endpoints
WordPress Trac
noreply at wordpress.org
Fri Feb 27 22:58:42 UTC 2026
#64666: REST API: Prevent fatal when font settings params are non-string in font
faces and font families endpoints
--------------------------------------+--------------------------
Reporter: deepaklalwani | Owner: westonruter
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 7.0
Component: REST API | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+--------------------------
Changes (by westonruter):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"61765" 61765]:
{{{
#!CommitTicketReference repository="" revision="61765"
REST API: Prevent fatal error when non-string value is passed in endpoints
for font faces and font families.
The value is expected to be a serialized JSON string, which the validation
callback validates.
Developed in https://github.com/WordPress/wordpress-develop/pull/10966
Follow-up to r57548.
Props deepaklalwani, westonruter.
See #59166.
Fixes #64666.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64666#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list