Skip to content

Revert "hotfix/cp-10640-add-scheduled-push-option-in-wordpress-plugin"#14

Merged
iboruch merged 1 commit intomasterfrom
revert-13-hotfix/cp-10640-add-scheduled-push-option-in-wordpress-plugin
Apr 1, 2026
Merged

Revert "hotfix/cp-10640-add-scheduled-push-option-in-wordpress-plugin"#14
iboruch merged 1 commit intomasterfrom
revert-13-hotfix/cp-10640-add-scheduled-push-option-in-wordpress-plugin

Conversation

@iboruch
Copy link
Copy Markdown
Contributor

@iboruch iboruch commented Apr 1, 2026

Reverts #13


Summary by cubic

Reverts the scheduled push option in the WordPress plugin to restore the simpler send flow. Removes delay-based scheduling and “Send again,” and adds a 60s guard to avoid accidental duplicate sends.

  • Refactors

    • Removed delay dropdown and related meta; only an optional explicit scheduled date remains.
    • Removed “Send again” flow and persistent “notification sent” banner; checkbox always says “Send push notification.”
    • Simplified metabox messaging to show a sent notice only within 60 seconds.
    • Inlined send logic into publish_post and stopped saving cleverpush_notification_delay.
  • Bug Fixes

    • Added a 60-second throttle using cleverpush_notification_sent_at to prevent rapid duplicate sends.
    • Ensured inline-save and permission checks do not trigger sends.

Written for commit d327064. Summary will update on new commits.

@iboruch iboruch merged commit e08c219 into master Apr 1, 2026
1 of 2 checks passed
@iboruch iboruch deleted the revert-13-hotfix/cp-10640-add-scheduled-push-option-in-wordpress-plugin branch April 1, 2026 09: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.

1 participant