Changes between Initial Version and Version 1 of Ticket #23794, comment 8
- Timestamp:
- 05/08/2013 12:43:08 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #23794, comment 8
initial v1 8 8 } 9 9 }}} 10 11 or 12 {{{ 13 add_filter( 'load_textdomain_mofile', 'tdc_mu_load_textdomain_mofile', 10, 2 ); 14 function tdc_mu_load_textdomain_mofile($mofile, $domain) { 15 if (preg_match('%^'.WP_PLUGIN_DIR.'(.+)%',$mofile,$m) && file_exists(WPMU_PLUGIN_DIR.$m[1])) return WPMU_PLUGIN_DIR.$m[1]; 16 else return $mofile; 17 } 18 }}}