Skip to content

Commit c448a21

Browse files
Merge branch 'WordPress:trunk' into trunk
2 parents 228e924 + 467e4a2 commit c448a21

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

gutenberg.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Description: Printing since 1440. This is the development plugin for the block editor, site editor, and other future WordPress core functionality.
66
* Requires at least: 6.6
77
* Requires PHP: 7.2
8-
* Version: 19.8.0
8+
* Version: 19.9.0-rc.1
99
* Author: Gutenberg Team
1010
* Text Domain: gutenberg
1111
*

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gutenberg",
3-
"version": "19.8.0",
3+
"version": "19.9.0-rc.1",
44
"private": true,
55
"description": "A new WordPress editor experience.",
66
"author": "The WordPress Contributors",

packages/components/CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
### Bug Fixes
4646

4747
- `ResizableBox`: Make drag handles focusable ([#67305](https://github.com/WordPress/gutenberg/pull/67305)).
48+
- `CustomSelectControl`: Update correctly when `showSelectedHint` is enabled ([#67733](https://github.com/WordPress/gutenberg/pull/67733)).
4849

4950
## 28.13.0 (2024-11-27)
5051

packages/components/src/custom-select-control/index.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -154,11 +154,11 @@ function CustomSelectControl< T extends CustomSelectOption >(
154154
const renderSelectedValueHint = () => {
155155
const selectedOptionHint = options
156156
?.map( applyOptionDeprecations )
157-
?.find( ( { name } ) => currentValue === name )?.hint;
157+
?.find( ( { name } ) => store.getState().value === name )?.hint;
158158

159159
return (
160160
<Styled.SelectedExperimentalHintWrapper>
161-
{ currentValue }
161+
{ store.getState().value }
162162
{ selectedOptionHint && (
163163
<Styled.SelectedExperimentalHintItem
164164
// Keeping the classname for legacy reasons

0 commit comments

Comments
 (0)