Skip to content

Instantly share code, notes, and snippets.

@pkboy
pkboy / oxygen-svg-fix-snippet.php
Last active June 27, 2023 12:25
Run Once Code Snippet to fix missing Oxygen SVG XML
// code snippets version of fix for bug reported here:
// https://github.com/soflyy/oxygen-bugs-and-features/issues/2820
// add this snippet to some code snippet plugin and run it once. If using
// Code Snippets, select "Only Run Once" then "Save and Activate".
// This should restore the XML that were erased or corrupted.
// Tested on a sandbox instance. Replicated bug on a sandbox instance.
// Started sandbox, Oxygen loads, saved options.php, Oxygen crashes.