[wp-trac] [WordPress Trac] #60959: A way to rename a pattern (similar to post title)

WordPress Trac noreply at wordpress.org
Mon Apr 15 09:18:18 UTC 2024


#60959: A way to rename a pattern (similar to post title)
-----------------------------+------------------------------
 Reporter:  oldrup           |       Owner:  (none)
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  General          |     Version:  6.5
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+------------------------------

Comment (by wildworks):

 > The plan is for patterns in classic themes to use the same screen that
 block themes do in WordPress 6.6.

 In WordPress 6.6, I don't think we can publish a new Patterns page for
 classic themes. This is because the Gutenberg plugin should have supported
 WordPress 6.4 when 6.6 was released, and WordPress 6.4 does not allow
 access to the new Patterns page. At the earliest, the new Patterns page
 should be released in WordPress 6.7. Please refer to
 [https://github.com/WordPress/gutenberg/issues/52150#issuecomment-1863628168
 this roadmap].

 > What would break in Gutenberg + 6.4 if we use the new screens for
 classic themes in Gutenberg today?

 There are links to the Patterns page in several places. For example,
 "Options" menu > "Manage patterns" in the Post Editor. Alternatively, you
 can access it via the Command Palette. Suppose the Gutenberg plugin
 changes this link to the new Pattern page (`/wp-admin/site-
 editor.php?path=%2Fpatterns`) instead of the dashboard (`/wp-
 admin/edit.php?post_type=wp_block`). However, as of WP6.4, the classic
 theme cannot access the new Patterns page. As of WP6.4, classic themes can
 only access the template parts page in the Site Editor (`/wp-admin/site-
 editor.php?path=%2Fwp_template_part%2Fall`) if they support template parts
 (See [https://github.com/WordPress/wordpress-develop/blob/6.4/src/wp-admin
 /site-editor.php#L22-L32 this code]).

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


More information about the wp-trac mailing list