Skip to content

Conversation

@LyleBennett
Copy link
Contributor

Moves the population of two variables outside of the iterator foreach loop in order to improve performance.

Fixes #695

@LyleBennett LyleBennett marked this pull request as ready for review June 5, 2025 12:30
@github-actions
Copy link

github-actions bot commented Jun 5, 2025

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: LyleBennett <[email protected]>
Co-authored-by: swissspidy <[email protected]>
Co-authored-by: pbiron <[email protected]>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@davidperezgar davidperezgar merged commit fbb8b86 into WordPress:trunk Jun 5, 2025
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

performance improvement in Abstract_File_Check::get_files()

3 participants