Skip to content

Releases: codesnippetspro/code-snippets

Version 2.1.0 (09 May 2015)

02 Sep 11:04

Choose a tag to compare

  • Added additional setting descriptions
  • Added settings for code and description editor height
  • Updated CodeMirror to version 5.2
  • Fixed not escaping the request URL when using query arg functions
  • Improved efficiency of settings component

Version 2.0.3 (17 Mar 2015)

02 Sep 11:00

Choose a tag to compare

Version 2.0.2 (05 Mar 2015)

02 Sep 10:19

Choose a tag to compare

  • Fix error in table creation code
  • Remove settings database option when plugin is uninstalled

Version 2.0.1 (25 Feb 2015)

02 Sep 10:18

Choose a tag to compare

  • Fixed table creation code not running on upgrade
  • Fixed snippets per page option not saving

Version 2.0 (24 Feb 2015)

02 Sep 10:17

Choose a tag to compare

Highlights

  • Better import/export functionality
  • New settings page with code editor settings
  • Code rewritten for cleaner and more efficient code
  • Lots of new translations

Added

  • Added link to Code Snippets importer under Snippets admin menu
  • Added settings component and admin page
  • Added support for different CodeMirror themes
  • Integrated tags component into main plugin. Current users of the Code Snippets Tags plugin can safely uninstall it.
  • Added Auto Close Brackets CodeMirror addon (props to TronicLabs)
  • Added Croatian translation by Borisa Djuraskovic from Web Hosting Hub
  • Added Highlight Selection Matches CodeMirror addon (props to TronicLabs)
  • Added Chinese translation thanks to Jincheng Shan
  • Added Russian translation by Alexander Samsonov
  • Added Slovak translation by [Ján Fajčák] from WordPress Slovakia
  • Added setting to always save and activate snippets by default

Changed

  • Added braces to single-line conditionals in line with new coding standards
  • Split up large classes into separate functions
  • Improved plugin file structure
  • Replaced uninstall hook with single file method
  • Updated CodeMirror library to version 5.0
  • Rewritten import/export functionality to use DOMDocument
  • Merged Code_Snippets_Export_PHP class into Code_Snippets_Export class

Deprecated

  • Removed old admin style support
  • Removed backwards-compatible support

Fixed

  • Fixed incompatibility errors with PHP 5.2
  • Fixed empty MO translation files
  • Removed duplicate MySQL primary key indexing

Version 1.9.1.1 (3 Jan 2014)

02 Sep 10:06

Choose a tag to compare

  • Add capability check to site snippets importer

Version 1.9.1 (2 Jan 2014)

02 Sep 10:05

Choose a tag to compare

  • Use an icon font for menu icon instead of embedded SVG
  • Use Sass (libsass) instead of Compass
  • Unminify CodeMirror scripts
  • Fixes for the WP 3.8 interface
  • Fix 'enable snippets menu for site admins' multisite setting

Version 1.9 (11 Nov 2013)

02 Sep 10:04

Choose a tag to compare

  • Add and remove network capabilities as super admins are added and removed
  • Updated MP6 icon implementation
  • Replaced buggy trim <?php and ?> functionality with a much more reliable regex method (#)
  • Added French translation thanks to translator oWEB
  • Fixed snippet failing to save when code contains % character, props to nikan06 (#)
  • Added 'Save & Deactivate' button to the edit snippet page (#)
  • Removed edit and install capabilities (now only uses the manage capability)
  • Fixed HTML breaking in export files (#)
  • Make the title of each snippet on the manage page a clickable link to edit the snippet (#)
  • Added nonce to edit snippet page
  • Hide row actions on manage snippet page by default
  • Removed screenshots from plugin
  • Improved CodeMirror implementation
  • Added a fallback MP6 icon
  • Use the proper WordPress database APIs all of the time
  • Rewritten export functionality
  • Fixed incorrect export filename
  • Updated CodeMirror to version 3.19
  • Removed CodeMirror bundled with plugin
  • Updated WordPress.org plugin banner
  • Fixed CodeMirror incompatibility with the WP Editor plugin
  • Fixed CodeMirror incompatibility with the Debug Bar Console plugin

Version 1.8.1 (29 July 2013)

02 Sep 10:03

Choose a tag to compare

  • Compiled all CodeMirror scripts into a single file
  • Use Sass + Compass for CSS
  • Use Grunt for build automation
  • Minify CSS
  • Fixed code typo that was breaking export files
  • Updated CodeMirror to 3.15

Version 1.8 (9 July 2013)

02 Sep 10:01

Choose a tag to compare

  • Allow no snippet name or code to be set
  • Prevented an error on fresh multisite installations
  • Refactored code to use best practices
  • Improved database table creation method: on a single-site install, the snippets table will always be created. On a multisite install, the network snippets table will always be created; the site-specific table will always be created for the main site; for sub-sites the snippets table will only be created on a visit to a snippets admin page.
  • Updated to CodeMirror 3.14
  • Changes to filter and action hook API
  • Added error message handling for import snippets page
  • Don't encode HTML entities in database