• Hi

    Polylang has the same issue as wpml in wp 4.8.x (tested this several times and even in the default wp theme i get similar results).

    Because of changes in get_term_by, you can not get a id of slugnames in translated pages when you are using same code as in the original default language page. One has to manually adjust the code and adjust slugnames to the translated slugnames. Otherwise NULL is returned. When get_term_by id’s are used all works fine. In WP 4.7.5 or below all works just fine. The issue occurs starting wp 4.8 and above.

    You can read more on this issue here https://core.trac.www.ads-software.com/ticket/41373

    The solution to all this is to be found here

    https://wpml.org/forums/topic/translated-category/

    Please apply to the polylang plugin similar fix as wpml is going to do.

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter BackuPs

    (@backups)

    To Add to this the wpml solution does not work for polylang.

    So adding the same shortcode in the translated page or using slugnames in settings does not get the correct ID for the category selected using polylang.

    Polylang needs a different kind of solution i guess. But the wpml functions will point out where to look for it.

    Thread Starter BackuPs

    (@backups)

    Is it possible to get some feedback from the developer on this as this is a serious issue and bug?

    This is really serious. 4 months and no feedback.

    Philipp

    (@philippmuenchen)

    Same here. This is breaking a lot for me and I hope to find a good solution, soon.

    Thread Starter BackuPs

    (@backups)

    I would not bet on it anymore. It is fixed a long time ago in wpml, but the polylang plugin developer never even took some time to reply to this or take a look at this as the issue still persists. I dumped polylang on all sites and bought wpml.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Wp 4.8 breaks polylang wpquery or term_get_by when slugnames are used.’ is closed to new replies.