allowing all questions (languages mixed) in option select control
This commit is contained in:
parent
3511f7e4b1
commit
37bc3946c3
|
|
@ -1 +1 @@
|
|||
<?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-html-entities', 'wp-i18n'), 'version' => '3425af252c990d073a9e');
|
||||
<?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-html-entities', 'wp-i18n'), 'version' => '4bc6322a2964838c7d14');
|
||||
|
|
|
|||
|
|
@ -101,7 +101,7 @@ function OptionsSelectControl({
|
|||
let query = {
|
||||
status: "publish",
|
||||
per_page: -1,
|
||||
lang: lang,
|
||||
// lang: lang,
|
||||
thematiques: postMainTaxonomy ? postMainTaxonomy.id : null
|
||||
};
|
||||
return select("core").getEntityRecords("postType", "questions", query);
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -89,7 +89,7 @@ export default function OptionsSelectControl({ setAttributes, relatedPostId }) {
|
|||
let query = {
|
||||
status: "publish",
|
||||
per_page: -1,
|
||||
lang: lang,
|
||||
// lang: lang,
|
||||
thematiques: postMainTaxonomy ? postMainTaxonomy.id : null,
|
||||
};
|
||||
return select("core").getEntityRecords("postType", "questions", query);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user