-
Notifications
You must be signed in to change notification settings - Fork 147
Description
Describe the bug:
I should be able to duplicate a block pattern in WordPress 6.5
To reproduce:
- Install WP 6.5 latest
- Go to Appearance > Editor > Patterns
- Using the kebab menu on a CoBlocks pattern, duplicate
Expected behavior:
I expect to see a modal to name a duplicate pattern
Screencast:
coblocks-duplicate-pattern.mp4
Isolating the problem:
- This bug happens with no other plugins activated
- This bug happens with a default WordPress theme active
- This bug happens without the Gutenberg plugin active
- I can reproduce this bug consistently using the steps above
WordPress version:
`
wp-core
version: 6.5-RC2
site_language: en_US
user_language: en_US
timezone: +00:00
permalink: undefined
https_status: true
multisite: false
user_registration: 0
blog_public: 2
default_comment_status: open
environment_type: production
user_count: 5
dotorg_communication: true
wp-paths-sizes
wordpress_path: /dom45732
wordpress_size: 54.77 MB (57432021 bytes)
uploads_path: /dom45732/wp-content/uploads
uploads_size: 46.66 MB (48927209 bytes)
themes_path: /dom45732/wp-content/themes
themes_size: 12.06 MB (12644886 bytes)
plugins_path: /dom45732/wp-content/plugins
plugins_size: 135.18 MB (141748954 bytes)
database_size: 6.03 MB (6324224 bytes)
total_size: 254.70 MB (267077294 bytes)
wp-dropins (1)
object-cache.php: true
wp-active-theme
name: Twenty Twenty-Four (twentytwentyfour)
version: 1.0
author: the WordPress team
author_website: https://wordpress.org
parent_theme: none
theme_features: core-block-patterns, post-thumbnails, responsive-embeds, editor-styles, html5, automatic-feed-links, widgets-block-editor, block-templates
theme_path: /dom45732/wp-content/themes/twentytwentyfour
wp-themes-inactive (2)
Twenty Twenty-Three: version: 1.3, author: the WordPress team
Twenty Twenty-Two: version: 1.6, author: the WordPress team
wp-mu-plugins (1)
Pagely Management V2: version: 2.0.58, author: Pagely
wp-plugins-active (7)
CoBlocks: version: 3.1.7, author: GoDaddy
Create Block Theme: version: 1.13.8, author: WordPress.org
Health Check & Troubleshooting: version: 1.7.0, author: The WordPress.org community
Performance Lab: version: 2.9.0, author: WordPress Performance Team
Test Reports: version: 1.1.0, author: WordPress Upgrade/Install Team
WordPress Beta Tester: version: 3.5.5, author: WordPress Upgrade/Install Team
WordPress Importer: version: 0.8.2, author: wordpressdotorg
wp-plugins-inactive (23)
Akismet Anti-spam: Spam Protection: version: 5.3.1, author: Automattic - Anti-spam Team
Another Show Hooks: version: 1.0.2, author: Exlac
Block Widgets Monster: version: 1.0.4, author: RGB Lab
Classic Editor: version: 1.6.3, author: WordPress Contributors
Classic Widgets: version: 0.3, author: WordPress Contributors
Core Rollback: version: 1.3.5, author: Andy Fragen
Debug Bar: version: 1.1.5, author: wordpressdotorg
Debug Bar Actions and Filters Addon: version: 1.5.5, author: Subharanjan
Dominant Color Images: version: 1.0.1, author: WordPress Performance Team
FakerPress: version: 0.6.1, author: Gustavo Bordoni
Gutenberg: version: 17.9.0, author: Gutenberg Team
Monster Widget: version: 0.3, author: Automattic
Performant Translations: version: 1.1.2, author: WordPress Performance Team
Query Monitor: version: 3.15.0, author: John Blackbourn
Rollback Auto Update: version: 7.2.0, author: WP Core Contributors
Test jQuery Updates: version: 2.0.0, author: The WordPress Team
Transients Manager: version: 2.0.5, author: WPBeginner
User Switching: version: 1.7.3, author: John Blackbourn & contributors
WebP Uploads: version: 1.0.5, author: WordPress Performance Team
WooCommerce: version: 8.6.1, author: Automattic
WooCommerce Blocks: version: 11.7.0, author: Automattic
WP Reset: version: 1.99, author: WebFactory Ltd
WP Rollback: version: 2.0.6, author: WP Rollback
wp-media
image_editor: WP_Image_Editor_Imagick
imagick_module_version: 1691
imagemagick_version: ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
imagick_version: 3.7.0
file_uploads: 1
post_max_size: 100M
upload_max_filesize: 100M
max_effective_size: 100 MB
max_file_uploads: 50
imagick_limits:
imagick::RESOURCETYPE_AREA: 4 GB
imagick::RESOURCETYPE_DISK: 9.2233720368548E+18
imagick::RESOURCETYPE_FILE: 786432
imagick::RESOURCETYPE_MAP: 4 GB
imagick::RESOURCETYPE_MEMORY: 2 GB
imagick::RESOURCETYPE_THREAD: 1
imagick::RESOURCETYPE_TIME: 9.2233720368548E+18
imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, APNG, ART, ARW, AVI, AVIF, AVS, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CR3, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DJVU, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FAX, FILE, FITS, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, H, HALD, HDR, HEIC, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, J2C, J2K, JBG, JBIG, JNG, JNX, JP2, JPC, JPE, JPEG, JPG, JPM, JPS, JPT, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, POCKETMOD, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIDEO, VIFF, VIPS, VST, WBMP, WEBM, WEBP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV
gd_version: bundled (2.1.0 compatible)
gd_formats: GIF, JPEG, PNG, BMP
ghostscript_version: unknown
wp-server
server_architecture: Linux 5.15.0-1051-aws x86_64
httpd_software: Apache
php_version: 8.1.27 64bit
php_sapi: fpm-fcgi
max_input_variables: 10000
time_limit: 60
memory_limit: 512M
max_input_time: 60
upload_max_filesize: 100M
php_post_max_size: 100M
curl_version: 7.74.0 OpenSSL/1.1.1w
suhosin: false
imagick_availability: true
pretty_permalinks: true
htaccess_extra_rules: false
current: 2024-03-15T01:26:07+00:00
utc-time: Friday, 15-Mar-24 01:26:07 UTC
server-time: 2024-03-15T01:26:06+00:00
wp-database
extension: mysqli
server_version: 8.0.32
client_version: mysqlnd 8.1.27
max_allowed_packet: 536870912
max_connections: 2000
wp-constants
WP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: /dom45732/wp-content
WP_PLUGIN_DIR: /dom45732/wp-content/plugins
WP_MEMORY_LIMIT: 512M
WP_MAX_MEMORY_LIMIT: 512M
WP_DEBUG: false
WP_DEBUG_DISPLAY: true
WP_DEBUG_LOG: false
SCRIPT_DEBUG: false
WP_CACHE: true
CONCATENATE_SCRIPTS: undefined
COMPRESS_SCRIPTS: undefined
COMPRESS_CSS: undefined
WP_ENVIRONMENT_TYPE: Undefined
WP_DEVELOPMENT_MODE: undefined
DB_CHARSET: utf8
DB_COLLATE: undefined
wp-filesystem
wordpress: writable
wp-content: writable
uploads: writable
plugins: writable
themes: writable
mu-plugins: writable
`