Skip to content

Version 2.0 (24 Feb 2015)

Compare
Choose a tag to compare
@sheabunge sheabunge released this 02 Sep 10:17

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