Changes between Initial Version and Version 1 of Ticket #14136
- Timestamp:
- 06/29/2010 09:47:58 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #14136
-
Property
Keywords
changed from
wpml, sitepress, menus
towpml sitepress menus
-
Property
Version
changed from
to
3.0
-
Property
Summary
changed from
Wordpress 3.0 menus fail to work with Sitepress 1.7.9 multilanguage plugin
toMenus fail to work with Sitepress 1.7.9 multilanguage plugin
-
Property
Keywords
changed from
-
Ticket #14136 – Description
initial v1 1 Word press menus feature cease to work when switched to another language in sitepress.2 query field post __in consists of wrong values because of the multiple usage of icl_object_id() function in one of its filter (not sure which one).1 WordPress menus feature cease to work when switched to another language in sitepress. 2 query field post!__in consists of wrong values because of the multiple usage of icl_object_id() function in one of its filter (not sure which one). 3 3 4 4 I needed a quick fix (wp-includes/query.php:1824): 5 5 6 7 {{{ 6 8 $post__in = ($q['post_type']=='nav_menu_item')?$q['include']:implode(',', array_map( 'absint', $q['post__in'] )); 9 }}} 10 7 11 8 12 Include value is left untouched by icl_object_id() so it is relevant to use it here.