mirror of
git://develop.git.wordpress.org/
synced 2025-04-10 15:13:49 +02:00
This change adds a check to ensure there is no spaces in block style variation names before generating the class. Returns `false` and a `_doing_it_wrong()` message if a space is detected. Props amustaque97, costdev, hellofromtonya, pbiron, SergeyBiryukov, afragen. Fixes #54296. git-svn-id: https://develop.svn.wordpress.org/trunk@52261 602fd350-edb4-49c9-b593-d223f7449a82