From 51c1ee1b9ca0a7e082228f069344f7cc0da2c3e3 Mon Sep 17 00:00:00 2001 From: isabel_brison Date: Mon, 18 Sep 2023 07:04:19 +0000 Subject: [PATCH] Posts: update admin notices to refer to patterns. Updates `wp_block` action notices to refer to patterns instead of blocks. Props aaronrobertshaw, mukesh27, oglekler. Fixes #59305. Built from https://develop.svn.wordpress.org/trunk@56606 git-svn-id: http://core.svn.wordpress.org/trunk@56118 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/edit.php | 22 +++++++++++----------- wp-includes/version.php | 2 +- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/wp-admin/edit.php b/wp-admin/edit.php index 7f61a60563..6e4a05eabc 100644 --- a/wp-admin/edit.php +++ b/wp-admin/edit.php @@ -381,17 +381,17 @@ $bulk_messages['page'] = array( 'untrashed' => _n( '%s page restored from the Trash.', '%s pages restored from the Trash.', $bulk_counts['untrashed'] ), ); $bulk_messages['wp_block'] = array( - /* translators: %s: Number of blocks. */ - 'updated' => _n( '%s block updated.', '%s blocks updated.', $bulk_counts['updated'] ), - 'locked' => ( 1 === $bulk_counts['locked'] ) ? __( '1 block not updated, somebody is editing it.' ) : - /* translators: %s: Number of blocks. */ - _n( '%s block not updated, somebody is editing it.', '%s blocks not updated, somebody is editing them.', $bulk_counts['locked'] ), - /* translators: %s: Number of blocks. */ - 'deleted' => _n( '%s block permanently deleted.', '%s blocks permanently deleted.', $bulk_counts['deleted'] ), - /* translators: %s: Number of blocks. */ - 'trashed' => _n( '%s block moved to the Trash.', '%s blocks moved to the Trash.', $bulk_counts['trashed'] ), - /* translators: %s: Number of blocks. */ - 'untrashed' => _n( '%s block restored from the Trash.', '%s blocks restored from the Trash.', $bulk_counts['untrashed'] ), + /* translators: %s: Number of patterns. */ + 'updated' => _n( '%s pattern updated.', '%s patterns updated.', $bulk_counts['updated'] ), + 'locked' => ( 1 === $bulk_counts['locked'] ) ? __( '1 pattern not updated, somebody is editing it.' ) : + /* translators: %s: Number of patterns. */ + _n( '%s pattern not updated, somebody is editing it.', '%s patterns not updated, somebody is editing them.', $bulk_counts['locked'] ), + /* translators: %s: Number of patterns. */ + 'deleted' => _n( '%s pattern permanently deleted.', '%s patterns permanently deleted.', $bulk_counts['deleted'] ), + /* translators: %s: Number of patterns. */ + 'trashed' => _n( '%s pattern moved to the Trash.', '%s patterns moved to the Trash.', $bulk_counts['trashed'] ), + /* translators: %s: Number of patterns. */ + 'untrashed' => _n( '%s pattern restored from the Trash.', '%s patterns restored from the Trash.', $bulk_counts['untrashed'] ), ); /** diff --git a/wp-includes/version.php b/wp-includes/version.php index 33f424d32a..39aab18abe 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.4-alpha-56605'; +$wp_version = '6.4-alpha-56606'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.