Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#54206 closed defect (bug) (fixed)

Use strict comparison for in_array

Reported by: aristath's profile aristath Owned by: hellofromtonya's profile hellofromTonya
Milestone: 5.9 Priority: normal
Severity: normal Version: 5.9
Component: Editor Keywords: has-patch commit
Focuses: Cc:


Change History (8)

This ticket was mentioned in PR #1726 on WordPress/wordpress-develop by aristath.

3 years ago

  • Keywords has-patch added

#3 @hellofromTonya
3 years ago

  • Owner set to hellofromTonya
  • Status changed from new to assigned
  • Version set to trunk

#4 @hellofromTonya
3 years ago

  • Component changed from General to Editor

#5 @SergeyBiryukov
3 years ago

  • Keywords commit added
  • Milestone changed from Awaiting Review to 5.9

Thanks for the PR! Looks good to me, marking for commit.

#6 @hellofromTonya
3 years ago

  • Status changed from assigned to reviewing

#7 @hellofromTonya
3 years ago

  • Resolution set to fixed
  • Status changed from reviewing to closed

In 51888:

Coding Standards: Use strict type check for in_array() in register_block_script_handle().

Follow-up to [51501].

Props aristath, sergeybiryukov.
Fixes #54206. See #53359.

Note: See TracTickets for help on using tickets.