qTranslate-XT (eXTended) - reviving qTranslate-X multilingual plugin for WordPress. A new community-driven plugin soon. Built-in modules for WooCommerce, ACF, slugs and others.
GNU General Public License v2.0
550
stars
103
forks
source link
get_pages() doesn't respect "Hide posts which content is not available for the selected language." setting #1269
The setting "Hide posts which content is not available for the selected language." is set to TRUE
Example. Languages: [en], [et], [ru], [fi] post content: [en]The content[:] post_title: [en]Title[:]
$pages = get_pages();
The result. It returns this page in every language.
Expected result: It should only return this page then selected language is EN. Not return then selected language is ET, RU and FI.