Releases: codesnippetspro/code-snippets
Releases · codesnippetspro/code-snippets
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
Version 2.10.0 (18 Jan 2018)
- Improved: Added support for importing from multiple export files at once
- Improved: Unbold the titles of inactive snippets for greater visual distinction
- Added: New scope for single-use snippets
- Improved: Don't show network snippets on subsites by default, and only to super admins
- Improved: Export snippets to JSON instead of XML
- Improved: More options for importing duplicate snippets
- Improved: Use strings for representing scopes internally instead of numbers
- Added: Allowed plugin settings to be unified on multisite through Network Settings option
- Fixed: Issue with incorrectly treating network snippets as site-wide for code validation
- Improved: Rename 'Export to PHP' to 'Download', and add button to edit snippet page