Non english charcters support for WP Customer Reviews

This an encoding compatibility problem that occurs when there is a discrepancy between wordpress encoding configuration and the default system or server configuration. The plugin creates tables like so: $sql = “CREATE TABLE $this->dbtable ( …. Code …. reviewer_name varchar(150) DEFAULT NULL, …. More table fields Code .. )”; The DEFAULT keyword is the culprit … Read more

WordPress Database Charset/Collate

There are $wpdb->charset and $wpdb->collate. I am not sure if or when one of these values might be empty, so it is better to prepare for empty values … From my DB class: /** * Get table charset and collation. * * @since 2012.10.22 * @return string */ protected static function get_wp_charset_collate() { global $wpdb; … Read more

TinyMCE HTML Encode Backslash

ok so finally found a solution to this. i had to edit class-wp-editor.php and include the following for the $first_init array ‘setup’ => ‘function(ed) { ed.onGetContent.add(function(ed, o) { // Replaces all a characters with b characters o.content = o.content.replace(/\\\\/g, “\”); }); }’,