Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#50608 closed defect (bug) (reported-upstream)

5.5 beta - Search block on front end is just a box

Reported by: joyously's profile joyously Owned by: noisysocks's profile noisysocks
Milestone: Priority: normal
Severity: normal Version: 5.5
Component: Editor Keywords:
Focuses: accessibility Cc:

Description

The editing of a Search block changed the prompts for the label, placeholder, and button text. Apparently the rendering of the block changed also, because existing Search blocks that were showing the label and button text, no longer show either one. That leaves the front end with a simple box outline with nothing to indicate what it is.

The rendering needs to account for legacy content that didn't change the defaults.

Attachments (2)

WP5.4.2-left-and-WP5.5beta-right.jpg (67.9 KB) - added by joyously 5 years ago.
WP 5.4.2 is on the left and WP 5.5 beta is on the right
search block – WP5.5beta.jpg (54.8 KB) - added by joyously 5 years ago.
If the label, placeholder, or button text is entered, it is shown.

Download all attachments as: .zip

Change History (5)

@joyously
5 years ago

WP 5.4.2 is on the left and WP 5.5 beta is on the right

@joyously
5 years ago

If the label, placeholder, or button text is entered, it is shown.

#2 @whyisjake
5 years ago

  • Milestone changed from Awaiting Review to 5.5

#3 @noisysocks
5 years ago

  • Owner set to noisysocks
  • Status changed from new to accepted

#4 @noisysocks
5 years ago

  • Milestone 5.5 deleted
  • Resolution set to reported-upstream
  • Status changed from accepted to closed

https://github.com/WordPress/gutenberg/pull/23777 fixes this. The PR will need to be cherry-picked into wp/5.5 so that it lands in WP 5.5 Beta 2 when the @wordpress/block-library package is updated.

Note: See TracTickets for help on using tickets.