a8cteam51 / safety-net

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

Update options directly to prevent unexpected behaviors triggering #127

Closed GeoJunkie closed 3 months ago

GeoJunkie commented 3 months 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.