a8cteam51 / safety-net

Scrub options, deactivate denylisted plugins, and delete user data on development sites.
17 stars 1 forks source link

Update options directly to prevent unexpected behaviors triggering #127

Closed GeoJunkie closed 1 month ago

GeoJunkie commented 1 month ago

Fixes #93

Writes options to the database using $wpdb->update to prevent unexpected actions being triggered from running update_option(). (Like sending an email to admins when the admin_email option is updated.