# Changelog ## 1.7 _(2019-04-09)_ ### Highlights: * This release adds a recovery mode to disable output of JavaScript via the plugin (and an admin notice when it is active), replace code input fields with code editor (with syntax highlight, syntax checking, code completion, and more), improves documentation, updates the plugin framework, notes compatibility through WP 5.1+, drops compatibility with versions of WP older than 4.7, and more documentation and code improvements. ### Details: * New: Add syntax highlighting to JavaScript input fields * Adds code highlighting, syntax checking, and other features * New: Add recovery mode to be able to disable output of JavaScript via the plugin * Add support for `c2c-no-js` query parameter for enabling recovery mode * Add support for `C2C_ADD_ADMIN_JAVASCRIPT_DISABLED` constant for enabling recovery mode * Display admin notice when recovery mode is active * Add `can_show_js()`, `remove_query_param_from_redirects()`, `recovery_mode_notice()` * Change: Initialize plugin on `plugins_loaded` action instead of on load * Change: Update plugin framework to 049 * 049: * Correct last arg in call to `add_settings_field()` to be an array * Wrap help text for settings in `label` instead of `p` * Only use `label` for help text for checkboxes, otherwise use `p` * Ensure a `textarea` displays as a block to prevent orphaning of subsequent help text * Note compatibility through WP 5.1+ * Update copyright date (2019) * 048: * When resetting options, delete the option rather than setting it with default values * Prevent double "Settings reset" admin notice upon settings reset * 047: * Don't save default setting values to database on install * Change "Cheatin', huh?" error messages to "Something went wrong.", consistent with WP core * Note compatibility through WP 4.9+ * Drop compatibility with version of WP older than 4.7 * Change: Remove unnecessary `type='text/javascript'` attribute from `