Twenty Twenty-Three: Remove untranslatable text strings in pagination links.
This changeset removes text strings from the query pagination block that are not translatable without adding them to patterns. This means that the texts now use the default translation for the block from WordPress, not the theme. The archive, search and home templates now match the text in the query pagination in the index template. Props poena. Fixes #60298. Built from https://develop.svn.wordpress.org/trunk@58459 git-svn-id: http://core.svn.wordpress.org/trunk@57908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ed8ccc7536
commit
22f7f98451
|
@ -18,8 +18,8 @@
|
||||||
<!-- /wp:post-template -->
|
<!-- /wp:post-template -->
|
||||||
|
|
||||||
<!-- wp:query-pagination {"paginationArrow":"arrow","layout":{"type":"flex","justifyContent":"space-between"}} -->
|
<!-- wp:query-pagination {"paginationArrow":"arrow","layout":{"type":"flex","justifyContent":"space-between"}} -->
|
||||||
<!-- wp:query-pagination-previous {"label":"Newer Posts"} /-->
|
<!-- wp:query-pagination-previous /-->
|
||||||
<!-- wp:query-pagination-next {"label":"Older Posts"} /-->
|
<!-- wp:query-pagination-next /-->
|
||||||
<!-- /wp:query-pagination -->
|
<!-- /wp:query-pagination -->
|
||||||
</div>
|
</div>
|
||||||
<!-- /wp:query -->
|
<!-- /wp:query -->
|
||||||
|
|
|
@ -20,8 +20,8 @@
|
||||||
<!-- /wp:post-template -->
|
<!-- /wp:post-template -->
|
||||||
|
|
||||||
<!-- wp:query-pagination {"paginationArrow":"arrow","align":"wide","layout":{"type":"flex","justifyContent":"space-between"}} -->
|
<!-- wp:query-pagination {"paginationArrow":"arrow","align":"wide","layout":{"type":"flex","justifyContent":"space-between"}} -->
|
||||||
<!-- wp:query-pagination-previous {"label":"Newer Posts"} /-->
|
<!-- wp:query-pagination-previous /-->
|
||||||
<!-- wp:query-pagination-next {"label":"Older Posts"} /-->
|
<!-- wp:query-pagination-next /-->
|
||||||
<!-- /wp:query-pagination -->
|
<!-- /wp:query-pagination -->
|
||||||
</div>
|
</div>
|
||||||
<!-- /wp:query -->
|
<!-- /wp:query -->
|
||||||
|
|
|
@ -18,8 +18,8 @@
|
||||||
<!-- /wp:post-template -->
|
<!-- /wp:post-template -->
|
||||||
|
|
||||||
<!-- wp:query-pagination {"paginationArrow":"arrow","layout":{"type":"flex","justifyContent":"space-between"}} -->
|
<!-- wp:query-pagination {"paginationArrow":"arrow","layout":{"type":"flex","justifyContent":"space-between"}} -->
|
||||||
<!-- wp:query-pagination-previous {"label":"Newer Posts"} /-->
|
<!-- wp:query-pagination-previous /-->
|
||||||
<!-- wp:query-pagination-next {"label":"Older Posts"} /-->
|
<!-- wp:query-pagination-next /-->
|
||||||
<!-- /wp:query-pagination -->
|
<!-- /wp:query-pagination -->
|
||||||
|
|
||||||
<!-- wp:query-no-results -->
|
<!-- wp:query-no-results -->
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '6.6-beta3-58458';
|
$wp_version = '6.6-beta3-58459';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue