Skip to content

Releases: codesnippetspro/code-snippets

Version 2.13.0 (17 Dec 2018)

10 Mar 04:59
Compare
Choose a tag to compare
  • 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)

10 Mar 04:59
Compare
Choose a tag to compare
  • 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)

10 Mar 04:58
Compare
Choose a tag to compare
  • 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)

10 Mar 04:57
Compare
Choose a tag to compare
  • 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)

10 Mar 04:56
Compare
Choose a tag to compare
  • 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)

10 Mar 04:55
Compare
Choose a tag to compare
  • 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)

10 Mar 04:55
Compare
Choose a tag to compare
  • 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

Version 2.9.6 (14 Jan 2018)

10 Mar 04:55
Compare
Choose a tag to compare
  • Added Brazilian Portuguese translation by Bruno Borges
  • Fixed: Use standard WordPress capabilities instead of custom capabilities to prevent lockouts
  • Fixed: Multisite issue with retrieving active shared snippets from the wrong table causing duplicate snippet execution
  • Moved scope and other settings on single snippet page to below code area

Version 2.9.5 (13 Jan 2018)

10 Mar 04:53
Compare
Choose a tag to compare
  • Fixed: Undefined function error when accessing the database on multisite
  • Fixed: Ensured all admin headings are hierarchical for accessibility
  • Made the "Activate By Default" setting enabled by default for new installs
  • Updated CodeMirror to version 5.33

Version 2.9.4 (19 Sep 2017)

10 Mar 04:51
Compare
Choose a tag to compare
  • Fixed: Prevented PHP error from occurring when saving a snippet
  • Minor improvements to database creation function