Skip to content

Releases: codesnippetspro/code-snippets

Version 2.5.1 (11 Oct 2016)

02 Sep 11:25

Choose a tag to compare

  • Fixed: Ensure errors are fatal before catching them during error checking
  • Fixed: Escape the snippet name on the edit page to ensure it displays correctly
  • Fixed: Exclude snippets with named functions from error checking so they do not run twice

Version 2.5.0 (8 Oct 2015)

02 Sep 11:24

Choose a tag to compare

  • Added: Detect parse and fatal errors in code when saving a snippet, and display a user-friendly message
  • Fixed: Updated access of some methods in Code_Snippets_List_Table class to match updated WP_List_Table class

Version 2.4.2 (27 Sep 2015)

02 Sep 11:24

Choose a tag to compare

  • Added query variable to activate safe mode
  • Fixed settings not saving
  • Fixed snippet descriptions not displaying on manage menu
  • Added settings to disable description and tag editors
  • Fixed: Load CodeMirror after plugin styles to fix error with Zenburn theme
  • Fixed: Hide snippet scope icons when the scope selector is disabled
  • Fixed description heading on edt snippet menu being hidden when visual editor disabled
  • Updated editor preview updating code to use vanilla JavaScript instead of jQuery
  • Fixed: Deactivate a shared network snippet on all subsites when it looses its sharing status

Version 2.4.1 (17 Sep 2015)

02 Sep 11:23

Choose a tag to compare

  • Fixed CodeMirror themes not being detected on settings page [#]

Version 2.4.0 (17 Sep 2015)

02 Sep 11:14

Choose a tag to compare

  • Added ability to share network snippets to individual sites on WordPress multisite
  • Improved code directory and class structure
  • Remove legacy code for pre-3.6 compatibility
  • Improved code for printing admin messages
  • Updated German translation (Joerg Knoerchen)
  • Added code_snippets/after_execute_snippet filter
  • Added class for individual snippets
  • Updated get_snippets() function to retrieve individual snippets
  • Removed scope statuses and added fixed tags to indicate scope
  • Changed admin page headers to use <h1> tags instead of <h2> tags
  • Updated CodeMirror to version 5.6
  • Removed snippet settings page from network admin

Version 2.3.0 (20 May 2015)

02 Sep 11:13

Choose a tag to compare

  • Removed nested functions
  • Added icons for admin and front-end snippets to manage table
  • Improved settings retrieval by caching settings
  • Updated Russian translation by Alexey Chumakov
  • Added filter switch to prevent a snippet from executing (#25)
  • Fixed errors in string translation
  • Fixed bug in import process (#32)

Version 2.2.3 (13 May 2015)

02 Sep 11:12

Choose a tag to compare

  • Fixed broken call to export_snippet() function
  • Added support for importing and exporting snippet scope
  • Fixed duplicate primary key database error
  • Improved database table structure

Version 2.2.2 (11 May 2015)

02 Sep 11:12

Choose a tag to compare

  • Polyfilled array_replace_recursive() function for PHP 5.2
  • Updated references to old plugin site
  • Resolved JavaScript error on edit snippet pages
  • Made minor updates to French translation file
  • Added statuses for snippet scopes on manage snippets table

Version 2.2.1 (10 May 2015)

02 Sep 11:11

Choose a tag to compare

  • Fixed the default values of new setting not being applied
  • Fixed missing background of tags input

Version 2.2.0 (10 May 2015)

02 Sep 11:10

Choose a tag to compare

  • Introduced CodeSniffer testing on code
  • Fixed description heading disappearing when media buttons enabled
  • Added snippet scope selector
  • Minified all CSS and JS in plugin
  • Made CodeMirror theme names more readable
  • Fixed bug causing translations to not be loaded