PluginProbe
Code Snippets / 4.0.0-beta.3
Code Snippets v4.0.0-beta.3
4.0.0-beta.3 4.0.0-beta.2 3.10.2 3.10.1 3.10.0 3.10.0-beta.2 3.10.0-beta.1 4.0.0-beta.1 3.9.6 trunk 2.10.0 2.10.1 2.12.0 2.12.1 2.13.0 2.13.1 2.13.2 2.13.3 2.14.0 2.14.1 2.14.2 2.14.3 2.14.4 2.14.5 2.14.6 All 66 releases
code-snippets / CHANGELOG.md

CHANGELOG.md in Code Snippets 4.0.0-beta.3, at CHANGELOG.md

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