Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#48437 closed defect (bug) (fixed)

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

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

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 years ago.
48437.diff (609 bytes ) - added by shaampk1 7 years ago.

Download all attachments as: .zip

Change History (6)

#1 @man4toman
7 years ago

Block name name must be a string.

It must change to:

Block name must be a string.

#2 @SergeyBiryukov
7 years ago

  • Keywords good-first-bug added
  • Milestone Awaiting Review5.4

@alishankhan
7 years ago

#3 @alishankhan
7 years ago

  • Keywords has-patch added; needs-patch removed

@shaampk1
7 years ago

#4 @SergeyBiryukov
7 years ago

  • Owner set to SergeyBiryukov
  • Resolutionfixed
  • Status newclosed

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.