Skip to content

Fix/tidy and gd tests#2527

Open
nickchomey wants to merge 12 commits into
WordPress:trunkfrom
nickchomey:fix/tidy-and-gd-tests
Open

Fix/tidy and gd tests#2527
nickchomey wants to merge 12 commits into
WordPress:trunkfrom
nickchomey:fix/tidy-and-gd-tests

Conversation

@nickchomey

Copy link
Copy Markdown
Contributor

Summary

Fixes #2524
Depends on #2523 (I cant be bothered to rebase back to trunk, and then back on top when that gets merged)

Relevant technical choices

I noticed some strange/redundant code in the dominant-color-images plugin so took it as an opportunity to do a bit of tidying up as well as implement tests for GD.

The commits are self-describing. Let me know if it is necessary to split this into a few PRs...

Use of AI Tools

I used Deepseek V4 via VS Code Github Copilot Chat to assist me. I reviewed and refactored its output.

@github-actions

github-actions Bot commented Jun 8, 2026

Copy link
Copy Markdown

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: b1ink0 <b1ink0@git.wordpress.org>
Co-authored-by: nickchomey <nickchomey@git.wordpress.org>

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

…t stuff coming in other PR. Also, cleaner to just convert in one place for all editors
@nickchomey nickchomey force-pushed the fix/tidy-and-gd-tests branch from 29a3234 to ea2c183 Compare June 8, 2026 15:33
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.

Bug/improvement: The pattern in the dominant-color-images plugin's test functions doesn't make sense

2 participants