[wp-trac] [WordPress Trac] #30139: Allow JSON_PRETTY_PRINT to be used without notice on PHP < 5.4

WordPress Trac noreply at wordpress.org
Tue Oct 28 19:12:23 UTC 2014


#30139: Allow JSON_PRETTY_PRINT to be used without notice on PHP < 5.4
--------------------------+--------------------------
 Reporter:  markjaquith   |       Owner:  markjaquith
     Type:  defect (bug)  |      Status:  accepted
 Priority:  low           |   Milestone:  4.1
Component:  General       |     Version:  trunk
 Severity:  minor         |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+--------------------------

Comment (by nacin):

 I agree with compat.php.

 I'd add "to prevent a notice when used with wp_json_encode().", otherwise
 my next question would be why we need to have this.

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


More information about the wp-trac mailing list