load_plugin_textdomain() in 4.6RC
-
Hi!
I’m testing 4.6RC in a dev site. A private plugin I developed is no longer loading its .mo files from the plugin’s language folder using the following code:
add_action( 'plugins_loaded', 'my_plugins_loaded' ); function my_plugins_loaded() { load_plugin_textdomain( 'domain', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' ); }
I had no issues in 4.5.3. The following ticket shows that 4.6 will load languages files differently:
https://core.trac.www.ads-software.com/ticket/34114
My question is, do I have to change the way I load the plugin’s .mo files, now? Any help would be appreciated.
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘load_plugin_textdomain() in 4.6RC’ is closed to new replies.