[wp-trac] [WordPress Trac] #21350: Fatal error: Class '_WP_Editors' not found
WordPress Trac
wp-trac at lists.automattic.com
Mon Jul 23 09:33:10 UTC 2012
#21350: Fatal error: Class '_WP_Editors' not found
--------------------------+-----------------------------
Reporter: needle | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: TinyMCE | Version: 3.4.1
Severity: normal | Keywords: has-patch
--------------------------+-----------------------------
When a theme makes use of TinyMCE on the front end and a language other
than default en is chosen in wp-config.php, then WordPress 3.4.1 dies
with:
{{{Fatal error: Class '_WP_Editors' not found in /path/to/wp-
includes/js/tinymce/langs/wp-langs.php on line 548.}}}
Solution is to require the class-wp-editor.php file if not already
included in function wp_mce_translation(). Patch attached.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21350>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list