Plugin doesn't display the text in the editor WP 4.0
-
I see the error in the logs
[Tue Nov 11 23:22:39 2014] [error] [client ...] PHP Warning: htmlspecialchars() [<a href='function.htmlspecialchars'>function.htmlspecialchars</a>]: Invalid multibyte sequence in argument in /.../wp-includes/formatting.php on line 2936, referer: https://.../wp-admin/edit-tags.php?taxonomy=category
If you change the function in the file /wp-includes/formatting.php
wp_htmledit_pre$output = htmlspecialchars($output, ENT_NOQUOTES, get_option( 'blog_charset' ) );
on
$output = htmlspecialchars($output, ENT_NOQUOTES );
and functuon wp_richedit_pre
$output = htmlspecialchars($output, ENT_NOQUOTES, get_option( 'blog_charset' ) );
$output = htmlspecialchars($output, ENT_NOQUOTES );
plugin works.
But this is a bad decision.
- The topic ‘Plugin doesn't display the text in the editor WP 4.0’ is closed to new replies.