You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While testing the new improved patterns display in blocks.wp.a2z I came across a Doing it wrong message.
Notice: Function _register_theme_block_patterns was called incorrectly. Could not register file "C:\apache\htdocs\wp-a2z/wp-content/themes/jace/patterns/register-block-patterns.php" as a block pattern ("Slug" field missing) Please see Debugging in WordPress for more information. (This message was added in version 6.0.0.) in C:\apache\htdocs\wp-a2z\wp-includes\functions.php on line 5831
The code in gutenberg_register_theme_block_patterns() is trying to process the register-block-patterns.php file as a pattern.
While testing the new improved patterns display in blocks.wp.a2z I came across a Doing it wrong message.
Notice: Function _register_theme_block_patterns was called incorrectly. Could not register file "C:\apache\htdocs\wp-a2z/wp-content/themes/jace/patterns/register-block-patterns.php" as a block pattern ("Slug" field missing) Please see Debugging in WordPress for more information. (This message was added in version 6.0.0.) in C:\apache\htdocs\wp-a2z\wp-includes\functions.php on line 5831
The code in
gutenberg_register_theme_block_patterns()
is trying to process theregister-block-patterns.php
file as a pattern.The
$pattern_data
for this file ishence the message I saw.
The text was updated successfully, but these errors were encountered: