[wp-trac] [WordPress Trac] #58827: Publish the Patterns page in the Site Editor to all non-block themes

WordPress Trac noreply at wordpress.org
Wed Sep 13 12:57:57 UTC 2023


#58827: Publish the Patterns page in the Site Editor to all non-block themes
--------------------------+------------------------------
 Reporter:  wildworks     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by wildworks):

 In the following PR, we were looking for a way to allow all classic themes
 to access the Pattern page of the Site Editor in the future, while
 maintaining backward compatibility and preventing possible problems caused
 by the combination of different WordPres versions and whether or not the
 Gutenberg plugin is activated.

 https://github.com/WordPress/gutenberg/pull/54066

 After much discussion, we are considering taking the following approach.

 In Core WP 6.4:

 1. Add an `Appearance -> Patterns` link for all classic themes that point
 to `edit.php?post_type=wp_block`.
 2. Allow `site-editor.php?path=/patterns` access for classic themes
 internally.

 In Gutenberg after the minimum required version is WP 6.4:

 3. Change all "Manage patterns" links to point to `site-
 editor.php?path=/patterns`.
 4. Change the `Appearance -> Patterns` links for classic themes to point
 to `site-editor.php?path=/patterns`.

 I would like to submit a core patch to accomplish these things.

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


More information about the wp-trac mailing list