Title: 1.2.2 and wpml
Last modified: August 21, 2016

---

# 1.2.2 and wpml

 *  [summoner](https://wordpress.org/support/users/summoner/)
 * (@summoner)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/122-and-wpml/)
 * I just updated to 1.2.2 on a site that uses wpml and now the featured posts language
   will not change if i change the language to be displayed.
 * In 1.2.1 it functions correctly so i had to downgrade.
    Is there a solution for
   this in 1.2.2?
 * [https://wordpress.org/plugins/fourteen-extended/](https://wordpress.org/plugins/fourteen-extended/)

Viewing 11 replies - 1 through 11 (of 11 total)

 *  Plugin Author [Brian Harris](https://wordpress.org/support/users/zgani/)
 * (@zgani)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/122-and-wpml/#post-4698555)
 * Hello summoner,
 * There some changes done in 1.2.2 which are being reverted in 1.2.3 – but these
   are functional so I’m not sure how they would affect any translation process.
 * Could I ask you test out the Beta version and see if that resolve the issue for
   you? You can get a copy here: [http://wpdefault.com/fourteen-extended-beta-1-2-3/](http://wpdefault.com/fourteen-extended-beta-1-2-3/)
 * Thanks,
    Zulf
 *  Thread Starter [summoner](https://wordpress.org/support/users/summoner/)
 * (@summoner)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/122-and-wpml/#post-4698593)
 * I just tried 1.2.3 beta. Sorry, but the problem persist even if i deactivate 
   all the plugins except wpml and fourteen-extended.
 * It really surprised me as i did not think the changes in 1.2.2 could affect it
   either. Right now i will revert to 1.2.1 i am pretty happy with that! I really
   find this plugin great!
 *  Plugin Author [Brian Harris](https://wordpress.org/support/users/zgani/)
 * (@zgani)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/122-and-wpml/#post-4698594)
 * > It really surprised me as i did not think the changes in 1.2.2 could affect
   > it either.
 * Likewise – but I’ll endevour to look in to it further to see what the deal is
   there.
 * > Right now i will revert to 1.2.1 i am pretty happy with that! I really find
   > this plugin great!
 * Glad its of use to you 🙂 – if I may suggest slight changing the name so that
   you don’t get the update nag/accidental update just to save you the hustle of
   having to keep on reverting back?
 * Regards,
    Zulf
 *  Thread Starter [summoner](https://wordpress.org/support/users/summoner/)
 * (@summoner)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/122-and-wpml/#post-4698815)
 * Hello again,
 * Today i had some freetime and tried to find the cause.
    Using v1.2.2 i get 1 
   failure notice in the console: “Uncaught TypeError: undefined is not a function
   jquery.flexslider-min.js?ver=3.8.1:6”
 * If i change line 387 in functions.php to use the non-minified version of the 
   script then i do not get any failure notice.
 * Comparing the 2 scripts i found out the minified version is v2.2 while the non-
   minified version is v2.3-bleeding.
 * First i thought the problem is that these versions differ, but then i noticed
   that in v1.2.1 these scripts are the same. For some reason in v1.2.1 i do not
   get any failure notices in the console, however jquery.flexslider.js and jquery.
   flexslider-min.js were not changed in v1.2.2.
 * So i do not understand but perhaps there might be an unnoticed typo somewhere
   in the code of v1.2.2??
 *  Thread Starter [summoner](https://wordpress.org/support/users/summoner/)
 * (@summoner)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/122-and-wpml/#post-4698816)
 * Same with v1.2.3 beta that has reintroduced featured-content.
 *  Thread Starter [summoner](https://wordpress.org/support/users/summoner/)
 * (@summoner)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/122-and-wpml/#post-4698817)
 * If i overwrite functions.php of v1.2.3 beta with functions.php of v1.2.1 then
   all of a sudden the featured content will be translated again as awaited. So 
   please review that file.
 *  Plugin Author [Brian Harris](https://wordpress.org/support/users/zgani/)
 * (@zgani)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/122-and-wpml/#post-4698820)
 * Hello and thank you for the detail feedback.
 * I’m releasing version 1.2.3 later today or tomorrow with some adjustments made
   from the Beta version. I hope that will do two things, (a) resolve the issue 
   or (b) confirm that its a persistent issue requiring further investigation.
 * Once released if you could please test v1.2.3 and confirm either way so that 
   I can start the debugging process in v1.2.4 I’d very much appreciate it.
 * I can confirm though that no changes we made to either of the js files in question
   and only feature rich functions were added to functions.php.
 * Once again thank you for your continual support as we develop this plugin further.
 * Regards,
    Zulf
 *  Thread Starter [summoner](https://wordpress.org/support/users/summoner/)
 * (@summoner)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/122-and-wpml/#post-4698832)
 * Hello again. Just updated to v1.2.3. Case b, that means problem persists.
    Injecting
   functions.php of v1.2.1 solves it as before.
 *  Thread Starter [summoner](https://wordpress.org/support/users/summoner/)
 * (@summoner)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/122-and-wpml/#post-4698833)
 * Compared the 2 functions.php files. If i comment out line 179 in functions.php
   of v1.2.3 to disable the function ‘fourteenxt_get_featured_posts’, then featured
   content will be translated as expected.
 * For now it seems the last few bits to change are located in this function 🙂
 *  Thread Starter [summoner](https://wordpress.org/support/users/summoner/)
 * (@summoner)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/122-and-wpml/#post-4698834)
 * Well it seems it is just an issue of the order of tasks.
    By modifying line 179
 * from
    add_filter( ‘twentyfourteen_get_featured_posts’, ‘fourteenxt_get_featured_posts’,
   999, 1 );
 * to
    add_filter( ‘twentyfourteen_get_featured_posts’, ‘fourteenxt_get_featured_posts’,
   1, 1 );
 * the featured content will be translated even if the function ‘fourteenxt_get_featured_posts’
   is enabled.
 * Actually until 10, 1 everything is fine, from 11, 1 onwards it will not be translated.
 * Can you just think about whether changing task order like that could possibly
   affect other functions of the plugin? I just do not know other aspects of the
   code.
 *  Plugin Author [Brian Harris](https://wordpress.org/support/users/zgani/)
 * (@zgani)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/122-and-wpml/#post-4698835)
 * Good piece of feedback, thank you for that.
 * Its time to put that to test and see if we are ok or if we need to make other
   adjustments else where to accommodate it. Lets employ it in 1.2.4 Beta so we 
   are all testing – the more the eyes the better the results 🙂
 * Regards,
    Zulf

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘1.2.2 and wpml’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/fourteen-extended.svg)
 * [Fourteen Extended](https://wordpress.org/plugins/fourteen-extended/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/fourteen-extended/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/fourteen-extended/)
 * [Active Topics](https://wordpress.org/support/plugin/fourteen-extended/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/fourteen-extended/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/fourteen-extended/reviews/)

 * 11 replies
 * 2 participants
 * Last reply from: [Brian Harris](https://wordpress.org/support/users/zgani/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/122-and-wpml/#post-4698835)
 * Status: not resolved