Changes between Initial Version and Version 12 of Ticket #41373
- Timestamp:
- 09/02/2017 01:37:00 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #41373
- Property Keywords needs-testing needs-unit-tests reporter-feedback added
-
Property
Component
changed from
General
toTaxonomy
-
Property
Summary
changed from
Wordpress 4.8 and WPML returns NULL on retrieve of translated slugname. Only ID works
toWordPress 4.8 and WPML returns NULL on retrieve of translated slugname. Only ID works
-
Ticket #41373 – Description
initial v12 7 7 I have one category for my custom post type "portfolio" called "gallery" the category is translated to "gallerij" for the dutch language. They both have 3 posts attached. Each for their own language. 8 8 9 I have this in my english page. [portfolio category="gallery"]calling the posts from the category gallery and it is showing 3 posts.9 I have this in my english page. `[portfolio category="gallery"]` calling the posts from the category gallery and it is showing 3 posts. 10 10 11 The page is duplicated into Dutch but the shortcode is the SAME. So the dutch page also has [portfolio category="gallery"] and NOT [portfolio category="gallerij"]. So the dutch page is calling the English category.11 The page is duplicated into Dutch but the shortcode is the SAME. So the dutch page also has `[portfolio category="gallery"]` and NOT `[portfolio category="gallerij"]`. So the dutch page is calling the English category. 12 12 13 13 Now in wp 4.7.x this works perfectly and the dutch page shows the dutch portfolio items, or if you use a blog shortcode the blog items for each language. 14 14 15 But the moment wp 4.8 is installed the dutch pages with shortcodes are empty and i need to set the Dutch page with the shortcode to translated independently and change the shortcode manually to [portfolio category="gallerij"]so that it is calling the dutch category called "gallerij"15 But the moment wp 4.8 is installed the dutch pages with shortcodes are empty and i need to set the Dutch page with the shortcode to translated independently and change the shortcode manually to `[portfolio category="gallerij"]` so that it is calling the dutch category called "gallerij" 16 16 17 17 What changed in the wp code? The theme i am using did not change the theme code. Moreover it happens in any theme i try. The return is NULL when calling a slugname.