Skip to content

fix: PixelYourSite's scheduled hooks are its own - #35

Merged
oxyc merged 1 commit into
mainfrom
fix/pixelyoursite-hooks
Dec 2, 2026
Merged

oxyc merged 1 commit into
mainfrom
fix/pixelyoursite-hooks

Conversation

@oxyc

@oxyc oxyc commented Dec 2, 2026

Copy link
Copy Markdown
Member

PixelYourSite schedules pys_* hooks (pys_purchase_report_refresh, pys_purchase_report_summary), so each new one showed up as an unknown scheduled hook to review.

Adds pixelyoursite and pixelyoursite-pro to pluginsOwn with the pys_ hook prefix: while either is active, those hooks are counted as the plugin's own; once it's gone they're flagged as before.

TestPluginOwnedCron gains a PixelYourSite case. go test ./..., gofmt and vet pass.

🤖 Generated with Claude Code

PixelYourSite schedules pys_* hooks (purchase reports and the like), so a
new one was flagged as an unknown scheduled hook. Its pys_ prefix now
counts as the plugin's own while PixelYourSite (or Pro) is active, and is
flagged as before once it's gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@oxyc
oxyc merged commit 531da2c into main Dec 2, 2026
2 checks passed
@oxyc
oxyc deleted the fix/pixelyoursite-hooks branch December 2, 2026 13:39
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