Make WordPress Core

Opened 5 weeks ago

Closed 4 weeks ago

Last modified 4 weeks ago

#60327 closed defect (bug) (fixed)

Fix: PHP 8.1 deprecated warning strpos()

Reported by: get_dave's profile get_dave Owned by: youknowriad's profile youknowriad
Milestone: 6.5 Priority: normal
Severity: normal Version:
Component: Editor Keywords: has-patch
Focuses: Cc:

Description

Syncs changes from https://github.com/WordPress/gutenberg/pull/56171 to Core.

Fix for PHP warning in Layout Block Supports.

Change History (7)

This ticket was mentioned in PR #5935 on WordPress/wordpress-develop by @get_dave.


5 weeks ago
#1

  • Keywords has-patch added

Syncs changes from https://github.com/WordPress/gutenberg/pull/56171 to Core.

Fix for PHP warning in Layout Block Supports.

Trac ticket: https://core.trac.wordpress.org/ticket/60327

@get_dave commented on PR #5935:


5 weeks ago
#2

sorry if I missed this one!

Nope. I'm just trying to help things along. Thank you 👍

@youknowriad Can we commit this please?

@get_dave commented on PR #5935:


4 weeks ago
#4

@ocean90 @dmsnell I've now:

So we should be good to go 🤞

Please can this be approved so I can tick it off the backports list. Many thanks in advance 🙇

cc @youknowriad

#5 @youknowriad
4 weeks ago

  • Owner set to youknowriad
  • Resolution set to fixed
  • Status changed from new to closed

In 57383:

Editor: Fix PHP warning in Layout block support.

strpos was triggering a php warning.
This also updates the code to use the now supported str_contains.

Props get_dave, dmsnell, ocean90, mukesh27.
Fixes #60327.

#7 @youknowriad
4 weeks ago

  • Milestone changed from Awaiting Review to 6.5
Note: See TracTickets for help on using tickets.