Skip to content

Commit

Permalink
Update the enhanced pagination help text
Browse files Browse the repository at this point in the history
  • Loading branch information
michalczaplinski committed Nov 20, 2024
1 parent fa675a7 commit fb6cde7
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,13 @@ export default function EnhancedPaginationControl( {
const fullPageClientSideNavigation =
window.__experimentalFullPageClientSideNavigation;

let help = __( 'Browsing between pages requires a full page reload.' );
let help = __(
'Reload the full page—instead of just the posts list—when visitors navigate between pages.'
);
if ( fullPageClientSideNavigation ) {
help = __(
'Experimental full-page client-side navigation setting enabled.'
);
} else if ( enhancedPagination ) {
help = __(
'Reload the full page—instead of just the posts list—when visitors navigate between pages.'
);
} else if ( hasUnsupportedBlocks ) {
help = __(
'Enhancement disabled because there are non-compatible blocks inside the Query block.'
Expand Down

0 comments on commit fb6cde7

Please sign in to comment.