[wp-trac] [WordPress Trac] #58887: Add a Pattern menu item to the "+ New" menu in the WP admin toolbar

WordPress Trac noreply at wordpress.org
Mon Aug 14 18:48:20 UTC 2023


#58887: Add a Pattern menu item to the "+ New" menu in the WP admin toolbar
-------------------------+---------------------
 Reporter:  poena        |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  6.4
Component:  Toolbar      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+---------------------

Comment (by sabernhardt):

 Thanks for the patch! This Pattern link is available for Authors and
 Editors but not Contributors or Subscribers (`edit_post` capability).
 However, I think it still needs to have a condition.

 The link appears even when using the Disable Gutenberg plugin or when
 disabling blocks for all users with the Classic Editor plugin. New
 patterns //usually// would not be appropriate without the block editor
 (unless a JS error renders the editor unusable and a pattern needs
 correcting before the editor can be fixed). A conditional statement could
 check whether the block editor is in use and/or whether a pattern exists
 already.

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


More information about the wp-trac mailing list