From 8d98a686e2e5e301d0bd6042d646f3593db6867c Mon Sep 17 00:00:00 2001 From: Sarah Norris Date: Thu, 12 Oct 2023 12:49:58 +0100 Subject: [PATCH] Replace stripos with str_contains Co-Authored-By: Jonny Harris --- packages/block-library/src/image/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/block-library/src/image/index.php b/packages/block-library/src/image/index.php index 87e17a4c136b45..9f44be75965d40 100644 --- a/packages/block-library/src/image/index.php +++ b/packages/block-library/src/image/index.php @@ -16,7 +16,7 @@ * @return string The block content with the data-id attribute added. */ function render_block_core_image( $attributes, $content, $block ) { - if ( false === stripos( $content, '