Skip to content

Releases: codesnippetspro/code-snippets

Version 2.8.0 (14 Dec 2016)

02 Sep 11:30
Compare
Choose a tag to compare
  • Fixed Italian translation errors. Props to @arsenalemusica
  • Renamed 'Manage' admin menu label to 'All Snippets' to keep in line with other admin menu labels
  • Renamed placeholder on snippet name field to 'Enter title here'
  • Removed CodeMirror search functionality
  • Moved 'Edit Snippet' admin menu above 'Add New' menu
  • Made pressing Ctrl-Enter in the code editor save the snippet
  • Updated CodeMirror to version 5.21.0

Version 2.7.2 (1 Oct 2016)

02 Sep 11:30
Compare
Choose a tag to compare

Version 2.7.1 (30 Sep 2016)

02 Sep 11:29
Compare
Choose a tag to compare
  • Added Dutch translation by Sander Spies
  • Ensured that the editor theme setting is properly validated. Thanks to Netsparker for reporting.
  • Ensured that snippet tags are properly escaped. Thanks to Netsparker for reporting.
  • Updated CodeMirror to version 5.19.0

Version 2.7.0 (23 July 2016)

02 Sep 11:28
Compare
Choose a tag to compare
  • Fixed plugin translations being loaded
  • Increase default snippets per page so that all are usually shown
  • Fixed description field not being imported
  • Updated German translation by Mario Siegmann
  • Fixed issue with CodeMirror rubyblue theme [#]
  • Added query var to disable snippet execution. To use, add ?snippets-safe-mode=true to the URL
  • Fixed snippet fields not importing
  • Updated CodeMirror to version 5.17.0
  • Fixed a minor XSS vulnerability discovered by Burak Kelebek [#]

Version 2.6.1 (10 Feb 2016)

02 Sep 11:27
Compare
Choose a tag to compare
  • Updated German translation by Mario Siegmann
  • Fixed error catching not working correctly
  • Updated error catching to work with snippets including functions and classes
  • Fixed editor autoresizing

Version 2.6.0 (31 Dec 2015)

02 Sep 11:26
Compare
Choose a tag to compare
  • Reconfigured plugin to use classloader and converted a lot of functional code into OOP code
  • Updated CodeMirror to version 5.10.0
  • Added [code_snippets] shortcode for embedding snippet code in a post
  • Fixed broken snippet search feature [#]
  • Added front-end syntax highlighting for shortcode using PrismJS

Version 2.5.1 (11 Oct 2016)

02 Sep 11:25
Compare
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
Compare
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
Compare
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
Compare
Choose a tag to compare
  • Fixed CodeMirror themes not being detected on settings page [#]