Repository navigation
Media: Keep one list of the image formats the upload pipeline takes. - #67
Conversation
The formats were listed twice, once to route files to the pipeline and once to type the media frame's placeholder tiles, so adding a format (eg. JPEG XL) meant finding both. Both now read one list in media-upload-pipeline.js, exposed to media-frame-upload.js as `wp.mediaUploadPipeline.getImageSubtype()`, with a pointer to the upload-media constants it mirrors. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018vwYjTNtbdhcmnECA2bZxP
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. Core Committers: Use this line as a base for the props when committing in SVN: To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. Props Bot commandsYou can trigger Props Bot actions by commenting on this PR:
|
1654c43
into
fix/csm-classic-non-image-uploads
Follow up to the hard coding review comment on WordPress#15512 - targets that PR's branch so it can be merged in there.
Claude made the change, notes below:
AI Use
Code and description written with 🤖 Claude Code at my request. I will review and test.
🤖 Generated with Claude Code
https://claude.ai/code/session_018vwYjTNtbdhcmnECA2bZxP