[Plugin: Media File Renamer] WPML compatibility (0.34, patch)
-
So with WPML and Media Translator plugin you run into a situation where if you modify meta of different languages, MFR will kill the correct filenames for other languages. There’s probably no totally trivial solution to this, although I guess I would suggest creating symlinks to get_default_language()-associated filenames. But in the meanwhile, I’m suggesting something like this:
25 function mfrh_attachment_fields_to_save( $post, $attachment ) { 26 // Make sure we only operate on filenames of default language 27 // Symlinking to other languages could be an option 28 global $sitepress; 29 if ( $sitepress && $sitepress->get_current_language() != $sitepress->get_default_language() ) 30 return $post;
Viewing 13 replies - 1 through 13 (of 13 total)
Viewing 13 replies - 1 through 13 (of 13 total)
- The topic ‘[Plugin: Media File Renamer] WPML compatibility (0.34, patch)’ is closed to new replies.