PHP 8.1 deprecated warning strpos() #56169
Labels
[Feature] Blocks
Overall functionality of blocks
[Type] Bug
An existing feature does not function as intended
Description
In some custom blocks, where we use
useInnerBlocksProps
withlayout
support and place any tag withoutclassName
in save function before tag with inner blocks, we get this warning:Step-by-step reproduction instructions
layout
supports and with InnerBlocksgutenberg/lib/block-supports/layout.php
Line 819 in e131e6e
Screenshots, screen recording, code snippet
Related topic, created by the user of Ghost Kit plugin - https://wordpress.org/support/topic/php-warning-under-php-8-1/
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: