Skip to content

v4.3.0: Sitemap toggle fix (#20) + GitHub auto-updates#21

Merged
JonImmsWordpressDev merged 1 commit into
mainfrom
claude/ecstatic-yonath-d1f0ed
May 7, 2026
Merged

v4.3.0: Sitemap toggle fix (#20) + GitHub auto-updates#21
JonImmsWordpressDev merged 1 commit into
mainfrom
claude/ecstatic-yonath-d1f0ed

Conversation

@JonImmsWordpressDev
Copy link
Copy Markdown
Owner

@JonImmsWordpressDev JonImmsWordpressDev commented May 7, 2026

Summary

  • Fix #20: sitemap Disable/Enable toggle UI was stuck because the JS read is_excluded instead of excluded. Backend exclusion was already honored.
  • New: GitHub-based auto-updates. New SWPS_GitHub_Updater class hooks into pre_set_site_transient_update_plugins and plugins_api. When a release is published to the GitHub repo, all installs see "Update available" on the Plugins screen and can one-click update from the standard WordPress UI. Cached in a 12h transient to respect GitHub's rate limits.
  • Bumps version to 4.3.0 + changelog entry

Test plan

  • Sitemap fix: Visit SEO → Sitemaps, click Disable → row dims and label flips to Enable
  • Updater: After this release tag is published, install an older version on a test site and confirm "Update available" appears within 12h (or after clicking "Check again")
  • Click the update button and confirm it installs cleanly from the GitHub release asset
  • "View details" popup shows release notes

🤖 Generated with claude-flow

JS read `sitemap.is_excluded` but the AJAX endpoint returns `excluded`,
so the button label and row state never updated after toggling. Backend
exclusion was already honored — only the UI was stuck.

Co-Authored-By: claude-flow <ruv@ruv.net>
@JonImmsWordpressDev JonImmsWordpressDev merged commit a83956b into main May 7, 2026
@JonImmsWordpressDev JonImmsWordpressDev changed the title v4.2.3: Fix sitemap Disable/Enable toggle UI (#20) v4.3.0: Sitemap toggle fix (#20) + GitHub auto-updates May 7, 2026
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.

Unable to disable certain site map types

1 participant