Releases: codesnippetspro/code-snippets
Releases · codesnippetspro/code-snippets
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
Version 2.13.0 (17 Dec 2018)
- Added: Search/replace functionality to the snippet editor. See here for a list of keyboard shortcuts. [#]
- Updated CodeMirror to version 5.42.0
- Added: Option to make admin menu more compact
- Fixed: Problem clearing recently active snippet list
- Improved: Integration between plugin and the CodeMirror library, to prevent collisions
- Improved: Added additional styles to editor settings preview
- Added: PHP linter to code editor
- Improved: Use external scripts instead of inline scripts
- Fixed: Missing functionality for 'Auto Close Brackets' and 'Highlight Selection Matches' settings
Version 2.12.1 (15 Nov 2018)
- Improved: CodeMirror updated to version 5.41.0
- Improved: Attempt to create database columns that might be missing after a table upgrade
- Improved: Streamlined upgrade process
- Fixed: Interface layout on sites using right-to-left languages
- Improved: Made search box appear at top of page on mobile [#]
- Updated screenshots
Version 2.12.0 (23 Sep 2018)
- Removed option for including network-wide snippets in subsite lists on multisite
- Fixed: Prevented hidden columns setting from reverting to default
- Improved: Updated import page to improve usability
- Improved: Added Import button next to page title on manage page
- Improved: Added coloured banner indicating whether a snippet is active when editing
- Update CodeMirror to 5.40.0
Version 2.11.0 (24 Jul 2018)
- Added: Ability to assign a priority to snippets, to determine the order in which they are executed
- Improvement: The editor cursor position will be preserved when saving a snippet
- Added: Pressing Ctrl/Cmd + S while writing a snippet will save it
- Added: Shadow opening PHP tag above the code editor
- Improved: Updated the message shown when there are no snippets
- Added: Install sample snippets when the plugin is installed
- Improved: Show all available tags when selecting the tag field
- Added: Filter hook for controlling the default list table view
- Added: Action for cloning snippets
Version 2.10.2 (21 Jul 2018)
- Added: Button to reset settings to their default values
- Improved: Made uninstall cleanup optional through a plugin setting
- Fixed: Applied formatting filters to snippet descriptions in the table
- Improved: Ordered tags by name in the filter dropdown menu
- Fixed: Incorrectly translated strings
- Added: Belarusian translation by Hrank.com
- Improved: Enabled sorting snippets table by tags
- Updated CodeMirror to version 5.39.0
Version 2.10.1 (10 Feb 2018)
- Fixed: Prevent errors when trying to export no snippets
- Fixed: Use wp_json_encode() to encode export data
- Fixed: Check both the file extension and MIME type of uploaded import files