Skip to content

Releases: codesnippetspro/code-snippets

Version 2.0 (24 Feb 2015)

02 Sep 10:17
Compare
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
Compare
Choose a tag to compare
  • Add capability check to site snippets importer

Version 1.9.1 (2 Jan 2014)

02 Sep 10:05
Compare
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
Compare
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
Compare
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
Compare
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

Version 1.7.1.2 (3 May 2013)

02 Sep 10:00
Compare
Choose a tag to compare
  • Correct path to admin menu icon. Fixes #8

Version 1.7.1.1 (29 April 2013)

02 Sep 10:01
Compare
Choose a tag to compare
  • Fixed a bug with custom capabilities and admin menus

Version 1.7.1 (22 April 2013)

02 Sep 09:59
Compare
Choose a tag to compare
  • Fix a bug with snippet being set as deactivated when saved
  • Updated PHP Documentation completely. [View online]
  • Only load admin functions when viewing dashboard
  • Added German translation thanks to David Decker
  • Allow or deny site administrators access to snippet admin menus. Set your preference in the Enable Administration Menus setting under the Settings > Network Settings network admin menu.
  • Improve database table creation and upgrade process
  • Optimized to use less database queries

Version 1.7 (26 Mar 2013)

02 Sep 09:58
Compare
Choose a tag to compare
  • Improved plugin API
  • Fixed a bug with saving snippets per page option (#)
  • Updated CodeMirror to version 3.11
  • Allow plugin to be activated on individual sites on multisite (#)
  • Slimmed down the description visual editor
  • Added icon for the new MP6 admin UI (#)
  • Strip PHP tags from the beginning and end of a snippet on save (#)
  • Changed to MIT license
  • Removed HTML, CSS and JavaScript CodeMirror modes that were messing things up
  • Change label in admin menu when editing a snippet
  • Improved admin styling
  • Made everything leaner, faster, and better