Docs: Fix big_image_size_threshold xref typo#76299
Docs: Fix big_image_size_threshold xref typo#76299apermo wants to merge 1 commit intoWordPress:trunkfrom
Conversation
The cross-reference comment points to `images.php` but the file is named `image.php` (singular).
|
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 If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
👋 Thanks for your first Pull Request and for helping build the future of Gutenberg and WordPress, @apermo! In case you missed it, we'd love to have you join us in our Slack community. If you want to learn more about WordPress development in general, check out the Core Handbook full of helpful information. |
|
Warning: Type of PR label mismatch To merge this PR, it requires exactly 1 label indicating the type of PR. Other labels are optional and not being checked here.
Read more about Type labels in Gutenberg. Don't worry if you don't have the required permissions to add labels; the PR reviewer should be able to help with the task. |
What?
Closes #76298
Fixes a typo in the cross-reference comment for the
big_image_size_thresholdfilter inlib/media/load.php.Why?
The comment references
wp-admin/includes/images.php, but the actual file iswp-admin/includes/image.php(singular). This makes it harder for developers to locate the hook's primary documentation.The primary documentation for the filter lives here:
https://github.com/WordPress/wordpress-develop/blob/64086b2a15ef4ccf6443de2056646da1ee17d56d/src/wp-admin/includes/image.php#L264-L285
How?
Changed
images.phptoimage.phpin the cross-reference comment.Testing Instructions
No functional change — documentation comment only.
Testing Instructions for Keyboard
N/A — no UI changes.
This PR was authored by Claude Code (AI), steered and reviewed by @apermo.