Skip to content

Releases: codesnippetspro/code-snippets

Version 2.9.6 (14 Jan 2018)

10 Mar 04:55
Compare
Choose a tag to compare
  • Added Brazilian Portuguese translation by Bruno Borges
  • Fixed: Use standard WordPress capabilities instead of custom capabilities to prevent lockouts
  • Fixed: Multisite issue with retrieving active shared snippets from the wrong table causing duplicate snippet execution
  • Moved scope and other settings on single snippet page to below code area

Version 2.9.5 (13 Jan 2018)

10 Mar 04:53
Compare
Choose a tag to compare
  • Fixed: Undefined function error when accessing the database on multisite
  • Fixed: Ensured all admin headings are hierarchical for accessibility
  • Made the "Activate By Default" setting enabled by default for new installs
  • Updated CodeMirror to version 5.33

Version 2.9.4 (19 Sep 2017)

10 Mar 04:51
Compare
Choose a tag to compare
  • Fixed: Prevented PHP error from occurring when saving a snippet
  • Minor improvements to database creation function

Version 2.9.3 (11 Sep 2017)

10 Mar 04:51
Compare
Choose a tag to compare
  • Fixed: Prevent snippets from being executed twice when saving due to invalid ID being passed to allow_execute_snippet filter
  • Fixed: Re-enabled output suppression when executing snippets

Version 2.9.2 (8 Sep 2017)

10 Mar 04:49
Compare
Choose a tag to compare
  • Fixed: Do not attempt to combine queries for fetching local and multisite snippets

Version 2.9.1

10 Mar 04:48
Compare
Choose a tag to compare
  • Fixed: Prevent illegal mix of collations errors when fetching snippets from database tables with different collations [#]

Version 2.9.0

10 Mar 04:47
Compare
Choose a tag to compare
  • Fixed: Prevented invalid properties from being set when saving a snippet
  • Fixed: Use the correct protocol when saving a snippet
  • Improved: Moved code to disable snippet execution into a filter hook
  • Fixed: Active shared snippets not being updated correctly
  • Improved: execute_active_snippets() function updated with improved efficiency
  • Improved: Renamed Snippet class to avoid name collisions with other plugins
  • Improved: Don't hide output when executing a snippet

Version 2.8.6

18 May 10:58
Compare
Choose a tag to compare

Released on 14 May 2017

  • Ensured that get_snippets() function retrieves snippets with the correct 'network' setting. Fixes snippet edit links in network admin.
  • Fixed snippet description field alias not mapping correctly

Version 2.8.5

18 May 11:05
Compare
Choose a tag to compare

Released on 13 May 2017

  • Ensured HTML in snippet titles is escaped in snippets table
  • Added Indonesian translation by Jordan Silaen from ChameleonJohn.com
  • Disallowed undefined fields to be set on the Snippets class
  • Prevented shared network snippets from being included twice in snippets table on multisite
  • Added setting to hide network snippets on subsites

Version 2.8.4 (29 April 2017)

02 Sep 11:34
Compare
Choose a tag to compare
  • Fixed all snippets being treated as network snippets on non-multisite