Skip to content

Add uninstall.php to clean up options on deletion#24

Merged
ilicfilip merged 2 commits into
mainfrom
filip/add-uninstall
Mar 6, 2026
Merged

Add uninstall.php to clean up options on deletion#24
ilicfilip merged 2 commits into
mainfrom
filip/add-uninstall

Conversation

@ilicfilip

Copy link
Copy Markdown
Contributor

Summary

  • Adds uninstall.php that deletes the brand_assets_options option when the plugin is uninstalled
  • Aligns with WordPress.org plugin guidelines for proper cleanup on uninstall

Test plan

  • Install and configure the plugin (set some brand colors/options)
  • Verify brand_assets_options exists in wp_options
  • Delete the plugin via WP admin
  • Confirm brand_assets_options is removed from wp_options

🤖 Generated with Claude Code

Removes the `brand_assets_options` option from the database when the
plugin is uninstalled, aligning with WordPress.org plugin guidelines.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Mar 4, 2026

Copy link
Copy Markdown
Contributor

Test on Playground
Test this pull request on the Playground
or download the zip

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ilicfilip ilicfilip marked this pull request as ready for review March 6, 2026 13:50

@tacoverdo tacoverdo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@ilicfilip ilicfilip merged commit 8ebcdcc into main Mar 6, 2026
4 checks passed
@ilicfilip ilicfilip deleted the filip/add-uninstall branch March 6, 2026 15:03
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