mirror of
git://develop.git.wordpress.org/
synced 2025-03-19 11:29:48 +01:00
This commit simplifies block style variation class name generation to ensure unique class names by replacing the hashing of block attributes in the block style variation class names with a call to `wp_unique_id`. Doing so avoids potential for non-unique class names and conflicting styles when exact copies of a block are inserted via a repeated pattern. Props aaronrobertshaw, martinkrcho, mukesh27, peterwilsoncc, ramonopoly. Fixes #61877. git-svn-id: https://develop.svn.wordpress.org/trunk@58951 602fd350-edb4-49c9-b593-d223f7449a82