Repository navigation
fix: key WP All Import's feed copies on the site, not the files - #33
Merged
Merged
Conversation
A URL import downloads its feed to a new random folder under wpallimport/uploads on every run, so the plugin-folder flag's id changed with each import and no accept held. While WP All Import is active, the downloaded copies (named by unix time) are one review flag per site, keyed on its wpallimport/uploads alone. Uploaded import files keep their own names and are judged as before, and so are copies once the plugin is gone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
A WP All Import URL import downloads its feed to a new random folder under
wpallimport/uploads/on every run (<32 hex>/<unix time>.xml, plus a.tmppair while converting). The plugin-folder flag's id covered every file in the folder, so it changed after each import and an accept never held.While WP All Import (or Pro) is active on that site, those downloaded copies are now one review flag per site, keyed on its
wpallimport/uploadsalone (same approach as the Gravity Forms logs in #31). The message asks to check each URL import reads public data, like a job or product feed.Unchanged:
contacts.csv), so they don't match and stay urgent when served;Tests:
TestExposedWPAllImportFeedCopiescovers the review flag, an uploaded file next to it staying urgent, a subsite without the plugin staying urgent, and the id holding after the next run's new file and folder.go test ./..., gofmt and vet pass.🤖 Generated with Claude Code