Diff: STRATO-apps/wordpress_03/app/wp-content/plugins/code-snippets/CHANGELOG.md

Keine Baseline-Datei – Diff nur gegen leer.
Zur Liste
1 -
1 + # Changelog
2 +
3 + ## [3.9.4] (2026-01-14)
4 +
5 + ### Added
6 + * New import functionality to migrate snippets from file uploads with drag-and-drop interface
7 + * Support for importing snippets from other popular plugins (Header Footer Code Manager, Insert Headers and Footers, Insert PHP Code Snippet)
8 + * Enhanced file based execution support with improved multisite mode compatibility
9 +
10 + ### Changed
11 + * Updated links to more recent documentation pages
12 +
13 + ### Fixed
14 + * Fixed multisite capability checks in Plugin class
15 + * Fixed snippet execution logic for multisite support by centralizing trashed snippet handling
16 + * Fixed multisite snippet handling to ensure local snippets use correct table and filter out trashed snippets
17 +
18 + ## [3.9.3] (2025-12-03)
19 +
20 + ### Added
21 + * end-to-end tests to verify the toggle visual state in the snippets list page, improving UI verification and test reliability
22 +
23 + ### Fixed
24 + * Fix missing import of common/direction in src/css/manage.scss to restore correct styling and direction-aware layout
25 + * Fix toggle activation check to ensure the correct transformation value is used when detecting active/inactive state
26 +
27 + ## [3.9.2] (2025-11-17)
28 +
29 + ### Changed
30 + * Introduced a custom scissors icon and updated button title for the TinyMCE extension.
31 + * Improved back-navigation styling on the edit page.
32 + * Refined layout for column names and action buttons in the Cloud Snippets list.
33 + * Enhanced overall styling of cloud-related UI components.
34 + * Optimized cloud search with more efficient pagination and snippet retrieval.
35 + * Introduced groundwork to prevent Composer dependency collisions with other plugins.
36 +
37 + ### Fixed
38 + * Improved sanitization and normalization across Cloud API and pagination outputs.
39 + * Resolved various TinyMCE issues reported in the WordPress support forum.
40 +
41 + ## [3.9.1] (2025-11-14)
42 +
43 + ### Changed
44 + * Migrated to native CSS direction handling (RTL/LTR) for improved compatibility and simpler styling
45 + * Updated dependencies to the latest compatible versions
46 +
47 + ### Fixed
48 + * Fixed TinyMCE menu button registration to prevent initialization failure
49 + * Fixed the position of the 'code direction' control in the editor
50 +
51 + ## [3.9.0] (2025-11-13)
52 +
53 + ### Added
54 + * Added contextual notices in the Snippets list table to surface action results and warnings in the UI
55 + * Expanded Multisite Sharing settings for clearer control over network-wide snippet sharing
56 +
57 + ### Changed
58 + * Modernized browser support targets and polished admin UI (clearer row-action badges, improved Pro badge hover, refined active snippet name styling)
59 +
60 + ### Fixed
61 + * Fixed REST API pagination to return correct results and page counts
62 + * Resolved styling selector so the active snippet name highlights reliably
63 +
64 + ## [3.9.0-beta.2] (2025-11-10)
65 +
66 + ### Added
67 + * Added 'Snippets' row action to the Network Sites table
68 + * Improved snippet name visibility for network users
69 +
70 + ### Changed
71 + * Refined badge styling and hover effects for row actions and badges
72 + * Impoved icon style and color usage for network snippets for clearer differentiation
73 +
74 + ### Fixed
75 + * Improved network snippets management with better subsite menu permission checks
76 + * Fixed status labels for shared network snippets
77 + * Corrected network condition checks and improved snippet fetching logic
78 + * Handled fatal errors in file-based snippets to prevent crashes
79 +
80 + ## [3.9.0-beta.1] (2025-11-03)
81 +
82 + ### Added
83 + * Soft delete (Trash) functionality for snippets with ability to undo, restore or permanently delete.
84 + * Bulk actions for trashing, restoring, and permanently deleting multiple snippets.
85 + * Separate filtered view to manage trashed snippets.
86 +
87 + ## [3.8.2] (2025-10-31)
88 +
89 + ### Fixed
90 + * Improved namespaced PHP snippet handling with file based execution.
91 +
92 + ## [3.8.1] (2025-10-28)
93 +
94 + ### Added
95 + * Code line explanation widget with apply and remove actions for AI-generated comments. (PRO)
96 +
97 + ### Changed
98 + * Improved pagination handling and display structure for cloud search results. (PRO)
99 + * Enhanced styling for codevault rows and inactive tabs in cloud interface. (PRO)
100 +
101 + ### Removed
102 + * Removed `guzzlehttp/guzzle` dependency to reduce package conflicts. (PRO)
103 +
104 + ### Fixed
105 + * Improved file-based snippet handling for multisite installations.
106 +
107 + ## [3.8.0] (2025-10-24)
108 +
109 + ### Added
110 + * @CarolinaOP and @louiswol94 join the team as plugin contributors.
111 + * File-based execution mode for snippets (optional in plugin settings).
112 + * Version switch option for easily rolling back the plugin to an earlier release.
113 +
114 + ### Changed
115 + * Prefixed Composer packages to reduce collisions with other plugins.
116 + * Snippets REST API now supports pagination via page and per_page query parameters.
117 + * Improved editor preview behavior.
118 + * Minor UI improvements to the editor and sidebar.
119 +
120 + ### Fixed
121 + * Issues with snippet evaluation and front-end initialization in edge cases.
122 + * Improved reliability of snippet evaluation.
123 + * JavaScript and CSS snippets loading twice due to a conditions bug. (PRO)
124 + * Issue where some conditions didn’t work due to loading before the loop. (PRO)
125 +
126 + ## [3.7.1-beta.3] (2025-10-22)
127 +
128 + ### Added
129 + * Snippets REST API now supports pagination via page and per_page query parameters.
130 +
131 + ## [3.7.1-beta.2] (2025-10-22)
132 +
133 + ### Added
134 + * Implemented version switching with a new 'Version Switch' section in Settings
135 +
136 + ## [3.7.1-beta.1] (2025-10-16)
137 +
138 + ### Added
139 + * Added @CarolinaOP and @louiswol94 as plugin contributors
140 + * File-based execution mode for snippets (Optional in Plugin Settings)
141 +
142 + ### Changed
143 + * Minor UI/UX tweaks to the editor form and sidebar
144 + * Improved editor preview behavior.
145 +
146 + ### Fixed
147 + * Improved reliability of snippet evaluation and front-end integration.
148 + * Prefixed Composer packages to reduce collisions with other plugins, especially those using Guzzle.
149 + * Functions conditions were loading before loop setup, resulting in some conditions not working. (PRO)
150 + * JavaScript and CSS snippets loading twice due to a conditions bug. (PRO)
151 +
152 + ### Removed
153 + * Removed CSS linting within the editor until a modern replacement can be implemented.
154 +
155 + ## [3.7.0] (2025-08-29)
156 +
157 + ### Added
158 + * New 'conditions' feature: control where and when snippets execute with a powerful logic builder. (PRO)
159 +
160 + ### Changed
161 + * Redesigned edit menu with refreshed look and functionality.
162 + * Updated snippet type badges to be more visually distinct.
163 + * Redesigned tooltips used throughout the plugin.
164 + * Moved content snippet shortcode options into separate modal window.
165 + * Updated snippet tag editor to use built-in WordPress tag editor.
166 + * Created proper form for sharing beta feedback.
167 + * Improved UX of snippet activation toggle.
168 +
169 + ### Fixed
170 + * Fetching active snippets on a multisite network now respects the 'priority' field above all else when ordering snippets.
171 + * Cloud search appears correctly and allows downloading snippets in the free version of Code Snippets.
172 + * Improved performance of loading admin menu icon.
173 +
174 + ## [3.6.9] (2025-02-17)
175 +
176 + ### Changed
177 + * Updated `Cloud_API::get_bundles()` to properly check bundle data and return an empty array if no valid bundles are present.
178 + * Refactored `Cloud_List_Table::fetch_snippets()` to always return a valid `Cloud_Snippets` instance.
179 + * Cleaned up bundle iteration code and improved translation handling in the bundles view.
180 +
181 + ### Fixed
182 + * Fixed errors in bundle iteration by adding a check for the bundles array before iterating.
183 +
184 + ## [3.6.8] (2025-02-14)
185 +
186 + ### Added
187 + * `code_snippets/hide_welcome_banner` filter hook for hiding welcome banner in dashboard.
188 +
189 + ### Changed
190 + * Updated Freemius SDK to the latest version. (PRO)
191 +
192 + ### Removed
193 + * Functionality allowing `[code_snippet]` shortcodes to be embedded recursively – it will be re-added in a future version.
194 +
195 + ### Fixed
196 + * Shortcodes embedded within `[code_snippet]` shortcodes not evaluating correctly.
197 + * Translation functions being called too early in some instances when loading plugin settings.
198 + * 'Generate' button not appearing on some sites. (PRO)
199 + * Incorrect arrow entity used in cloud list table (props to [brandonjp]).
200 + * Removed reference to missing plugins.css file in core plugin version.
201 +
202 + ## [3.6.7] (2025-01-24)
203 +
204 + ### Added
205 + * Generated snippet shortcode tags will include the snippet name, for easier identification.
206 + * Admin notices will dismiss automatically after five seconds. ([#208](https://github.com/codesnippetspro/code-snippets/issues/208))
207 +
208 + ### Changed
209 + * Updated CSS to use latest Sass features.
210 + * Moved theme selector to just above editor preview on settings page (thanks to [brandonjp]). ([#206](https://github.com/codesnippetspro/code-snippets/issues/206))
211 + * `[code_snippet]` shortcodes can now be nested within each other. ([#198](https://github.com/codesnippetspro/code-snippets/issues/198))
212 +
213 + ### Fixed
214 + * Save buttons above editor did not follow usual validation process in Pro. (PRO) ([#197](https://github.com/codesnippetspro/code-snippets/issues/197))
215 + * Minor inconsistencies in consistent UI elements between Core and Pro.
216 + * Tags input not allowing input. ([#211](https://github.com/codesnippetspro/code-snippets/issues/211))
217 + * Issue with Elementor source code widget. (PRO) ([#205](https://github.com/codesnippetspro/code-snippets/issues/205))
218 + * Snippet descriptions not visible when viewing cloud search results.
219 + * Snippet import page not displaying number of successfully imported snippets.
220 + * Use UTC time when deciding when to display campaign notices.
221 +
222 + ## [3.6.6.1] (2024-11-27)
223 +
224 + ### Fixed
225 + * Redeployment of [v3.6.6](#366-2024-11-27) to overcome issue with initial build.
226 + * Type issue when caching cloud links. (PRO)
227 +
228 + ## [3.6.6] (2024-11-27)
229 +
230 + ### Changed
231 + * Improved compatability with modern versions of PHP.
232 + * Extended welcome API to include admin notices.
233 + * Action hook `code_snippets/update_snippet` now only includes the snippet ID instead of the full snippet object.
234 + * Action hook `code_snippets/admin/manage` now includes the currently viewed type.
235 +
236 + ### Fixed
237 + * Memory issue from checking aggregate posts while loading front-end syntax highlighter.
238 + * Translation functions being called too early on upgrade, resulting in localisation loading errors.
239 + * Bug preventing the 'share on network' status of network snippets from correctly updating.
240 + * Incorrect logic controlling when to display 'Save Changes' or 'Save Changes and Activate' buttons.
241 + * Old notices persisting when switching between editing and creating snippets.
242 +
243 + ## 3.6.5.1 (2024-05-24)
244 +
245 + * Redeployment of [v3.6.5](#365-2024-05-24) to overcome issue with initial build.
246 +
247 + ## [3.6.5] (2024-05-24)
248 +
249 + ### Added
250 + * New admin menu providing useful resources and updates on the Code Snippets plugin and community.
251 +
252 + ## [3.6.4] (2024-03-15)
253 +
254 + ### Added
255 + * AI generation for all snippet types: HTML, CSS, JS. (PRO)
256 + * Button to create a cloud connection directly from the Snippets menu when disconnected. (PRO)
257 +
258 + ### Changed
259 + * Increment the revision number of CSS and JS snippet when using the 'Reset Caches' debug action. (PRO)
260 + * UX in generate dialog, such as allowing 'Enter' to submit the form. (PRO)
261 +
262 + ### Fixed
263 + * Minor type compatability issue with newer versions of PHP.
264 + * Undefined array key issue when initiating cloud sync. (PRO)
265 + * Bug preventing downloading a single snippet from a bundle. (PRO)
266 + * Translations not loading for strings in JavaScript files.
267 +
268 + ## [3.6.3] (2023-11-13)
269 +
270 + ### Added
271 + * Added debug action for resetting snippets caches.
272 +
273 + ### Fixed
274 + * Import error when initialising cloud sync configuration. (PRO)
275 +
276 + ## [3.6.2] (2023-11-11)
277 +
278 + ### Removed
279 + * Removed automatic encoding of code content.
280 +
281 + ### Fixed
282 + * Error when attempting to save shared network snippets marked as active.
283 + * Type error when rendering checkbox fields without a stored or default value.
284 + * Label for snippet sharing input incorrectly linked to input field.
285 + * Error when attempting to download export files from Edit menu.
286 + * Issue loading Freemius string overrides too early. (PRO)
287 + * Fix redirect URL when connecting with OAuth on subdirectory or HTTPS sites. (PRO)
288 + * Import error when attempting to completely uninstall the plugin.
289 +
290 + ## [3.6.1] (2023-11-07)
291 +
292 + ### Fixed
293 + * Issue accessing fields on Snippets class.
294 +
295 + ## [3.6.0] (2023-11-07)
296 +
297 + ### Added
298 + * Ability to authenticate with Code Snippets Cloud using OAuth. (PRO)
299 + * Integration with GPT AI for generating snippets. (PRO)
300 + * Ability to generate line-by-line descriptions of snippet code with GPT AI. (PRO)
301 + * Ability to generate tags and description text from existing snippet code with GPT AI. (PRO)
302 + * Added debug settings menu for manually performing problem-solving actions.
303 + * Filter to disable scroll-into-view functionality for edit page notices.
304 +
305 + ### Changed
306 + * Updated minimum PHP requirement to 7.4.
307 + * Ensure that the URL of the edit snippet page changes when adding a new snippet.
308 + * Snippet tags will automatically be added when focus is lost on the tags field.
309 +
310 + ### Fixed
311 + * Moved active status border on edit name field to left-hand side.
312 + * New notices will not scroll if already at top of page.
313 + * Potential CSRF vulnerability allowing an authenticated user to reset settings.
314 +
315 + ## [3.5.1] (2023-09-15)
316 +
317 + ### Fixed
318 + * Undefined array key error when accessing plugin settings page. (PRO)
319 + * Issue registering API endpoints affecting edit post screen. (PRO)
320 + * Snippet ID instead of snippet object being passed to `code_snippets/update_snippet` action hook.
321 +
322 + ## [3.5.0] (2023-09-13)
323 +
324 + ### Added
325 + * Support for the Code Snippets Cloud API.
326 + * Search and download public snippets.
327 + * Codevault back-up and synchronisation. (PRO)
328 + * Synchronised local snippets are automatically updated in Cloud. (PRO)
329 + * Bulk actions - 'update' and 'download'.
330 + * Download snippets from public and private codevaults. (PRO)
331 + * Search and download any publicly viewable snippet in Code Snippet Cloud by keyword or name of codevault. (PRO)
332 + * Deploy snippets to plugin from Code Snippets Cloud app. (PRO)
333 + * Bundles of Joy! Search and download Snippet Bundles in one go direct from Code Snippets Cloud. (PRO)
334 +
335 + ### Changed
336 + * Redirect to snippets table when deleting snippet from the edit menu.
337 + * Scroll new notices into view on edit menu.
338 +
339 + ### Fixed
340 + * Error when attempting to update network shared snippets after saving. [[#](https://wordpress.org/support/topic/activating-snippets-breaks-on-wordpress-6-3/)]
341 +
342 + ## [3.4.2] (2023-07-05)
343 +
344 + ### Fixed
345 + * Issue causing export process to fail with fatal error. [[#](https://wordpress.org/support/topic/critical-error-on-exporting-snippets/)]
346 + * Type issue on `the_posts` filter when no posts available. [[#](https://wordpress.org/support/topic/collision-with-plugin-xml-sitemap-google-news/)]
347 +
348 + ## [3.4.1] (2023-06-29)
349 +
350 + ### Added
351 + * Added better debugging when calling REST API methods from the edit menu.
352 +
353 + ### Changed
354 + * Escape special characters when sending snippet code through AJAX to avoid false-positives from security modules. [[#](https://wordpress.org/support/topic/latest-3-4-0-ajax-bug-cannot-save-snippets-403-error/)]
355 + * Only display the latest update or error notice on the edit page, instead of allowing them to stack.
356 +
357 + ### Fixed
358 + * Undefined array key error. [[#](https://wordpress.org/support/topic/after-updating-occasionally-getting-undefined-array-key-query/)]
359 + * Potential type issue when loading Prism. [[#](https://wordpress.org/support/topic/code-snippets-fatal-error-breaking-xml-sitemaps/)]
360 + * Potential type issue when sorting snippets. [[#](https://github.com/codesnippetspro/code-snippets/issues/166)]
361 + * Issue preventing asset revision numbers from updating correctly. (PRO) [[#](https://github.com/codesnippetspro/code-snippets/issues/166)]
362 +
363 + ## [3.4.0] (2023-05-17)
364 +
365 + ### Added
366 + * Proper WordPress REST API support for retrieving and modifying snippets.
367 + * Added help links to content snippet options.
368 +
369 + ### Changed
370 + * Better compatibility with modern versions of PHP (7.0+).
371 + * Converted Edit/Add New Snippet page to use React.
372 + * Converted action buttons to asynchronously use REST API endpoints through AJAX.
373 + * Load page components dynamically through React.
374 + * Added action notice queue system.
375 + * Replaced native alert dialog with proper React modal.
376 + * Catch snippet execution errors to prevent site from crashing.
377 + * Display recent snippet errors in admin dashboard instead.
378 + * Updated editor block to use new REST API endpoints. (PRO)
379 + * Change colour of upgrade notice in Pro plugin. (PRO)
380 + * All available snippet data is included in export files.
381 + * Only import specific fields from export file, even if additional fields specified.
382 + * Pass additional attributes specified in `[code_snippet]` content shortcode to shortcode content.
383 + * Make shortcode attributes available as individual variables.
384 + * Allow boolean attributes to be passed to code snippets shortcodes without specifying a value.
385 + * Replace external links to Pro pricing page with an upgrade modal.
386 +
387 + ### Fixed
388 + * Issue preventing editor colorpicker from loading correctly. (PRO)
389 + * Issue preventing linting libraries from loading correctly in the code editor.
390 +
391 + ## [3.3.0] (2023-03-09)
392 +
393 + ### Added
394 + * Added additional editor shortcuts to list in tooltip.
395 + * Filter for changing Snippets admin menu position. [See this help article for more information.](https://codesnippets.pro/doc/snippets-menu-location/)
396 + * Ability to filter shortcode output. Thanks to contributions from [Jack Szwergold](https://github.com/JackSzwergold).
397 +
398 + ### Fixed
399 + * Do not enqueue CSS or JS snippet file if no snippets exist. (PRO)
400 + * Bug causing all snippets to show in site health information instead of those active.
401 + * Unnecessary sanitization of file upload data causing import process to fail on Windows systems.
402 +
403 + ## [3.2.2] (2022-11-17)
404 +
405 + ### Fixed
406 + * Plugin lacking a valid header error on activation.
407 +
408 + ## [3.2.1] (2022-10-05)
409 +
410 + ### Added
411 + * `Ctrl`+`/` or `Cmd`+`/` as shortcut for commenting out code in the snippet editor.
412 + * Additional hooks to various snippet actions, thanks to contributions made by [ancient-spirit](https://github.com/ancient-spirit).
413 + * Fold markers, additional keyboard shortcuts and keymap options to snippet editor,
414 + thanks to contributions made by [Amaral Krichman](https://github.com/karmaral).
415 + * WP-CLI commands for retrieving, activating, deactivating, deleting, creating, updating, exporting and importing snippets.
416 +
417 + ### Changed
418 + * Removed duplicate tables exist query. ([#](https://wordpress.org/support/topic/duplicate-queries-21)).
419 + * Enabled 'add paragraphs and formatting' option by default for newly inserted content snippets.
420 +
421 + ### Fixed
422 + * Issue making survey reminder notice not dismissible.
423 + * Path to iron visible when updating the pro plugin.
424 +
425 + ## [3.2.0] (2022-07-22)
426 +
427 + ### Added
428 + * Option to show and hide line numbers in Gutenberg source code editor block. (PRO)
429 + * Support for highlighting HTML, CSS, JS and embedded code in the front-end PrismJS code highlighter.
430 + * Additional features to front-end PrismJS code highlighter, including automatic links and a copy button.
431 + * Support for multiple code styles in the source code Gutenberg editor block. (PRO)
432 + * Admin notice announcing release of Code Snippets Pro.
433 + * Button for copying shortcode text to clipboard.
434 + * Option to choose from 44 different themes for the Prism code highlighter in the source editor block and Elementor widget. (PRO)
435 +
436 + ### Changed
437 + * Include Code Snippets CSS and JS source code in distributed package.
438 + * Don't delete data from plugin if deleting Code Snippets Free while Code Snippets Pro is active.
439 + * Streamlined user interface and experience in Gutenberg editor blocks. (PRO)
440 + * Compatibility of Elementor widgets with the latest version of Elementor. (PRO)
441 + * Replace icon font menu icon with embedded SVG icon.
442 +
443 + ### Removed
444 + * Remove default value from SQL columns to improve compatibility with certain versions of MySQL.
445 +
446 + ### Fixed
447 + * Delay loading snippets in Gutenberg editor blocks. (PRO)
448 + * Inconsistencies with translations between different plugin versions.
449 + * Issue with Content Snippet shortcode information not displaying.
450 +
451 + ## [3.1.2] (2022-07-03)
452 +
453 + ### Changed
454 + * Updated external links and branding for Code Snippets Pro.
455 + * Add link URLs to settings pages, as an alternative to in-page navigation.
456 + * Improved visual style of Gutenberg editor blocks. (PRO)
457 +
458 + ### Fixed
459 + * Various fixes to block editor scripts. (PRO)
460 +
461 + ## [3.1.1] (2022-06-13)
462 +
463 + ### Added
464 + * Added additional parameters to `code_snippets/export/filename` filter.
465 +
466 + ### Fixed
467 + * Download snippets feature not including snippet content.
468 + * Alignment of 'opens externally' dashicon.
469 +
470 + ## [3.1.0] (2022-05-17)
471 +
472 + ### Added
473 + * More comprehensive cache coverage, including for active snippets.
474 + * Icon to 'Go Pro' button indicating it opens an external tab.
475 +
476 + ### Changed
477 + * Simplified database queries.
478 + * Allow display styles in snippet descriptions.
479 +
480 + ### Fixed
481 + * Caching inconsistencies preventing snippets and settings from refreshing on sites with persistent object caching.
482 +
483 + ## [3.0.1] (2022-05-14)
484 +
485 + ### Fixed
486 + * Incompatibility issue with earlier versions of PHP.
487 +
488 + ## [3.0.0] (2022-05-14)
489 +
490 + ### Added
491 + * HTML content snippets for displaying as shortcodes or including in the page head or footer area.
492 + * Notice reminding users to upgrade unsupported PHP versions.
493 + * Visual settings to add attributes to shortcodes.
494 + * Shortcode buttons to the post and page content editors.
495 + * Basic REST API endpoints.
496 + * Snippet type column to the snippets table.
497 + * Snippet type badges to Edit and Add New Snippet pages.
498 + * Setting to control whether the current line of the code editor is highlighted.
499 + * Display a warning when saving a snippet with missing title or code.
500 + * Add suffix to title of cloned snippets.
501 + * Added key for the 'active' and 'scope' database table columns to speed up queries.
502 + * Added snippet type labels to the tabs on the Snippets page.
503 + * Added hover effect to priority settings in the snippets table to show that they are editable.
504 + * CSS style snippets for the site front-end and admin area. (PRO)
505 + * JavaScript snippets for the site head and body area on the front-end. (PRO)
506 + * Browser cache versioning for CSS and JavaScript snippets. (PRO)
507 + * Support for exporting and downloading CSS and JavaScript snippets. (PRO)
508 + * Support for highlighting code on the front-end. (PRO)
509 + * Editor syntax highlighting for CSS, JavaScript and HTML snippets. (PRO)
510 + * Button to preview full file when editing CSS or JavaScript snippets. (PRO)
511 + * Option to minify CSS and JavaScript snippets. (PRO)
512 + * Gutenberg editor block for displaying content snippets. (PRO)
513 + * Gutenberg editor block for displaying snippet source code. (PRO)
514 + * Elementor widget for displaying content snippets. (PRO)
515 + * Elementor widget for displaying snippet source code. (PRO)
516 +
517 + ### Changed
518 + * Updated plugin code to use namespaces, preventing name collisions with other plugins.
519 + * Redirect from edit menu if not editing a valid snippet.
520 + * Moved activation switch into its own table column.
521 + * Updated code documentation according to WordPress standards.
522 + * Split settings page into tabs.
523 + * Use the version of CodeMirror included with WordPress where possible to inherit the additional built-in features.
524 +
525 + ### Deprecated
526 + * Deprecated functions and compatibility code for unsupported PHP versions.
527 +
528 + ### Removed
529 + * Option to disable snippet scopes.
530 +
531 + ### Fixed
532 + * Snippets table layout on smaller screens.
533 +
534 + ## [2.14.6] (2022-05-13)
535 +
536 + ### Fixed
537 + * Issue with processing uploaded import files.
538 + * Issue with processing tag filters.
539 +
540 + ## [2.14.5] (2022-05-10)
541 +
542 + ### Fixed
543 + * Incompatibility issue with older versions of PHP.
544 +
545 + ## [2.14.4] (2022-05-05)
546 +
547 + ### Fixed
548 + * Prevent array key errors when loading the snippet table with unknown order values.
549 +
550 + ## [2.14.3] (2021-12-10)
551 +
552 + ### Fixed
553 + * Potential security issue outputting snippets-safe-mode query variable value as-is. Thanks to Krzysztof Zając for reporting.
554 +
555 + ## [2.14.2] (2021-09-09)
556 +
557 + ### Added
558 + * Added translations:
559 + * Spanish by [Ibidem Group](https://www.ibidemgroup.com)
560 + * Urdu by [Samuel Badree](https://mobilemall.pk/)
561 + * Greek by [Toni Bishop from Jrop](https://www.jrop.com/)
562 + * Support for `:class` syntax to the code validator.
563 + * PHP8 support to the code linter.
564 + * Color picker feature to the code editor.
565 + * Failsafe to prevent multiple versions of Code Snippets from running simultaneously.
566 +
567 + ### Fixed
568 + * Prevent network snippets table from being created on single-site installs.
569 +
570 + ## [2.14.1] (2021-03-10)
571 +
572 + ### Added
573 + * Czech translation by [Lukáš Tesař](https://github.com/atomicf4ll).
574 + * Code direction setting for RTL users.
575 + * Additional action hooks and search API thanks to [@Spreeuw](https://github.com/Spreeuw).
576 +
577 + ### Changed
578 + * Updated CodeMirror to version 5.59.4.
579 +
580 + ### Fixed
581 + * Code validator now supports `function_exists` and `class_exists` checks.
582 + * Code validator now supports anonymous functions.
583 + * Issue with saving the hidden columns setting.
584 + * Replaced the outdated tag-it library with [tagger](https://github.com/jcubic/tagger) for powering the snippet tags editor.
585 +
586 + ## [2.14.0] (2020-01-26)
587 +
588 + ### Added
589 + * Basic error checking for duplicate functions and classes.
590 + * Additional API options for retrieving snippets.
591 + * Store the time and date when each snippet was last modified.
592 + * Basic error checking when activating snippets.
593 +
594 + ### Changed
595 + * Updated CodeMirror to version 5.50.2.
596 + * Updated Italian translations to fix display issues – thanks to [Francesco Marino](https://360fun.net).
597 + * Changed the indicator color for inactive snippets from red to grey.
598 +
599 + ### Fixed
600 + * Ordering snippets in the table by name will now be case-insensitive.
601 + * Code editor will now properly highlight embedded HTML, CSS and JavaScript code.
602 + * Fixed a bug preventing the editor theme from being set to default.
603 + * Ensure that imported snippets are always inactive.
604 + * Check the referer on the import menu to prevent CSRF attacks.
605 + Thanks to [Chloe with the Wordfence Threat Intelligence team](https://www.wordfence.com/blog/author/wfchloe/) for reporting.
606 + * Ensure that individual snippet action links use proper verification.
607 +
608 + ## [2.13.3] (2019-03-13)
609 +
610 + ### Added
611 + * Hover effect to activation switches.
612 + * Additional save buttons above snippet editor.
613 + * List save keyboard shortcuts to the help tooltip.
614 + * Change "no items found" message when search filters match nothing.
615 +
616 + ### Changed
617 + * Updated CodeMirror to version 5.44.0.
618 +
619 + ### Fixed
620 + * Calling deprecated code in database upgrade process.
621 + * Include snippet priority in export files.
622 + * Use Unix newlines in code export file.
623 + * Correctly register snippet tables with WordPress to prevent database repair errors.
624 + [[#](https://wordpress.org/support/topic/database-corrupted-4/)]
625 + * CodeMirror indentation settings being applied incorrectly.
626 +
627 + ## [2.13.2] (2019-01-25)
628 +
629 + ### Removed
630 + * Removed potentially problematic cursor position saving feature.
631 +
632 + ## [2.13.1] (2019-01-22)
633 +
634 + ### Added
635 + * Add menu buttons to settings page for compact menu.
636 + * Help tooltop to snippet editor for keyboard shortcuts, thanks to Michael DeWitt.
637 + * Added button for executing single-use snippets to snippets table.
638 + * Sample snippet for ordering snippets table by name by default.
639 +
640 + ### Changed
641 + * French translation updated thanks to momo-fr.
642 + * Updated CodeMirror to version 5.43.0.
643 +
644 + ### Fixed
645 + * Split code editor and tag editor scripts into their own files to prevent dependency errors.
646 + * Handling of single-use shared network snippets.
647 + * Minor translation template issues.
648 +
649 + ## [2.13.0] (2018-12-17)
650 +
651 + ### Added
652 + * Search/replace functionality to the snippet editor. [See here for a list of keyboard shortcuts.](https://codemirror.net/demo/search.html) [[#](https://wordpress.org/support/topic/feature-request-codemirror-search-and-replace/)]
653 + * Option to make admin menu more compact.
654 + * Added additional styles to editor settings preview.
655 + * PHP linter to code editor.
656 +
657 + ### Changed
658 + * Updated CodeMirror to version 5.42.0.
659 + * Integration between plugin and the CodeMirror library, to prevent collisions.
660 + * Use external scripts instead of inline scripts.
661 +
662 + ### Fixed
663 + * Problem clearing recently active snippet list.
664 + * Missing functionality for 'Auto Close Brackets' and 'Highlight Selection Matches' settings.
665 +
666 + ## [2.12.1] (2018-11-15)
667 +
668 + ### Changed
669 + * CodeMirror updated to version 5.41.0.
670 + * Attempt to create database columns that might be missing after a table upgrade.
671 + * Streamlined upgrade process.
672 + * Made search box appear at top of page on mobile. [[#](https://wordpress.org/support/topic/small-modification-for-mobile-ux/)]
673 + * Updated screenshots.
674 +
675 + ### Fixed
676 + * Interface layout on sites using right-to-left languages.
677 +
678 + ## [2.12.0] (2018-09-23)
679 +
680 + ### Added
681 + * Added Import button next to page title on manage page.
682 + * Added coloured banner indicating whether a snippet is active when editing.
683 +
684 + ### Changed
685 + * Updated import page to improve usability.
686 + * Updated CodeMirror to 5.40.0.
687 +
688 + ### Removed
689 + * Removed option for including network-wide snippets in subsite lists on multisite.
690 +
691 + ### Fixed
692 + * Prevented hidden columns setting from reverting to default.
693 +
694 + ## [2.11.0] (2018-07-24)
695 +
696 + ### Added
697 + * Ability to assign a priority to snippets, to determine the order in which they are executed.
698 + * Pressing Ctrl/Cmd + S while writing a snippet will save it.
699 + * Shadow opening PHP tag above the code editor.
700 + * Install sample snippets when the plugin is installed.
701 + * Filter hook for controlling the default list table view.
702 + * Action for cloning snippets.
703 +
704 + ### Changed
705 + * The editor cursor position will be preserved when saving a snippet.
706 + * Updated the message shown when there are no snippets.
707 + * Show all available tags when selecting the tag field.
708 +
709 + ## [2.10.2] (2018-07-21)
710 +
711 + ### Added
712 + * Button to reset settings to their default values.
713 + * Belarusian translation by Hrank.com.
714 +
715 + ### Changed
716 + * Made uninstall cleanup optional through a plugin setting.
717 + * Ordered tags by name in the filter dropdown menu.
718 + * Enabled sorting snippets table by tags.
719 + * Updated CodeMirror to version 5.39.0.
720 +
721 + ### Fixed
722 + * Applied formatting filters to snippet descriptions in the table.
723 + * Incorrectly translated strings.
724 +
725 + ## [2.10.1] (2018-02-10)
726 +
727 + ### Fixed
728 + * Prevent errors when trying to export no snippets.
729 + * Use wp_json_encode() to encode export data.
730 + * Check both the file extension and MIME type of uploaded import files.
731 +
732 + ## [2.10.0] (2018-01-18)
733 +
734 + ### Added
735 + * Added support for importing from multiple export files at once.
736 + * New scope for single-use snippets.
737 + * Allowed plugin settings to be unified on multisite through Network Settings option.
738 +
739 + ### Changed
740 + * Unbold the titles of inactive snippets for greater visual distinction.
741 + * Don't show network snippets on subsites by default, and only to super admins.
742 + * Export snippets to JSON instead of XML.
743 + * More options for importing duplicate snippets.
744 + * Use strings for representing scopes internally instead of numbers.
745 + * Rename 'Export to PHP' to 'Download', and add button to edit snippet page.
746 +
747 + ### Fixed
748 + * Issue with incorrectly treating network snippets as site-wide for code validation.
749 +
750 + ## [2.9.6] (2018-01-14)
751 +
752 + ### Added
753 + * Added Brazilian Portuguese translation by [Bruno Borges](http://brunoborges.info)
754 +
755 + ### Changed
756 + * Moved scope and other settings on single snippet page to below code area.
757 +
758 + ### Fixed
759 + * Use standard WordPress capabilities instead of custom capabilities to prevent lockouts.
760 + * Multisite issue with retrieving active shared snippets from the wrong table causing duplicate snippet execution.
761 +
762 + ## [2.9.5] (2018-01-13)
763 +
764 + ### Changed
765 + * Updated CodeMirror to version 5.33.
766 + * Made the "Activate By Default" setting enabled by default for new installations.
767 +
768 + ### Fixed
769 + * Undefined function error when accessing the database on multisite.
770 + * Ensured all admin headings are hierarchical for accessibility.
771 +
772 + ## [2.9.4] (2017-09-19)
773 +
774 + ### Changed
775 + * Minor improvements to database creation function.
776 +
777 + ### Fixed
778 + * Prevented PHP error from occurring when saving a snippet.
779 +
780 + ## [2.9.3] (2017-09-11)
781 +
782 + ### Fixed
783 + * Prevent snippets from being executed twice when saving due to invalid ID being passed to allow_execute_snippet filter.
784 + * Re-enabled output suppression when executing snippets.
785 +
786 + ## [2.9.2] (2017-09-08)
787 +
788 + ### Fixed
789 + * Do not attempt to combine queries for fetching local and multisite snippets.
790 +
791 + ## [2.9.1] (2017-09-07)
792 +
793 + ### Fixed
794 + * Prevent illegal mix of collations errors when fetching snippets from database tables with different collations.
795 + [[#](https://wordpress.org/support/topic/issue-on-multisite-with-wpml/)]
796 +
797 + ## [2.9.0] (2017-09-06)
798 +
799 + ### Changed
800 + * Moved code to disable snippet execution into a filter hook.
801 + * execute_active_snippets() function updated with improved efficiency.
802 + * Renamed Snippet class to avoid name collisions with other plugins.
803 + * Don't hide output when executing a snippet.
804 +
805 + ### Fixed
806 + * Prevented invalid properties from being set when saving a snippet.
807 + * Use the correct protocol when saving a snippet.
808 + * Active shared snippets not being updated correctly.
809 +
810 + ## [2.8.7] (2017-05-18)
811 +
812 + ### Added
813 + * Added French (Canada) translation by Domonic Desbiens.
814 + * Added fixes for Indonesian translation by @zmni.
815 +
816 + ## [2.8.6] (2017-05-14)
817 +
818 + ### Fixed
819 + * Fixed snippet description field alias not mapping correctly, causing snippet descriptions to not be displayed in the table or when editing a snippet.
820 + * Ensured that get_snippets() function retrieves snippets with the correct 'network' setting. Fixes snippet edit links in network admin.
821 +
822 + ## [2.8.5] (2017-05-13)
823 +
824 + ### Added
825 + * Added Indonesian translation by Jordan Silaen from ChameleonJohn.com .
826 + * Added setting to hide network snippets on subsites.
827 +
828 + ### Security
829 + * Ensured HTML in snippet titles is escaped in snippets table.
830 + * Disallowed undefined fields to be set on the Snippets class.
831 + * Prevented shared network snippets from being included twice in snippets table on multisite.
832 +
833 + ## [2.8.4] (2017-04-29)
834 +
835 + ### Fixed
836 + * Fixed all snippets being treated as network snippets on non-multisite sites.
837 +
838 + ## [2.8.3] (2017-04-29)
839 +
840 + ### Added
841 + * Added more compete output escaping to prevent XSS errors.
842 +
843 + ### Changed
844 + * Updated CodeMirror to version 5.25.0.
845 + * Show network active snippets as read-only on multisite subsites.
846 +
847 + ## [2.8.2] (2017-02-27)
848 +
849 + ### Fixed
850 + * Fix bug introduced in 2.8.1 that broke code verification functionality by executing code twice.
851 +
852 + ## [2.8.1] (2017-02-25)
853 +
854 + ### Changed
855 + * Updated German translation.
856 + * Updated CodeMirror to version 5.24.0.
857 +
858 + ### Removed
859 + * Removed possible conflict between Debug Bar Console plugin. (#52)
860 +
861 + ### Fixed
862 + * Fixed admin menu items not translating.
863 + * Corrected editor alignment on RTL sites. ([#](https://wordpress.org/support/topic/suggestion-css-fix-for-rtl-sites/))
864 + * Fixed bulk actions running when Filter button is clicked. ([#](https://wordpress.org/support/topic/bug-with-filtering-action-buttons/))
865 +
866 + ## [2.8.0] (2016-12-14)
867 +
868 + ### Changed
869 + * Renamed 'Manage' admin menu label to 'All Snippets' to keep in line with other admin menu labels.
870 + * Renamed placeholder on snippet name field to 'Enter title here'.
871 + * Updated CodeMirror to version 5.21.0.
872 + * Moved 'Edit Snippet' admin menu above 'Add New' menu.
873 + * Made pressing Ctrl-Enter in the code editor save the snippet.
874 +
875 + ### Removed
876 + * Removed CodeMirror search functionality.
877 +
878 + ### Fixed
879 + * Fixed Italian translation errors. Props to @arsenalemusica.
880 +
881 + ## [2.7.3] (2016-10-24)
882 +
883 + ### Changed
884 + * Updated CodeMirror to version 5.10.0.
885 +
886 + ### Fixed
887 + * Fixed a few strings not being translated.
888 +
889 + ## [2.7.2] (2016-10-01)
890 +
891 + ### Changed
892 + * Updated German translation by [Mario Siegmann](https://web-alltag.de).
893 +
894 + ## [2.7.1] (2016-09-30)
895 +
896 + ### Added
897 + * Added Dutch translation by Sander Spies.
898 +
899 + ### Changed
900 + * Updated CodeMirror to version 5.19.0.
901 +
902 + ### Security
903 + * Ensured that the editor theme setting is properly validated. Thanks to [Netsparker](https://www.netsparker.com) for reporting.
904 + * Ensured that snippet tags are properly escaped. Thanks to [Netsparker](https://www.netsparker.com) for reporting.
905 +
906 + ## [2.7.0] (2016-07-23)
907 +
908 + ### Added
909 + * Added query var to disable snippet execution. To use, add `?snippets-safe-mode=true` to the URL.
910 +
911 + ### Changed
912 + * Updated German translation by [Mario Siegmann](https://web-alltag.de).
913 + * Updated CodeMirror to version 5.17.0.
914 + * Increased default snippets per page so that all are usually shown.
915 +
916 + ### Fixed
917 + * Fixed plugin translations being loaded.
918 + * Fixed description field not being imported.
919 + * Fixed issue with CodeMirror rubyblue theme. [[#](https://wordpress.org/support/topic/a-problem-with-the-cursor-color-and-the-fix-that-worked-for-me)]
920 + * Fixed snippet fields not importing.
921 + * Fixed a minor XSS vulnerability discovered by Burak Kelebek. [[#](https://wordpress.org/support/topic/security-vulnerability-20)]
922 +
923 + ## [2.6.1] (2016-02-10)
924 +
925 + ### Changed
926 + * Updated German translation by [Mario Siegmann](https://web-alltag.de).
927 + * Updated error catching to work with snippets including functions and classes.
928 +
929 + ### Fixed
930 + * Fixed error catching not working correctly.
931 + * Fixed editor autoresizing.
932 +
933 + ## [2.6.0] (2015-12-31)
934 +
935 + ### Added
936 + * Added `[code_snippets]` shortcode for embedding snippet code in a post.
937 + * Added front-end syntax highlighting for shortcode using [PrismJS](https://prismjs.com).
938 +
939 + ### Changed
940 + * Updated CodeMirror to version 5.10.0.
941 +
942 + ### Removed
943 + * Reconfigured plugin to use classloader and converted a lot of functional code into OOP code.
944 +
945 + ### Fixed
946 + * Fixed broken snippet search feature. [[#](https://wordpress.org/support/topic/search-is-not-working-6)]
947 +
948 + ## [2.5.1] (2016-10-11)
949 +
950 + ### Fixed
951 + * Ensure errors are fatal before catching them during error checking.
952 + * Escape the snippet name on the edit page to ensure it displays correctly.
953 + * Exclude snippets with named functions from error checking so they do not run twice.
954 +
955 + ## [2.5.0] (2015-10-08)
956 +
957 + ### Added
958 + * Detect parse and fatal errors in code when saving a snippet, and display a user-friendly message.
959 +
960 + ### Changed
961 + * Updated access of some methods in Code_Snippets_List_Table class to match updated WP_List_Table class.
962 +
963 + ## [2.4.2] (2015-09-27)
964 +
965 + ### Added
966 + * Added query variable to activate safe mode.
967 + * Added settings to disable description and tag editors.
968 +
969 + ### Changed
970 + * Updated editor preview updating code to use vanilla JavaScript instead of jQuery.
971 +
972 + ### Fixed
973 + * Fixed settings not saving.
974 + * Fixed snippet descriptions not displaying on manage menu.
975 + * Load CodeMirror after plugin styles to fix error with Zenburn theme.
976 + * Hide snippet scope icons when the scope selector is disabled.
977 + * Fixed description heading on edt snippet menu being hidden when visual editor disabled.
978 + * Deactivate a shared network snippet on all subsites when it looses its sharing status.
979 +
980 + ## [2.4.1] (2015-09-17)
981 +
982 + ### Fixed
983 + * Fixed CodeMirror themes not being detected on settings page [[#](https://wordpress.org/support/topic/updated-to-240-now-i-cant-switch-theme)]
984 +
985 + ## [2.4.0] (2015-09-17)
986 +
987 + ### Added
988 + * Added ability to share network snippets to individual sites on WordPress multisite.
989 + * Added `code_snippets/after_execute_snippet` filter.
990 + * Added class for individual snippets.
991 +
992 + ### Changed
993 + * Improved code directory and class structure.
994 + * Improved code for printing admin messages.
995 + * Updated German translation (Joerg Knoerchen)
996 + * Updated `get_snippets()` function to retrieve individual snippets.
997 + * Changed admin page headers to use `<h1>` tags instead of `<h2>` tags.
998 + * Updated CodeMirror to version 5.6.
999 +
1000 + ### Removed
1001 + * Remove legacy code for pre-3.6 compatibility.
1002 + * Removed scope statuses and added fixed tags to indicate scope.
1003 + * Removed snippet settings page from network admin.
1004 +
1005 + ## [2.3.0] (2015-05-20)
1006 +
1007 + ### Added
1008 + * Added icons for admin and front-end snippets to manage table.
1009 + * Added filter switch to prevent a snippet from executing. ([#25](https://github.com/codesnippetspro/code-snippets/issues/25))
1010 +
1011 + ### Changed
1012 + * Improved settings retrieval by caching settings.
1013 + * Updated Russian translation by [Alexey Chumakov](http://chumakov.ru/).
1014 +
1015 + ### Removed
1016 + * Removed nested functions.
1017 +
1018 + ### Fixed
1019 + * Fixed errors in string translation.
1020 + * Fixed bug in import process. ([#32](https://github.com/codesnippetspro/code-snippets/issues/32))
1021 +
1022 + ## [2.2.3] (2015-05-13)
1023 +
1024 + ### Added
1025 + * Added support for importing and exporting snippet scope.
1026 +
1027 + ### Changed
1028 + * Improved database table structure.
1029 +
1030 + ### Fixed
1031 + * Fixed broken call to `export_snippet()` function.
1032 + * Fixed duplicate primary key database error.
1033 +
1034 + ## [2.2.2] (2015-05-11)
1035 +
1036 + ### Added
1037 + * Added statuses for snippet scopes on manage snippets table.
1038 +
1039 + ### Changed
1040 + * Updated references to old plugin site.
1041 + * Made minor updates to French translation file.
1042 +
1043 + ### Fixed
1044 + * Resolved JavaScript error on edit snippet pages.
1045 + * Added polyfill for array_replace_recursive() function for PHP 5.2.
1046 +
1047 + ## [2.2.1] (2015-05-10)
1048 +
1049 + ### Fixed
1050 + * Fixed the default values of new setting not being applied.
1051 + * Fixed missing background of tags input.
1052 +
1053 + ## [2.2.0] (2015-05-10)
1054 +
1055 + ### Added
1056 + * Introduced CodeSniffer testing on code.
1057 + * Added snippet scope selector.
1058 +
1059 + ### Changed
1060 + * Minified all CSS and JS in plugin.
1061 + * Made CodeMirror theme names more readable.
1062 +
1063 + ### Fixed
1064 + * Fixed description heading disappearing when media buttons enabled.
1065 + * Fixed bug causing translations to not be loaded.
1066 +
1067 + ## [2.1.0] (2015-05-09)
1068 +
1069 + ### Added
1070 + * Added additional setting descriptions.
1071 + * Added settings for code and description editor height.
1072 +
1073 + ### Changed
1074 + * Updated CodeMirror to version 5.2.
1075 + * Improved efficiency of settings component.
1076 +
1077 + ### Fixed
1078 + * Fixed not escaping the request URL when using query arg functions.
1079 +
1080 + ## [2.0.3] (2015-03-17)
1081 +
1082 + ### Changed
1083 + * Updated German translation by [Joerg Knoerchen](https://www.sensorgrafie.de/).
1084 +
1085 + ## [2.0.2] (2015-03-05)
1086 +
1087 + ### Removed
1088 + * Remove settings database option when plugin is uninstalled.
1089 +
1090 + ### Fixed
1091 + * Fix error in table creation code.
1092 +
1093 + ## [2.0.1] (2015-02-25)
1094 +
1095 + ### Fixed
1096 + * Fixed table creation code not running on upgrade.
1097 + * Fixed snippets per page option not saving.
1098 +
1099 + ## [2.0.0] (2015-02-24)
1100 +
1101 + ### Highlights
1102 + * Better import/export functionality.
1103 + * New settings page with code editor settings.
1104 + * Code rewritten for cleaner and more efficient code.
1105 + * Lots of new translations.
1106 +
1107 + ### Added
1108 + * Added link to Code Snippets importer under Snippets admin menu.
1109 + * Added settings component and admin page.
1110 + * Added support for different CodeMirror themes.
1111 + * Added Auto Close Brackets CodeMirror addon (props to TronicLabs).
1112 + * Added Croatian translation by Borisa Djuraskovic from [Web Hosting Hub](https://www.webhostinghub.com).
1113 + * Added Highlight Selection Matches CodeMirror addon (props to TronicLabs).
1114 + * Added Chinese translation thanks to Jincheng Shan.
1115 + * Added Russian translation by Alexander Samsonov.
1116 + * Added Slovak translation by [Ján Fajčák] from [WordPress Slovakia](https://wp.sk).
1117 + * Added setting to always save and activate snippets by default.
1118 + * Added braces to single-line conditionals in line with [new coding standards](https://make.wordpress.org/core/2013/11/13/proposed-coding-standards-change-always-require-braces/).
1119 +
1120 + ### Changed
1121 + * Improved plugin file structure.
1122 + * Updated CodeMirror library to version 5.0.
1123 + * Split up large classes into separate functions.
1124 + * Replaced uninstallation hook with single file method.
1125 + * Rewritten import/export functionality to use DOMDocument.
1126 +
1127 + ### Removed
1128 + * Removed old admin style support.
1129 + * Removed backwards-compatible support.
1130 + * Removed duplicate MySQL primary key indexing.
1131 +
1132 + ### Deprecated
1133 + * Integrated tags component into main plugin. Current users of the Code Snippets Tags plugin can safely uninstall it.
1134 + * Merged Code_Snippets_Export_PHP class into Code_Snippets_Export class.
1135 +
1136 + ### Fixed
1137 + * Fixed incompatibility errors with PHP 5.2.
1138 + * Fixed empty MO translation files.
1139 +
1140 + ## [1.9.1.1] (2014-01-03)
1141 +
1142 + ### Fixed
1143 + * Added capability check to site snippets importer.
1144 +
1145 + ## [1.9.1] (2014-01-02)
1146 +
1147 + ### Changed
1148 + * Use an icon font for menu icon instead of embedded SVG.
1149 + * Use Sass (libsass) instead of Compass.
1150 + * Unminified CodeMirror scripts.
1151 +
1152 + ### Fixed
1153 + * Fixes for the WP 3.8 interface.
1154 + * Fix 'enable snippets menu for site admins' multisite setting.
1155 +
1156 + ## [1.9.0] (2013-11-11)
1157 +
1158 + ### Added
1159 + * Added French translation thanks to translator [oWEB](http://office-web.net).
1160 + * Added 'Save & Deactivate' button to the edit snippet page. ([#](https://wordpress.org/support/topic/deactivate-button-in-edit-snippet-page))
1161 + * Added nonce to edit snippet page.
1162 + * Added a fallback MP6 icon.
1163 +
1164 + ### Changed
1165 + * Updated MP6 icon implementation.
1166 + * Improved CodeMirror implementation.
1167 + * Updated CodeMirror to version 3.19.
1168 + * Updated WordPress.org plugin banner.
1169 + * Add and remove network capabilities as super admins are added and removed.
1170 + * Replaced buggy trim `<?php` and `?>` functionality with a much more reliable regex method. ([#](https://wordpress.org/support/topic/character-gets-cut))
1171 + * Make the title of each snippet on the manage page a clickable link to edit the snippet ([#](https://wordpress.org/support/topic/deactivate-button-in-edit-snippet-page?replies=9#post-4682757))
1172 + * Hide row actions on manage snippet page by default.
1173 + * Use the proper WordPress database APIs consistently.
1174 + * Rewritten export functionality.
1175 +
1176 + ### Removed
1177 + * Removed edit and install capabilities (now only uses the manage capability).
1178 + * Removed screenshots from plugin.
1179 + * Removed CodeMirror bundled with plugin.
1180 +
1181 + ### Fixed
1182 + * Fixed snippet failing to save when code contains `%` character, props to [nikan06](https://wordpress.org/support/profile/nikan06). ([#](https://wordpress.org/support/topic/percent-sign-bug))
1183 + * Fixed HTML breaking in export files. ([#](https://wordpress.org/support/topic/import-problem-7))
1184 + * Fixed incorrect export filename.
1185 + * Fixed CodeMirror incompatibility with the WP Editor plugin.
1186 + * Fixed CodeMirror incompatibility with the Debug Bar Console plugin.
1187 +
1188 + ## [1.8.1.1] (2013-08-18)
1189 +
1190 + ## [1.8.1] (2013-07-29)
1191 +
1192 + ### Changed
1193 + * Updated CodeMirror to 3.15.
1194 + * Compiled all CodeMirror scripts into a single file.
1195 + * Use Sass + Compass for CSS.
1196 + * Use Grunt for build automation.
1197 + * Minify CSS.
1198 +
1199 + ### Fixed
1200 + * Fixed code typo that was breaking export files.
1201 +
1202 + ## [1.8.0] (2013-07-09)
1203 +
1204 + ### Added
1205 + * Added error message handling for import snippets page.
1206 +
1207 + ### Changed
1208 + * 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.
1209 + * Updated to CodeMirror 3.14.
1210 + * Allow no snippet name or code to be set.
1211 + * Prevented an error on fresh multisite installations.
1212 + * Refactored code to use best practices.
1213 +
1214 + ### Deprecated
1215 + * Changes to filter and action hook API.
1216 +
1217 + ### Fixed
1218 + * Removed encoding of HTML entities in database.
1219 +
1220 + ## [1.7.1.2] (2013-05-03)
1221 +
1222 + ### Fixed
1223 + * Correct path to admin menu icon. Fixes [#8](https://github.com/codesnippetspro/code-snippets/issues/8)
1224 +
1225 + ## [1.7.1.1] (2013-04-29)
1226 +
1227 + ### Fixed
1228 + * Fixed a bug with custom capabilities and admin menus.
1229 +
1230 + ## [1.7.1] (2013-04-22)
1231 +
1232 + ### Added
1233 + * Added German translation thanks to [David Decker](https://deckerweb.de)
1234 + * 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.
1235 +
1236 + ### Changed
1237 + * Updated PHP Documentation completely. [[View online](https://bungeshea.github.io/code-snippets/api)]
1238 + * Only load admin functions when viewing dashboard.
1239 + * Improve database table creation and upgrade process.
1240 + * Optimized to use less database queries.
1241 +
1242 + ### Fixed
1243 + * Fix a bug with snippet being set as deactivated when saved.
1244 +
1245 + ## [1.7.0] (2013-03-26)
1246 +
1247 + ### Added
1248 + * Added icon for the new MP6 admin UI ([#](https://wordpress.org/support/topic/icon-disappears-with-mp6))
1249 + * Allow plugin to be activated on individual sites on multisite ([#](https://wordpress.org/support/topic/dont-work-at-multisite))
1250 + * Strip PHP tags from the beginning and end of a snippet on save ([#](https://wordpress.org/support/topic/php-tags))
1251 + * Change label in admin menu when editing a snippet.
1252 +
1253 + ### Changed
1254 + * Improved plugin API.
1255 + * Updated CodeMirror to version 3.11.
1256 + * Changed to [MIT license](https://opensource.org/licenses/mit-license.php)
1257 + * Improved admin styling.
1258 + * Slimmed down the description visual editor.
1259 + * Made everything leaner, faster, and better.
1260 +
1261 + ### Removed
1262 + * Removed HTML, CSS and JavaScript CodeMirror modes that were messing things up.
1263 +
1264 + ### Fixed
1265 + * Fixed a bug with saving snippets per page option ([#](https://wordpress.org/support/topic/plugin-code-snippets-snippets-per-page-does-not-work#post-3710991))
1266 +
1267 + ## [1.6.1] (2012-12-29)
1268 +
1269 + ### Fixed
1270 + * Fixed a bug with permissions not being applied on install ([#](https://wordpress.org/support/topic/permissions-problem-after-install))
1271 + * Fixed a bug in the uninstall method ([#](https://wordpress.org/support/topic/bug-in-delete-script))
1272 +
1273 + ## [1.6.0] (2012-12-22)
1274 +
1275 + ### Added
1276 + * Current line of code editor is now highlighted.
1277 + * Highlight matches of selected text in code editor.
1278 +
1279 + ### Changed
1280 + * Code improvements and optimization.
1281 + * Updated code editor to use CodeMirror 3.
1282 + * Improved compatibility with Clean Options plugin.
1283 + * Changed namespace from `cs` to `code_snippets`.
1284 + * Improved updating process.
1285 + * Move css and js under assets.
1286 + * Organized CodeMirror scripts.
1287 + * Store multisite only options in site options table.
1288 + * Only create snippet tables when needed.
1289 +
1290 + ### Fixed
1291 + * Fixed compatibility bugs with WordPress 3.5.
1292 +
1293 + ## [1.5.0] (2012-09-18)
1294 +
1295 + ### Added
1296 + * Added custom capabilities.
1297 + * Added 'Export to PHP' feature. ([#](https://wordpress.org/support/topic/plugin-code-snippets-suggestion-bulk-export-to-php))
1298 + * Added i18n.
1299 +
1300 + ### Changed
1301 + * Updated CodeMirror to version 2.33.
1302 + * Updated the 'Manage Snippets' page to use the WP_List_Table class.
1303 + * Added 'Screen Options' tab to 'Manage Snippets' page.
1304 + * Added search capability to 'Manage Snippets' page.
1305 + * Added views to easily filter activated, deactivated and recently activated snippets.
1306 + * Added ID column to 'Manage Snippets' page.
1307 + * Added sortable name and ID column on 'Manage Snippets' page ([#](https://wordpress.org/support/topic/plugin-code-snippets-suggestion-sort-by-snippet-name))
1308 + * Improved API.
1309 + * Lengthened snippet name field to 64 characters. ([#](https://wordpress.org/support/topic/plugin-code-snippets-snippet-title-limited-to-36-characters))
1310 +
1311 + ## [1.4.0] (2012-08-20)
1312 +
1313 + ### Added
1314 + * Added interface to Network Dashboard.
1315 +
1316 + ### Changed
1317 + * Updated uninstall to support multisite.
1318 + * Replaced EditArea with [CodeMirror](https://codemirror.net).
1319 + * Small improvements.
1320 +
1321 + ## [1.3.2] (2012-08-17)
1322 +
1323 + ### Fixed
1324 + * Fixed a bug with version 1.3.1.
1325 +
1326 + ## [1.3.1] (2012-08-17)
1327 +
1328 + ### Changed
1329 + * Changed plugin website URI.
1330 + * Cleaned up some code.
1331 +
1332 + ## [1.3.0] (2012-08-01)
1333 +
1334 + ### Added
1335 + * Added export option to 'Manage Snippets' page.
1336 + * Added 'Import Snippets' page.
1337 +
1338 + ## [1.2.0] (2012-07-29)
1339 +
1340 + ### Added
1341 + * Added code highlighting.
1342 +
1343 + ### Changed
1344 + * Minor improvements.
1345 + * Data will now be cleaned up when plugin is deleted through WordPress admin.
1346 +
1347 + ### Removed
1348 + * Removed 'Uninstall Plugin' page.
1349 +
1350 + ## [1.1.0] (2012-06-24)
1351 +
1352 + ### Fixed
1353 + * Fixed a permissions bug with `DISALLOW_FILE_EDIT` being set to true. ([#](https://wordpress.org/support/topic/plugin-code-snippets-cant-add-new))
1354 + * Fixed a bug with the page title reading 'Add New Snippet' on the 'Edit Snippets' page.
1355 + * Fixed a bug not allowing the plugin to be Network Activated. ([#](https://wordpress.org/support/topic/plugin-code-snippets-network-activate-does-not-create-snippets-tables))
1356 +
1357 + ## [1.0.0] (2012-06-13)
1358 +
1359 + ### Added
1360 + * Stable version released.
1361 +
1362 + [brandonjp]: https://github.com/brandonjp
1363 +
1364 + [unreleased]: https://github.com/codesnippetspro/code-snippets/tree/core
1365 + [3.7.0]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.7.0
1366 + [3.6.7]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.6.7
1367 + [3.6.6.1]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.6.6.1
1368 + [3.6.6]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.6.6
1369 + [3.6.5]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.6.5
1370 + [3.6.4]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.6.4
1371 + [3.6.3]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.6.3
1372 + [3.6.2]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.6.2
1373 + [3.6.1]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.6.1
1374 + [3.6.0]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.6.0
1375 + [3.5.1]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.5.1
1376 + [3.5.0]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.5.0
1377 + [3.4.2]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.4.2
1378 + [3.4.1]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.4.1
1379 + [3.4.0]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.4.0
1380 + [3.3.0]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.3.0
1381 + [3.2.2]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.2.2
1382 + [3.2.1]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.2.1
1383 + [3.2.0]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.2.0
1384 + [3.1.2]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.1.2
1385 + [3.1.1]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.1.1
1386 + [3.1.0]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.1.0
1387 + [3.0.1]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.0.1
1388 + [3.0.0]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.0.0
1389 + [2.14.6]: https://github.com/codesnippetspro/code-snippets/releases/tag/v2.14.6
1390 + [2.14.5]: https://github.com/codesnippetspro/code-snippets/releases/tag/v2.14.5
1391 + [2.14.4]: https://github.com/codesnippetspro/code-snippets/releases/tag/v2.14.4
1392 + [2.14.3]: https://github.com/codesnippetspro/code-snippets/releases/tag/v2.14.3
1393 + [2.14.2]: https://github.com/codesnippetspro/code-snippets/releases/tag/v2.14.2
1394 + [2.14.1]: https://github.com/codesnippetspro/code-snippets/releases/tag/v2.14.1
1395 + [2.14.0]: https://github.com/codesnippetspro/code-snippets/releases/tag/v2.14.0
1396 + [2.13.3]: https://github.com/codesnippetspro/code-snippets/releases/tag/v2.13.3
1397 + [2.13.2]: https://github.com/codesnippetspro/code-snippets/releases/tag/v2.13.2
1398 + [2.13.1]: https://github.com/codesnippetspro/code-snippets/releases/tag/v2.13.1
1399 + [2.13.0]: https://github.com/codesnippetspro/code-snippets/releases/tag/v2.13.0
1400 + [2.12.1]: https://github.com/codesnippetspro/code-snippets/releases/tag/v2.12.1
1401 + [2.12.0]: https://github.com/codesnippetspro/code-snippets/releases/tag/v2.12.0
1402 + [2.11.0]: https://github.com/codesnippetspro/code-snippets/releases/tag/v2.11.0
1403 + [2.10.2]: https://github.com/codesnippetspro/code-snippets/releases/tag/v2.10.2
1404 + [2.10.1]: https://github.com/codesnippetspro/code-snippets/releases/tag/v2.10.1
1405 + [2.10.0]: https://github.com/codesnippetspro/code-snippets/releases/tag/v2.10.0
1406 + [2.9.6]: https://github.com/codesnippetspro/code-snippets/releases/tag/v2.9.6
1407 + [2.9.5]: https://github.com/codesnippetspro/code-snippets/releases/tag/v2.9.5
1408 + [2.9.4]: https://github.com/codesnippetspro/code-snippets/releases/tag/v2.9.4
1409 + [2.9.3]: https://github.com/codesnippetspro/code-snippets/releases/tag/v2.9.3
1410 + [2.9.2]: https://github.com/codesnippetspro/code-snippets/releases/tag/v2.9.2
1411 + [2.9.1]: https://github.com/codesnippetspro/code-snippets/releases/tag/v2.9.1
1412 + [2.9.0]: https://github.com/codesnippetspro/code-snippets/releases/tag/v2.9.0
1413 + [2.8.7]: https://github.com/codesnippetspro/code-snippets/releases/tag/v2.8.7
1414 + [2.8.6]: https://github.com/codesnippetspro/code-snippets/releases/tag/v2.8.6
1415 + [2.8.5]: https://github.com/codesnippetspro/code-snippets/releases/tag/v2.8.5
1416 + [2.8.4]: https://github.com/codesnippetspro/code-snippets/releases/tag/v2.8.4
1417 + [2.8.3]: https://github.com/codesnippetspro/code-snippets/releases/tag/v2.8.3
1418 + [2.8.2]: https://github.com/codesnippetspro/code-snippets/releases/tag/v2.8.2
1419 + [2.8.1]: https://github.com/codesnippetspro/code-snippets/releases/tag/v2.8.1
1420 + [2.8.0]: https://github.com/codesnippetspro/code-snippets/releases/tag/v2.8.0
1421 + [2.7.3]: https://github.com/codesnippetspro/code-snippets/releases/tag/v2.7.3
1422 + [2.7.2]: https://github.com/codesnippetspro/code-snippets/releases/tag/v2.7.2
1423 + [2.7.1]: https://github.com/codesnippetspro/code-snippets/releases/tag/v2.7.1
1424 + [2.7.0]: https://github.com/codesnippetspro/code-snippets/releases/tag/v2.7.0
1425 + [2.6.1]: https://github.com/codesnippetspro/code-snippets/releases/tag/v2.6.1
1426 + [2.6.0]: https://github.com/codesnippetspro/code-snippets/releases/tag/v2.6.0
1427 + [2.5.1]: https://github.com/codesnippetspro/code-snippets/releases/tag/v2.5.1
1428 + [2.5.0]: https://github.com/codesnippetspro/code-snippets/releases/tag/v2.5.0
1429 + [2.4.2]: https://github.com/codesnippetspro/code-snippets/releases/tag/v2.4.2
1430 + [2.4.1]: https://github.com/codesnippetspro/code-snippets/releases/tag/v2.4.1
1431 + [2.4.0]: https://github.com/codesnippetspro/code-snippets/releases/tag/v2.4.0
1432 + [2.3.0]: https://github.com/codesnippetspro/code-snippets/releases/tag/v2.3.0
1433 + [2.2.3]: https://github.com/codesnippetspro/code-snippets/releases/tag/v2.2.3
1434 + [2.2.2]: https://github.com/codesnippetspro/code-snippets/releases/tag/v2.2.2
1435 + [2.2.1]: https://github.com/codesnippetspro/code-snippets/releases/tag/v2.2.1
1436 + [2.2.0]: https://github.com/codesnippetspro/code-snippets/releases/tag/v2.2.0
1437 + [2.1.0]: https://github.com/codesnippetspro/code-snippets/releases/tag/v2.1.0
1438 + [2.0.3]: https://github.com/codesnippetspro/code-snippets/releases/tag/v2.0.3
1439 + [2.0.2]: https://github.com/codesnippetspro/code-snippets/releases/tag/v2.0.2
1440 + [2.0.1]: https://github.com/codesnippetspro/code-snippets/releases/tag/v2.0.1
1441 + [2.0.0]: https://github.com/codesnippetspro/code-snippets/releases/tag/v2.0.0
1442 + [1.9.1.1]: https://github.com/codesnippetspro/code-snippets/releases/tag/v1.9.1.1
1443 + [1.9.1]: https://github.com/codesnippetspro/code-snippets/releases/tag/v1.9.1
1444 + [1.9.0]: https://github.com/codesnippetspro/code-snippets/releases/tag/v1.9.0
1445 + [1.8.1.1]: https://github.com/codesnippetspro/code-snippets/releases/tag/v1.8.1.1
1446 + [1.8.1]: https://github.com/codesnippetspro/code-snippets/releases/tag/v1.8.1
1447 + [1.8.0]: https://github.com/codesnippetspro/code-snippets/releases/tag/v1.8.0
1448 + [1.7.1.2]: https://github.com/codesnippetspro/code-snippets/releases/tag/v1.7.1.2
1449 + [1.7.1.1]: https://github.com/codesnippetspro/code-snippets/releases/tag/v1.7.1.1
1450 + [1.7.1]: https://github.com/codesnippetspro/code-snippets/releases/tag/v1.7.1
1451 + [1.7.0]: https://github.com/codesnippetspro/code-snippets/releases/tag/v1.7.0
1452 + [1.6.1]: https://github.com/codesnippetspro/code-snippets/releases/tag/v1.6.1
1453 + [1.6.0]: https://github.com/codesnippetspro/code-snippets/releases/tag/v1.6.0
1454 + [1.5.0]: https://github.com/codesnippetspro/code-snippets/releases/tag/v1.5.0
1455 + [1.4.0]: https://github.com/codesnippetspro/code-snippets/releases/tag/v1.4.0
1456 + [1.3.2]: https://github.com/codesnippetspro/code-snippets/releases/tag/v1.3.2
1457 + [1.3.1]: https://github.com/codesnippetspro/code-snippets/releases/tag/v1.3.1
1458 + [1.3.0]: https://github.com/codesnippetspro/code-snippets/releases/tag/v1.3.0
1459 + [1.2.0]: https://github.com/codesnippetspro/code-snippets/releases/tag/v1.2.0
1460 + [1.1.0]: https://github.com/codesnippetspro/code-snippets/releases/tag/v1.1.0
1461 + [1.0.0]: https://github.com/codesnippetspro/code-snippets/releases/tag/v1.0.0
1462 +