Ticket #27797: 27797.patch
File 27797.patch, 664 bytes (added by , 10 years ago) |
---|
-
src/wp-includes/class-wp-editor.php
976 976 $mce_translation = apply_filters( 'wp_mce_translation', $mce_translation, $mce_locale ); 977 977 978 978 foreach ( $mce_translation as $key => $value ) { 979 // Remove strings that are not translated. 980 if ( $key === $value ) { 981 unset( $mce_translation[$key] ); 982 continue; 983 } 984 979 985 if ( false !== strpos( $value, '&' ) ) { 980 986 $mce_translation[$key] = html_entity_decode( $value, ENT_QUOTES, 'UTF-8' ); 981 987 }