-
Notifications
You must be signed in to change notification settings - Fork 40
Add STDIN support to wp media import #221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+156
−27
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
0d63e27
Initial plan
Copilot 9139445
Implement STDIN support for wp media import command
Copilot 09ecad9
Simplify STDIN file naming logic and update class documentation
Copilot 9ef4106
Add clarifying comment about WordPress slug sanitization in test
Copilot 560ac7a
Fix STDIN file type detection using mime_content_type
Copilot df75074
Merge branch 'main' into copilot/add-stdin-support-to-media-import
swissspidy e810eff
Merge branch 'main' into copilot/add-stdin-support-to-media-import
swissspidy 4ee2434
Fix test to use correct field name post_name instead of name
Copilot 5ca73d8
Fix STDIN imports to use generated filename for title instead of '-'
Copilot 18743cd
Update src/Media_Command.php
swissspidy 5675e4c
Update features/media-import.feature
swissspidy 256caa2
Fix double extension issue by stripping extension from file_name befo…
Copilot 36a77d8
Stream STDIN directly to temp file to avoid memory issues with large …
Copilot 9bc5229
Update test expectation for post_name after fixing double extension bug
Copilot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.