[wp-trac] [WordPress Trac] #30779: Call to undefined function wp_json_encode()
WordPress Trac
noreply at wordpress.org
Sat Dec 20 01:08:03 UTC 2014
#30779: Call to undefined function wp_json_encode()
--------------------------+------------------------------
Reporter: pento | Owner:
Type: defect (bug) | Status: new
Priority: high | Milestone: Awaiting Review
Component: General | Version: 4.1
Severity: major | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by azaozz):
This may happen because `class.wp-scripts.php` is included from `script-
loader.php` which is included from `wp-admin/load-scripts.php` and `wp-
admin/load-styles.php`. Both of these run "outside" of WordPress and don't
load functions.php.
However this won't bring the site down. It will fail to output
concatenated scripts or styles in the admin. Looking at the (only?) report
in the forum, this sounds more like a failed upgrade.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30779#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list