Skip to content

Add update-check ability - #42

Merged
pluginslab merged 1 commit into
devfrom
feature/update-check
Mar 20, 2026
Merged

pluginslab merged 1 commit into
devfrom
feature/update-check

Conversation

@ivdimova

Copy link
Copy Markdown
Collaborator

Summary

Changes

  • includes/abilities/update-check.php — PHP backend using get_core_updates(), get_plugin_updates(), get_theme_updates()
  • src/extensions/abilities/update-check.js — JS frontend with summarize, interpretResult, execute
  • includes/class-abilities.php — Register update-check in core abilities
  • src/extensions/abilities/index.js — Import, re-export, and call registration
  • tests/abilities/core-abilities.test.js — 2 test cases for update-related queries

Testing

  • Unit tests pass (npm test) — 43/43
  • Ability tests pass (npm run test:abilities)
  • JS lint clean
  • PHP lint clean — pre-existing PHPCS config issue
  • Manually tested in browser

🤖 Generated with Claude Code

Check for available WordPress core, plugin, and theme updates.
Read-only ability with update_core permission check.

Co-Authored-By: Claude Opus 4.6 <[email protected]>

@pluginslab pluginslab left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test Results

Merged all 4 open PRs locally and ran full ability test suite — 29/29 passed (100%) in 63s. All conflicts resolved. LGTM!

@pluginslab
pluginslab merged commit c5d6f62 into dev Mar 20, 2026
@pluginslab
pluginslab deleted the feature/update-check branch May 27, 2026 23:04
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.

2 participants