[wp-trac] [WordPress Trac] #54623: Block Patterns: "Featured" category & patterns missing from inserter

WordPress Trac noreply at wordpress.org
Tue Dec 14 19:27:29 UTC 2021

#54623: Block Patterns: "Featured" category & patterns missing from inserter
 Reporter:  ryelle                             |       Owner:
                                               |  hellofromTonya
     Type:  defect (bug)                       |      Status:  reviewing
 Priority:  normal                             |   Milestone:  5.9
Component:  Editor                             |     Version:
 Severity:  normal                             |  Resolution:
 Keywords:  has-patch has-testing-info commit  |     Focuses:

Comment (by ryelle):

 > Note: The hardcoded 26 is the featured category ID from the remote
 pattern directory, not a cat in Core. Took me a minute to realize why this
 hardcoded number is used.

 Yeah, that mirrors the behavior in the `_load_remote_block_patterns` where
 a similar hardcoded value is set (the core keyword). Hopefully in 6.0
 we'll be able to phase that out in favor of loading all the patterns from
 w.org/patterns :)

 Thanks for taking care of the commit!

Ticket URL: <https://core.trac.wordpress.org/ticket/54623#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list