Skip to content

Commit

Permalink
Update the enhanced pagination help text (#67173)
Browse files Browse the repository at this point in the history
  • Loading branch information
michalczaplinski authored Nov 22, 2024
1 parent 9a6f48b commit 98a7d5d
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

1 comment on commit 98a7d5d

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in 98a7d5d.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/11964318717
📝 Reported issues:

Please sign in to comment.