diff --git a/packages/block-library/src/query/edit/enhanced-pagination-modal.js b/packages/block-library/src/query/edit/enhanced-pagination-modal.js index f33c45646e536b..38167f7259380c 100644 --- a/packages/block-library/src/query/edit/enhanced-pagination-modal.js +++ b/packages/block-library/src/query/edit/enhanced-pagination-modal.js @@ -42,7 +42,7 @@ export default function EnhancedPaginationModal( { }; let notice = __( - 'If you still want to prevent full page reloads, remove that block, then disable "Force page reload" again in the Query Block settings.' + 'If you still want to prevent full page reloads, remove that block, then disable "Reload full page" again in the Query Block settings.' ); if ( hasBlocksFromPlugins ) { notice = @@ -63,7 +63,7 @@ export default function EnhancedPaginationModal( { return ( isOpen && ( ) } - ) } { ! inherit && showDisplayPanel && ( diff --git a/packages/block-library/src/query/edit/query-content.js b/packages/block-library/src/query/edit/query-content.js index 949ffc653420fe..4624b3b96049e9 100644 --- a/packages/block-library/src/query/edit/query-content.js +++ b/packages/block-library/src/query/edit/query-content.js @@ -18,6 +18,7 @@ import { store as coreStore } from '@wordpress/core-data'; /** * Internal dependencies */ +import EnhancedPaginationControl from './inspector-controls/enhanced-pagination-control'; import QueryToolbar from './query-toolbar'; import QueryInspectorControls from './inspector-controls'; import EnhancedPaginationModal from './enhanced-pagination-modal'; @@ -36,6 +37,7 @@ export default function QueryContent( { queryId, query, displayLayout, + enhancedPagination, tagName: TagName = 'div', query: { inherit } = {}, } = attributes; @@ -161,6 +163,11 @@ export default function QueryContent( { } help={ htmlElementMessages[ TagName ] } /> +