[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
Thu Aug 17 16:53:46 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 needs-testing | Focuses:
-------------------------------------+---------------------
Comment (by Ankit K Gupta):
== Test Report
Patch tested:
https://core.trac.wordpress.org/attachment/ticket/58887/58887.1.diff
=== Env
* WordPress - 6.4-alpha-20230817.203813
* Web Server: Nginx
* Chrome Version - 115
* OS - macOS
* Theme: Twenty Twenty-Three
* PHP - 7.4.0
* Active Plugin - Tested with/without "Disable Gutenberg"
=== Test result
The test focused on assessing the availability and functionality of the
'Pattern' option in the Nav Bar under various scenarios. The results
indicate the following:
1. With the 'Disable Gutenberg' plugin active and the Block Editor
disabled site-wide, the Pattern option correctly does not appear in the
Nav Bar. ✅
2. When the Block Editor is active, the Pattern option is appropriately
displayed in the Nav Bar. ✅
3. Clicking on 'Pattern' under the "+ New" tab successfully reveals the
Pattern Tab. ✅
4. Clicking on 'Pattern' leads to the expected redirection to the create
Pattern Screen. ✅
5. The Pattern option is appropriately available to users with the
'publish_posts' capability. ✅
✅ Suggested Enhancement works with patch.
**After the patch- **
[[Image(https://i.imgur.com/6Qm9uX4.jpg)]]
Please note that I have examined all possible scenarios based on my
understanding. If there are any additional scenarios that need to be
confirmed or checked, please do let me know. Thank you!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58887#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list