[wp-trac] [WordPress Trac] #50669: Add theme support config to disable the Core block patterns.

WordPress Trac noreply at wordpress.org
Wed Jul 15 13:41:06 UTC 2020


#50669: Add theme support config to disable the Core block patterns.
----------------------------+---------------------
 Reporter:  youknowriad     |       Owner:  (none)
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  5.5
Component:  Editor          |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  needs-dev-note  |     Focuses:
----------------------------+---------------------
Description changed by youknowriad:

Old description:

> 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.
>
> Let's consider adding a theme support flag to avoid registering Core
> block patterns. Something like:
>
> {{{
> add_theme_support( 'disable-core-patterns' )
> }}}

New description:

 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.

 Let's consider adding a theme support flag to avoid registering Core block
 patterns. Something like:

 {{{
 add_theme_support( 'disable-core-block-patterns' )
 }}}

--

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50669#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list