Make WordPress Core

Changeset 57340


Ignore:
Timestamp:
01/23/2024 05:09:23 PM (5 weeks ago)
Author:
youknowriad
Message:

Editor: Unset reference used in foreach statement.

In PHP it is a good practice to unset $value if it was created by reference in a foreach loop, as the reference is still valid outside the loop, and this avoids accidental bugs.

Props get_dave.
Fixes #60326.

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.