Releases: codesnippetspro/code-snippets
Releases · codesnippetspro/code-snippets
Version 2.14.6 (13 May 2022)
- Fixed: Issue with processing uploaded import files.
- Fixed: Issue with processing tag filters.
Version 2.14.5 (10 May 2022)
- Fixed: Incompatibility issue with older versions of PHP.
Version 2.14.4
- Fixed: Prevent array key errors when loading the snippet table with unknown order values.
Version 2.14.3 (10 Dec 2021)
- Fixed: Potential security issue outputting snippets-safe-mode query variable value as-is. Thanks to Krzysztof Zając for reporting.
Version 2.14.2 (9 Sep 2021)
- Fixed: Prevent network snippets table from being created on single-site installs.
- Added translations:
- Spanish by Ibidem Group
- Urdu by Samuel Badree
- Greek by Toni Bishop from Jrop
- Added: Support for
:class
syntax to the code validator. - Added: PHP8 support to the code linter.
- Added: Color picker feature to the code editor.
- Added: Failsafe to prevent multiple versions of Code Snippets from running simultaneously.
Version 2.14.1 (10 Mar 2021)
- Added: Czech translation by Lukáš Tesař.
- Fixed: Code validator now supports
function_exists
andclass_exists
checks. - Fixed: Code validator now supports anonymous functions.
- Fixed: Issue with saving the hidden columns setting.
- Fixed: Replaced the outdated tag-it library with tagger for powering the snippet tags editor.
- Added: Code direction setting for RTL users.
- Updated CodeMirror to version 5.59.4.
- Added: Additional action hooks and search API thanks to @Spreeuw.
Version 2.14.0 (26 Jan 2020)
- Updated CodeMirror to version 5.50.2.
- Added: Basic error checking for duplicate functions and classes.
- Updated Italian translations to fix display issues – thanks to Francesco Marino.
- Fixed: Ordering snippets in the table by name will now be case-insensitive.
- Added: Additional API options for retrieving snippets.
- Fixed: Code editor will now properly highlight embedded HTML, CSS and JavaScript code.
- Changed the indicator color for inactive snippets from red to grey.
- Fixed a bug preventing the editor theme from being set to default.
- Added: Store the time and date when each snippet was last modified.
- Added: Basic error checking when activating snippets.
- Fixed: Ensure that imported snippets are always inactive.
- Fixed: Check the referrer on the import menu to prevent CSRF attacks. Thanks to Chloe with the Wordfence Threat Intelligence team for reporting.
- Fixed: Ensure that individual snippet action links use proper verification.
Version 2.13.3 (13 Mar 2019)
- Added: Hover effect to activation switches.
- Added: Additional save buttons above snippet editor.
- Added: List save keyboard shortcuts to the help tooltip.
- Added: Change "no items found" message when search filters match nothing.
- Fixed: Calling deprecated code in database upgrade process.
- Fixed: Include snippet priority in export files.
- Fixed: Use Unix newlines in code export file.
- Updated CodeMirror to version 5.44.0.
- Fixed: Correctly register snippet tables with WordPress to prevent database repair errors [#]
- Fixed: CodeMirror indentation settings being applied incorrectly
Version 2.13.2 (25 Jan 2019)
- Removed potentially problematic cursor position saving feature
Version 2.13.1 (22 Jan 2019)
- Added: Add menu buttons to settings page for compact menu
- Updated: French translation updated thanks to momo-fr
- Fixed: Split code editor and tag editor scripts into their own files to prevent dependency errors
- Fixed: Handling of single-use shared network snippets
- Fixed: Minor translation template issues
- Added: Help tooltip to snippet editor for keyboard shortcuts, thanks to Michael DeWitt
- Improved: Added button for executing single-use snippets to snippets table
- Added: Sample snippet for ordering snippets table by name by default
- Updated CodeMirror to version 5.43.0