Title: Fix for WordPress 3.6
Last modified: August 21, 2016

---

# Fix for WordPress 3.6

 *  [Milana Cap](https://wordpress.org/support/users/milana_cap/)
 * (@milana_cap)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/fix-for-wordpress-36/)
 * I’ve tested WP Translit 0.3.9 with newest version of qTranslate (2.5.36 at the
   moment) and it’s working fine except for few php deprecated functions. I have
   fixed those in my local installation but it would be nice if author of this plugin
   would include this in new release as it is, really, just a minor fix and refers
   to newer versions of php language.
 * File wp-translit.php:
 * **line 385**
    current: `$languages = split(',', $_SERVER["HTTP_ACCEPT_LANGUAGE"]);`
   fix: `$languages = explode(',', $_SERVER["HTTP_ACCEPT_LANGUAGE"]);`
 * **line 390**
    current: `if ( ereg("^(sr|mk|bg|ru)", $hlang) ) // && $hbr == 0)`
   fix: `if ( preg_match("^(sr|mk|bg|ru)^", $hlang) ) // && $hbr == 0 )`
 * **line 469**
    current: `$_wp_wp_translit =& new wp_translit;` fix: `$_wp_wp_translit
   = new wp_translit;`
 * That’s it. I hope this helps someone.
 * [http://wordpress.org/plugins/wp-translit/](http://wordpress.org/plugins/wp-translit/)

Viewing 1 replies (of 1 total)

 *  [filex](https://wordpress.org/support/users/filex/)
 * (@filex)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/fix-for-wordpress-36/#post-4033335)
 * thanks

Viewing 1 replies (of 1 total)

The topic ‘Fix for WordPress 3.6’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-translit_f1f1f1.svg)
 * [WP Translit](https://wordpress.org/plugins/wp-translit/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-translit/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-translit/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-translit/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-translit/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-translit/reviews/)

## Tags

 * [deprecated](https://wordpress.org/support/topic-tag/deprecated/)

 * 1 reply
 * 2 participants
 * Last reply from: [filex](https://wordpress.org/support/users/filex/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/fix-for-wordpress-36/#post-4033335)
 * Status: not a support question