WordPress.org

Make WordPress Core

Opened 7 months ago

Closed 7 months ago

#48437 closed defect (bug) (fixed)

String needs correction in class-wp-block-styles-registry.php

Reported by: man4toman Owned by: SergeyBiryukov
Milestone: 5.4 Priority: normal
Severity: normal Version:
Component: Editor Keywords: good-first-bug has-patch
Focuses: Cc:

Description

String needs correction in class-wp-block-styles-registry.php file line 45:

https://build.trac.wordpress.org/browser/trunk/wp-includes/class-wp-block-styles-registry.php?marks=45#L45

Attachments (2)

diff.patch (609 bytes) - added by alishankhan 7 months ago.
48437.diff (609 bytes) - added by shaampk1 7 months ago.

Download all attachments as: .zip

Change History (6)

#1 @man4toman
7 months ago

Block name name must be a string.

It must change to:

Block name must be a string.

#2 @SergeyBiryukov
7 months ago

  • Keywords good-first-bug added
  • Milestone changed from Awaiting Review to 5.4

@alishankhan
7 months ago

#3 @alishankhan
7 months ago

  • Keywords has-patch added; needs-patch removed

@shaampk1
7 months ago

#4 @SergeyBiryukov
7 months ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 46601:

Editor: Fix typo in an error message in WP_Block_Styles_Registry::register().

Props man4toman, alishankhan, shaampk1.
Fixes #48437.

Note: See TracTickets for help on using tickets.