diff --git a/src/admin/class-tainacan-admin.php b/src/admin/class-tainacan-admin.php index 4b80e7125..c7e8a8460 100644 --- a/src/admin/class-tainacan-admin.php +++ b/src/admin/class-tainacan-admin.php @@ -279,9 +279,6 @@ class Admin { $settings['wp_post_types'] = $wp_post_types; - // add an alternative to enable select all items in all pages while we temporarly disable bulk edit for all (see #199) - $settings['enable_select_all_items_pages'] = defined('TAINACAN_ENABLE_SELECT_ALL_ITEMS_PAGES') ? TAINACAN_ENABLE_SELECT_ALL_ITEMS_PAGES : false; - return $settings; } diff --git a/src/admin/components/lists/items-list.vue b/src/admin/components/lists/items-list.vue index 73561e12b..7758c26a0 100644 --- a/src/admin/components/lists/items-list.vue +++ b/src/admin/components/lists/items-list.vue @@ -16,7 +16,7 @@ + v-if="allItemsOnPageSelected && items.length > 1"> {{ $i18n.getWithVariables('label_select_all_%s_items', [totalItems]) }} @@ -930,8 +930,7 @@ export default { thumbPlaceholderPath: tainacan_plugin.base_url + '/admin/images/placeholder_square.png', cursorPosX: -1, cursorPosY: -1, - contextMenuItem: null, - enableSelectAllItemsPages: tainacan_plugin.enable_select_all_items_pages + contextMenuItem: null } }, mixins: [ dateInter ],