Skip to content

Rename ability changesets/stage-page to changesets/stage (v0.3.1) - #14

Merged
cursor[bot] merged 1 commit into
mainfrom
cursor/rename-stage-ability-0a09
Sep 6, 2026
Merged

Rename ability changesets/stage-page to changesets/stage (v0.3.1)#14
cursor[bot] merged 1 commit into
mainfrom
cursor/rename-stage-ability-0a09

Conversation

@richtabor

Copy link
Copy Markdown
Owner

Rename ability changesets/stage-pagechangesets/stage everywhere while keeping the same unified behavior and input schema.

Changes

  • Updated ability identifier in abilities/register.php
  • Updated all documentation: BUILD.md, TEST.md, readme.txt
  • Bumped version to 0.3.1 in changesets.php and readme.txt
  • Added changelog entry

Notes

  • Internal callback function names (cs_ability_stage_page) remain unchanged - they're PHP internals and don't affect the external API
  • No changes to behavior or input schema
Open in Web Open in Cursor 

Co-authored-by: Rich Tabor <rich@tabor.email>
Copilot AI lite review requested due to automatic review settings September 6, 2026 16:15
@cursor
cursor Bot merged commit 08c145d into main Sep 6, 2026
1 check passed
@cursor
cursor Bot deleted the cursor/rename-stage-ability-0a09 branch September 6, 2026 16:15

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

Documentation currently describes an ability (create-staged-page) that doesn’t appear to exist in the codebase and the rename is API-breaking without an explicit compatibility plan.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR renames the Abilities API identifier changesets/stage-page to changesets/stage across code and docs, and bumps the plugin version to 0.3.1 to reflect the change.

Changes:

  • Renamed the registered ability from changesets/stage-page to changesets/stage.
  • Updated documentation and test curl examples to use the new ability identifier.
  • Bumped plugin/readme version metadata and added a 0.3.1 changelog entry.
File summaries
File Description
abilities/register.php Renames the registered ability identifier to changesets/stage.
BUILD.md Updates the ability identifier in docs/examples.
TEST.md Updates curl examples to call the renamed ability.
readme.txt Bumps stable tag, updates ability list, and adds a 0.3.1 changelog entry.
changesets.php Bumps plugin header version and CS_VERSION constant.
Review details
  • Files reviewed: 5/5 changed files
  • Comments generated: 3
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread abilities/register.php
Comment on lines 172 to 174
wp_register_ability(
'changesets/stage-page',
'changesets/stage',
array(
Comment thread BUILD.md
Comment on lines +91 to +93
| `changesets/stage` | `{ changeset_id, source_post_id }` — clone page/post into changeset |
| `create-staged-page` | `{ changeset_id, title, content?, slug? }` — brand new page in changeset |
| `changesets/stage-page` | `{ staged_id, title?, content?, excerpt? }` |
| `changesets/stage` | `{ staged_id, title?, content?, excerpt? }` |
Comment thread abilities/register.php
'changesets/stage-page',
'changesets/stage',
array(
'label' => __( 'Stage page', 'changesets' ),
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.

3 participants