[wp-trac] [WordPress Trac] #59234: Introduce a `wp_json_decode()` function, including validation when available

WordPress Trac noreply at wordpress.org
Tue Jan 30 14:14:53 UTC 2024


#59234: Introduce a `wp_json_decode()` function, including validation when
available
-------------------------------+---------------------
 Reporter:  jrf                |       Owner:  (none)
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  6.5
Component:  General            |     Version:  6.4
 Severity:  normal             |  Resolution:
 Keywords:  php83 needs-patch  |     Focuses:
-------------------------------+---------------------
Changes (by nicomollet):

 * Attachment
 "Perform_json_validate_before_json_decode_on_REST_API_request_data.patch"
 added.

 REST API controller json_validate before json_decode

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59234>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list