Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#48181 closed defect (bug) (fixed)

Further adapt WP_Block_Styles_Registry for WordPress core

Reported by: david.binda Owned by: desrosj
Priority: normal Milestone: 5.3
Component: Editor Version: 5.3
Severity: normal Keywords: has-patch commit
Cc: Focuses:

Description

The WP_Block_Styles_Registry backported from Gutenberg to WordPress in #48039 might need some further adaptation, similar to what has been done for WP_Block_Type_Registry in terms of https://core.trac.wordpress.org/ticket/45097#comment:4

  • Update @package to WordPress and @subpackage to Blocks ( instead of Gutenberg ).
  • Remove 'gutenberg' textdomain.
  • Update deprecated since to 5.3.0 ( instead of 6.2.0 ).

Attachments (1)

48181.diff​ (1.8 KB ) - added by david.binda 7 years ago.

Download all attachments as: .zip

Change History (4)

@david.binda
7 years ago

#1 @desrosj
7 years ago

  • Component General → Editor
  • Keywords has-patch commit added
  • Milestone Awaiting Review → 5.3

#2 @desrosj
7 years ago

  • Owner set to desrosj
  • Status new → assigned

#3 @desrosj
7 years ago

  • Resolution → fixed
  • Status assigned → closed

In 46351:

Docs: Correct WP_Styles_Registry documentation.

This change updates the file’s docblock to correctly indicate WordPress/Blocks as the @package/@subpackage, updates the _doing_it_wrong() versions to 5.3.0 instead of the Gutenberg plugin versions, and removes some stray gutenberg text domains.

Props david.binda.
Fixes #48181.

Note: See TracTickets for help on using tickets.