[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 18:59:21 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:
--------------------------+--------------------------
Changes (by markjaquith):

 * keywords:   => has-patch
 * owner:   => markjaquith
 * status:  new => accepted


Comment:

 I added it to `compat.php` instead of `default-constants.php` because it’s
 not '''our''' constant — it’s part of our PHP compat layer. But I don't
 feel strongly about that.

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


More information about the wp-trac mailing list