[wp-trac] [WordPress Trac] #50669: Add theme support config to disable the Core block patterns.
WordPress Trac
noreply at wordpress.org
Thu Jul 16 11:49:13 UTC 2020
#50669: Add theme support config to disable the Core block patterns.
--------------------------------------+--------------------------
Reporter: youknowriad | Owner: youknowriad
Type: task (blessed) | Status: closed
Priority: normal | Milestone: 5.5
Component: Editor | Version:
Severity: normal | Resolution: fixed
Keywords: needs-dev-note has-patch | Focuses:
--------------------------------------+--------------------------
Changes (by youknowriad):
* owner: (none) => youknowriad
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"48492" 48492]:
{{{
#!CommitTicketReference repository="" revision="48492"
Block Editor: Add theme support flag to opt-out of Core Block Patterns.
WordPress Core comes by default with a number of block patterns and a
frequent request was to be able to opt-out of the Core block patterns.
You can now opt-out using remove_theme_support( 'core-block-patterns' )
Props desrosj, nosolosw.
Fixes #50669.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50669#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list