PluginProbe
Gutenberg / 24.1.0
Gutenberg v24.1.0
24.1.0 24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 All 404 releases
← All changes | build/scripts/block-library/breadcrumbs.php +5 -5 23.9.0 → 24.1.0 View file →
@@ -187,9 +187,9 @@
187 187 $separator = is_string( $separator_attr ) ? addcslashes( $separator_attr, '\\"' ) : '';
188 188 $wrapper_attributes = get_block_wrapper_attributes(
189 189 array(
190 190 'style' => '--separator: "' . $separator . '";',
191 - 'aria-label' => __( 'Breadcrumbs' ),
191 + 'aria-label' => _x( 'Breadcrumbs', 'area label' ),
192 192 )
193 193 );
194 194
195 195 $breadcrumb_html = sprintf(
@@ -262,10 +262,10 @@
262 262 * Otherwise, creates a span marked as the current page.
263 263 *
264 264 * @since 7.0.0
265 265 *
266 - * @param string $text The text content.
267 - * @param bool $is_paged Whether we're on a paginated view.
266 + * @param string $text The text content.
267 + * @param bool $is_paged Whether we're on a paginated view.
268 268 *
269 269 * @return array The breadcrumb item data.
270 270 */
271 271 function gutenberg_block_core_breadcrumbs_create_item( $text, $is_paged = false ) {
@@ -297,9 +297,9 @@
297 297 * Generates breadcrumb items from hierarchical post type ancestors.
298 298 *
299 299 * @since 7.0.0
300 300 *
301 - * @param int $post_id The post ID.
301 + * @param int $post_id The post ID.
302 302 *
303 303 * @return array Array of breadcrumb item data.
304 304 */
305 305 function gutenberg_block_core_breadcrumbs_get_hierarchical_post_type_breadcrumbs( $post_id ) {
@@ -523,9 +523,9 @@
523 523 * assigned to multiple terms within a taxonomy.
524 524 *
525 525 * @since 7.0.0
526 526 *
527 - * @param array $settings {
527 + * @param array $settings {
528 528 * Array of breadcrumb settings. Default empty array.
529 529 *
530 530 * @type string $taxonomy Optional. Taxonomy slug to use for breadcrumbs.
531 531 * The taxonomy must be registered for the post type and have