Skip to content

Keep empty e-reader picker submissions on the list - #44

Merged
akirk merged 2 commits into
mainfrom
fix/empty-ereader-picker-submission
Sep 17, 2026
Merged

akirk merged 2 commits into
mainfrom
fix/empty-ereader-picker-submission

Conversation

@akirk

@akirk akirk commented Sep 17, 2026 •

Copy link
Copy Markdown
Owner

Submit the e-reader picker with POST so its password-bearing ?epub<password>=list URL remains in place. Selected article IDs are read from POST; submitting no selection stays on the picker instead of reaching the login page. When JavaScript is available, the Download buttons are disabled until an article is selected and empty submissions are blocked. Direct GET URLs containing an array of article IDs are no longer accepted.

Tests:

  • vendor/bin/phpunit (61 tests)
  • node --check plain-list.js
  • git diff --check

WordPress Playground

Test this PR in WordPress Playground: Try this PR · Try with demo data

@github-actions

Copy link
Copy Markdown

✅ WordPress Plugin Check Report

✅ Status: Passed

📊 Report

All checks passed! No errors or warnings found.


🤖 Generated by WordPress Plugin Check Action • Learn more about Plugin Check

@akirk
akirk merged commit 471b53c into main Sep 17, 2026
6 checks passed
@akirk
akirk deleted the fix/empty-ereader-picker-submission branch September 17, 2026 13:05
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.

1 participant