[wp-trac] [WordPress Trac] #52956: WP_REST_Request->get_params() doesn't correctly handle boolean false

WordPress Trac noreply at wordpress.org
Wed Mar 31 22:37:03 UTC 2021


#52956: WP_REST_Request->get_params() doesn't correctly handle boolean false
--------------------------+------------------------------
 Reporter:  ivankk        |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by ivankk):

 Added a poc mu-plugin which demonstrates the issue.

 Also raised a bug against the Gutenberg project as both the JS library and
 PHP need to work the same.
 [https://github.com/WordPress/gutenberg/issues/30428 Issue#30428]

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52956#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list