Editor: Fix translators note in wp_unique_id_from_values().
Follow up to [60075] to fix a typo. Props mukesh27, johnbillion. See #62985. Built from https://develop.svn.wordpress.org/trunk@60079 git-svn-id: http://core.svn.wordpress.org/trunk@59415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -5705,9 +5705,6 @@
|
||||
'width' => true,
|
||||
'style' => true
|
||||
)
|
||||
),
|
||||
'interactivity' => array(
|
||||
'clientNavigation' => true
|
||||
)
|
||||
),
|
||||
'style' => 'wp-block-query-total'
|
||||
|
||||
@@ -34,7 +34,7 @@ function render_block_core_query_total( $attributes, $content, $block ) {
|
||||
$posts_per_page = (int) $query_to_use->get( 'posts_per_page' );
|
||||
|
||||
// Calculate the range of posts being displayed.
|
||||
$start = ( $current_page - 1 ) * $posts_per_page + 1;
|
||||
$start = ( 0 === $max_rows ) ? 0 : ( ( $current_page - 1 ) * $posts_per_page + 1 );
|
||||
$end = min( $start + $posts_per_page - 1, $max_rows );
|
||||
|
||||
// Prepare the display based on the `displayType` attribute.
|
||||
|
||||
@@ -52,6 +52,9 @@
|
||||
"width": true,
|
||||
"style": true
|
||||
}
|
||||
},
|
||||
"interactivity": {
|
||||
"clientNavigation": true
|
||||
}
|
||||
},
|
||||
"style": "wp-block-query-total"
|
||||
|
||||
@@ -9193,7 +9193,7 @@ function wp_unique_id_from_values( array $data, string $prefix = '' ): string {
|
||||
if ( empty( $data ) ) {
|
||||
_doing_it_wrong(
|
||||
__FUNCTION__,
|
||||
// translators: $data` is the parameter name and must not be translated.
|
||||
// translators: '$data' is the parameter name and must not be translated.
|
||||
__( 'The $data argument must not be empty.' ),
|
||||
'6.8.0'
|
||||
);
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.8-beta3-60078';
|
||||
$wp_version = '6.8-beta3-60079';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
||||
Reference in New Issue
Block a user