[wp-trac] [WordPress Trac] #37856: Prepare data before sanity check in wp_json_encode()

WordPress Trac noreply at wordpress.org
Sat Aug 3 23:02:30 UTC 2019


#37856: Prepare data before sanity check in wp_json_encode()
------------------------------------+-----------------------------
 Reporter:  swissspidy              |       Owner:  (none)
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  Future Release
Component:  General                 |     Version:  4.6
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:
------------------------------------+-----------------------------

Comment (by jrf):

 Related #47699 - As WP 5.6 is the minimum WP version now, the
 `_wp_json_prepare_data()` is slated for deprecation as it was only needed
 to provide cross-version support for PHP 5.2-5.3.

 With that in mind, can this ticket be closed ?

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


More information about the wp-trac mailing list