[wp-trac] [WordPress Trac] #37731: Infinite loop in _wp_json_sanity_check() during plugin install

WordPress Trac noreply at wordpress.org
Fri Aug 19 22:10:11 UTC 2016


#37731: Infinite loop in _wp_json_sanity_check() during plugin install
--------------------------+------------------------------
 Reporter:  maestrosite   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Plugins       |     Version:  4.6
 Severity:  normal        |  Resolution:
 Keywords:  dev-feedback  |     Focuses:  administration
--------------------------+------------------------------

Comment (by ionutst):

 On line 2887 on function.php it has to be

 $args[0] = _wp_json_sanity_check( $args[0] , $depth );

 instead of

 $args[0] = _wp_json_sanity_check( $data, $depth );

 Can somebody that has this bug can make the changes and test ?

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


More information about the wp-trac mailing list