[wp-trac] [WordPress Trac] #30613: Check the return value of wp_json_encode()

WordPress Trac noreply at wordpress.org
Fri Dec 19 09:36:04 UTC 2014


#30613: Check the return value of wp_json_encode()
----------------------------------+-----------------------------
 Reporter:  pento                 |       Owner:
     Type:  defect (bug)          |      Status:  new
 Priority:  normal                |   Milestone:  Future Release
Component:  General               |     Version:  4.1
 Severity:  normal                |  Resolution:
 Keywords:  has-patch needs-docs  |     Focuses:  javascript
----------------------------------+-----------------------------

Comment (by freeatlast):

 I just updated to 4.1 and got this error Fatal error: Call to undefined
 function wp_json_encode() in /home/boystome/public_html/wp-includes/class
 .wp-scripts.php on line 186

 Any help would be much appreciated

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


More information about the wp-trac mailing list