PluginProbe
Code Snippets / 4.0.0-beta.2
Code Snippets v4.0.0-beta.2
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 3.0.0 All 65 releases
← All changes | CHANGELOG.md +235 -88 3.10.0 → 4.0.0-beta.2 View file →
@@ -1,29 +1,141 @@
1 1 # Changelog
2 2
3 +## [4.0.0] (UPCOMING)
4 +
5 +### Added
6 +* AI Agent for building snippets from a description: it proposes a plan you can refine or approve before any code is
7 + written, and can revise the snippets it created. (PRO)
8 +* Snippet revisions, with a history of past versions, a side-by-side diff against the current code, and one-click
9 + restore. (PRO)
10 +* Display conditions for controlling where and when a snippet runs, without writing the checks by hand. (PRO)
11 +* Per-role snippet permissions, so you can decide which roles may view, edit, activate, or delete snippets. (PRO)
12 +* Blueprints for setting up a site from a saved collection of snippets and settings. (PRO)
13 +* Flat file storage, for keeping snippets as files so they can be version-controlled alongside the rest of a site. (PRO)
14 +* "Ran on this page" tracking, showing which snippets actually executed on the page you are viewing. (PRO)
15 +* Natural-language search in Community Cloud, so you can describe what you need instead of guessing keywords. (PRO)
16 +* Snippet deployment from Code Snippets Cloud to connected sites, including deploying several snippets under one shared
17 + display condition. (PRO)
18 +* Installing a cloud bundle onto a connected site as a standalone plugin. (PRO)
19 +* Updating Code Snippets Pro on a connected site from the cloud dashboard. (PRO)
20 +* Drift detection, which reports when a snippet on the site no longer matches the copy stored in the cloud. (PRO)
21 +* New admin interface for managing snippets, with a cleaner layout, faster interactions, and a more consistent
22 + experience across plugin screens. (PRO)
23 +* Card view for browsing snippets, with a view switcher on the snippets table and Community Cloud. (PRO)
24 +* Snippet preview modal for viewing snippet code from the snippets table without opening the editor. (PRO)
25 +* Automatic hiding of unrelated admin notices from other plugins on Code Snippets screens. (PRO)
26 +* Admin bar snippet drawer, based on the Deckerweb Snippets workflow, for quick access to snippets and Safe Mode from
27 + the WordPress admin bar. (PRO)
28 +* Snippet locking to help prevent accidental edits or deletion of important snippets. Props
29 + to https://github.com/mgiannopoulos24. (PRO)
30 +* Improved screen options on the main snippets table, including controls for visible columns and truncating long snippet
31 + names or descriptions. (PRO)
32 +* Bulk actions and bulk code download support in the redesigned snippets table. (PRO)
33 +* Featured snippets and improved browsing in Community Cloud. (PRO)
34 +* WordPress modern theme admin styling compatibility. (PRO)
35 +* Clearer accessibility labels, headings, tab markup, table checkboxes, sort buttons, copy buttons, and drag-and-drop
36 + upload controls. (PRO)
37 +* Feedback reporter for sending bug reports, feature requests and general feedback from the plugin screens, with an
38 + optional summary of the site environment so the team can reproduce the problem. (PRO)
39 +
40 +### Changed
41 +* Redesigned the main snippets table with improved search, filtering, sorting, pagination, row actions, and bulk
42 + selection. (PRO)
43 +* Improved the snippet import and migration experience, including clearer file upload handling and third-party plugin
44 + migration flows. (PRO)
45 +* Improved snippet error handling so activation failures, validation errors, and stack traces are easier to understand.
46 + (PRO)
47 +* Improved Community Cloud search and filtering, including server-side filters, better result loading, and clearer empty
48 + states. (PRO)
49 +* Updated the welcome screen, toolbar, import screen, and cloud screens to match the new admin experience. (PRO)
50 +* Updated internal plugin architecture to a cleaner PSR-4 structure for better long-term maintainability. (PRO)
51 +* Improved accessibility across the snippets table, import screen, migration flow, Community Cloud, welcome screen,
52 + toolbar, dialogs, tooltips, and code editor. (PRO)
53 +* Improved colour contrast and reduced-motion support across admin screens. (PRO)
54 +* Faster loading of large code vaults, which are now fetched a page at a time instead of all at once. (PRO)
55 +
56 +### Fixed
57 +* Fixed AI conversations from one connected site being visible from another. (PRO)
58 +* Fixed a snippet list stored in Code Snippets Cloud being emptied when the site was temporarily unable to read its own
59 + snippets. (PRO)
60 +* Fixed REST API server error responses on missing snippets. (PRO)
61 +* Fixed redundant frontend logic, improving overall performance. (PRO)
62 +* Fixed Community Cloud search results and pagination to respect WordPress screen options. (PRO)
63 +* Fixed snippet saving and activation feedback to improve validation and runtime error display. (PRO)
64 +* Fixed downloaded Community Cloud snippets appearing as not downloaded after a page reload. (PRO)
65 +* Fixed network snippet lookups using the wrong database table on multisite. (PRO)
66 +* Fixed the inactive snippets count including trashed snippets. (PRO)
67 +* Fixed featured Community Cloud snippets failing to load with some cloud API responses. (PRO)
68 +* Fixed bulk actions in Community Cloud running against an empty selection, so selected snippets were never downloaded.
69 + (PRO)
70 +
71 +## [3.10.2] (2026-09-01)
72 +
73 +### Added
74 +* Added a confirmation flow for run-once snippet execution and hardened the handler to prevent failed or confusing
75 + actions.
76 +
77 +### Changed
78 +* Snippet names now respect the row truncation Screen Option in the admin list for better readability.
79 +* Version switching AJAX requests now validate the correct nonce, improving reliability when updating snippet versions.
80 +
81 +### Fixed
82 +* Fixed safe mode fatal errors caused by an undefined wp_get_current_user () call.
83 +* Fixed PHP validation being triggered incorrectly when activating snippets in bulk.
84 +* Fixed saving issues after a user session expires.
85 +* Fixed warnings caused by aliased field names when reading modified snippet fields.
86 +* Fixed vendor autoloader issues by stripping unprefixed namespace references.
87 +* Resolved issues where snippet names and version switches could behave inconsistently in the admin UI.
88 +
89 +## [3.10.1] (2026-08-28)
90 +
91 +### Changed
92 +* Enhanced active-link visibility in the toolbar with border-based styling.
93 +
94 +### Fixed
95 +* Fixed a fatal error affecting snippets that use a `namespace` or `declare` statement.
96 +* Fixed the snippets page rendering blank when another plugin's screen settings filter returned an invalid value.
97 +* Fixed snippet saving on hosts that block REST API `PUT` and `PATCH` requests, by sending writes as `POST` with a
98 + method override.
99 +* Fixed the Snippets List Order setting not being applied to the snippets list.
100 +* Fixed admin bar snippet scripts failing to load on the free version, including on the site front end.
101 +* Fixed snippet modified dates being sent without the correct UTC offset.
102 +* Fixed the row truncation screen option not persisting across sessions.
103 +* Fixed inconsistent sidebar label sizes.
104 +* Fixed the sticky editor sidebar showing an unwanted horizontal scrollbar.
105 +
3 106 ## [3.10.0] (2026-08-24)
4 107
5 108 ### Added
6 -* New admin interface for managing snippets, with a cleaner layout, faster interactions, and a more consistent experience across plugin screens.
109 +* New admin interface for managing snippets, with a cleaner layout, faster interactions, and a more consistent
110 + experience across plugin screens.
7 111 * Card view for browsing snippets, with a view switcher on the snippets table and Community Cloud.
8 112 * Snippet preview modal for viewing snippet code from the snippets table without opening the editor.
9 113 * Automatic hiding of unrelated admin notices from other plugins on Code Snippets screens.
10 -* Admin bar snippet drawer, based on the Deckerweb Snippets workflow, for quick access to snippets and Safe Mode from the WordPress admin bar.
11 -* Snippet locking to help prevent accidental edits or deletion of important snippets. Props to https://github.com/mgiannopoulos24.
12 -* Improved screen options on the main snippets table, including controls for visible columns and truncating long snippet names or descriptions.
114 +* Admin bar snippet drawer, based on the Deckerweb Snippets workflow, for quick access to snippets and Safe Mode from
115 + the WordPress admin bar.
116 +* Snippet locking to help prevent accidental edits or deletion of important snippets. Props
117 + to https://github.com/mgiannopoulos24.
118 +* Improved screen options on the main snippets table, including controls for visible columns and truncating long snippet
119 + names or descriptions.
13 120 * Bulk actions and bulk code download support in the redesigned snippets table.
14 121 * Featured snippets and improved browsing in Community Cloud.
15 122 * WordPress modern theme admin styling compatibility.
16 -* Clearer accessibility labels, headings, tab markup, table checkboxes, sort buttons, copy buttons, and drag-and-drop upload controls.
123 +* Clearer accessibility labels, headings, tab markup, table checkboxes, sort buttons, copy buttons, and drag-and-drop
124 + upload controls.
17 125
18 126 ### Changed
19 -* Redesigned the main snippets table with improved search, filtering, sorting, pagination, row actions, and bulk selection.
20 -* Improved the snippet import and migration experience, including clearer file upload handling and third-party plugin migration flows.
127 +* Redesigned the main snippets table with improved search, filtering, sorting, pagination, row actions, and bulk
128 + selection.
129 +* Improved the snippet import and migration experience, including clearer file upload handling and third-party plugin
130 + migration flows.
21 131 * Improved snippet error handling so activation failures, validation errors, and stack traces are easier to understand.
22 -* Improved Community Cloud search and filtering, including server-side filters, better result loading, and clearer empty states.
132 +* Improved Community Cloud search and filtering, including server-side filters, better result loading, and clearer empty
133 + states.
23 134 * Updated the welcome screen, toolbar, import screen, and cloud screens to match the new admin experience.
24 135 * Updated internal plugin architecture to a cleaner PSR-4 structure for better long-term maintainability.
25 -* Improved accessibility across the snippets table, import screen, migration flow, Community Cloud, welcome screen, toolbar, dialogs, tooltips, and code editor.
136 +* Improved accessibility across the snippets table, import screen, migration flow, Community Cloud, welcome screen,
137 + toolbar, dialogs, tooltips, and code editor.
26 138 * Improved colour contrast and reduced-motion support across admin screens.
27 139
28 140 ### Fixed
29 141 * Fixed REST API server error responses on missing snippets.
@@ -49,9 +161,10 @@
49 161 ## [3.9.4] (2026-01-14)
50 162
51 163 ### Added
52 164 * New import functionality to migrate snippets from file uploads with drag-and-drop interface.
53 -* Support for importing snippets from other popular plugins (Header Footer Code Manager, Insert Headers and Footers, Insert PHP Code Snippet).
165 +* Support for importing snippets from other popular plugins (Header Footer Code Manager, Insert Headers and Footers,
166 + Insert PHP Code Snippet).
54 167 * Enhanced file based execution support with improved multisite mode compatibility.
55 168
56 169 ### Fixed
57 170 * Fixed multisite capability checks in Plugin class.
@@ -60,9 +173,10 @@
60 173
61 174 ## [3.9.3] (2025-12-03)
62 175
63 176 ### Added
64 -* End-to-end tests to verify the toggle visual state in the snippets list page, improving UI verification and test reliability.
177 +* End-to-end tests to verify the toggle visual state in the snippets list page, improving UI verification and test
178 + reliability.
65 179
66 180 ### Fixed
67 181 * Restored missing styles styling and direction-aware layout from Manage menu.
68 182 * Ensure correct transformation value is used when detecting state of activation toggle.
@@ -97,9 +211,10 @@
97 211 * Added contextual notices in the Snippets list table to surface action results and warnings in the UI
98 212 * Expanded Multisite Sharing settings for clearer control over network-wide snippet sharing
99 213
100 214 ### Changed
101 -* Modernized browser support targets and polished admin UI (clearer row-action badges, improved Pro badge hover, refined active snippet name styling)
215 +* Modernized browser support targets and polished admin UI (clearer row-action badges, improved Pro badge hover, refined
216 + active snippet name styling)
102 217
103 218 ### Fixed
104 219 * Fixed REST API pagination to return correct results and page counts
105 220 * Resolved styling selector so the active snippet name highlights reliably
@@ -209,9 +324,10 @@
209 324 * Created proper form for sharing beta feedback.
210 325 * Improved UX of snippet activation toggle.
211 326
212 327 ### Fixed
213 -* Fetching active snippets on a multisite network now respects the 'priority' field above all else when ordering snippets.
328 +* Fetching active snippets on a multisite network now respects the 'priority' field above all else when ordering
329 + snippets.
214 330 * Cloud search appears correctly and allows downloading snippets in the free version of Code Snippets.
215 331 * Improved performance of loading admin menu icon.
216 332
217 333 ## [3.6.9] (2025-02-17)
@@ -216,9 +332,10 @@
216 332
217 333 ## [3.6.9] (2025-02-17)
218 334
219 335 ### Changed
220 -* Updated `Cloud_API::get_bundles()` to properly check bundle data and return an empty array if no valid bundles are present.
336 +* Updated `Cloud_API::get_bundles()` to properly check bundle data and return an empty array if no valid bundles are
337 + present.
221 338 * Refactored `Cloud_List_Table::fetch_snippets()` to always return a valid `Cloud_Snippets` instance.
222 339 * Cleaned up bundle iteration code and improved translation handling in the bundles view.
223 340
224 341 ### Fixed
@@ -232,9 +349,10 @@
232 349 ### Changed
233 350 * Updated Freemius SDK to the latest version. (PRO)
234 351
235 352 ### Removed
236 -* Functionality allowing `[code_snippet]` shortcodes to be embedded recursively – it will be re-added in a future version.
353 +* Functionality allowing `[code_snippet]` shortcodes to be embedded recursively – it will be re-added in a future
354 + version.
237 355
238 356 ### Fixed
239 357 * Shortcodes embedded within `[code_snippet]` shortcodes not evaluating correctly.
240 358 * Translation functions being called too early in some instances when loading plugin settings.
@@ -245,17 +363,21 @@
245 363 ## [3.6.7] (2025-01-24)
246 364
247 365 ### Added
248 366 * Generated snippet shortcode tags will include the snippet name, for easier identification.
249 -* Admin notices will dismiss automatically after five seconds. ([#208](https://github.com/codesnippetspro/code-snippets/issues/208))
367 +* Admin notices will dismiss automatically after five seconds.
368 + ([#208](https://github.com/codesnippetspro/code-snippets/issues/208))
250 369
251 370 ### Changed
252 371 * Updated CSS to use latest Sass features.
253 -* Moved theme selector to just above editor preview on settings page (thanks to [brandonjp]). ([#206](https://github.com/codesnippetspro/code-snippets/issues/206))
254 -* `[code_snippet]` shortcodes can now be nested within each other. ([#198](https://github.com/codesnippetspro/code-snippets/issues/198))
372 +* Moved theme selector to just above editor preview on settings page (thanks to [brandonjp]).
373 + ([#206](https://github.com/codesnippetspro/code-snippets/issues/206))
374 +* `[code_snippet]` shortcodes can now be nested within each other.
375 + ([#198](https://github.com/codesnippetspro/code-snippets/issues/198))
255 376
256 377 ### Fixed
257 -* Save buttons above editor did not follow usual validation process in Pro. (PRO) ([#197](https://github.com/codesnippetspro/code-snippets/issues/197))
378 +* Save buttons above editor did not follow usual validation process in Pro. (PRO)
379 + ([#197](https://github.com/codesnippetspro/code-snippets/issues/197))
258 380 * Minor inconsistencies in consistent UI elements between Core and Pro.
259 381 * Tags input not allowing input. ([#211](https://github.com/codesnippetspro/code-snippets/issues/211))
260 382 * Issue with Elementor source code widget. (PRO) ([#205](https://github.com/codesnippetspro/code-snippets/issues/205))
261 383 * Snippet descriptions not visible when viewing cloud search results.
@@ -379,15 +501,18 @@
379 501 * Redirect to snippets table when deleting snippet from the edit menu.
380 502 * Scroll new notices into view on edit menu.
381 503
382 504 ### Fixed
383 -* Error when attempting to update network shared snippets after saving. [[#](https://wordpress.org/support/topic/activating-snippets-breaks-on-wordpress-6-3/)]
505 +* Error when attempting to update network shared snippets after
506 + saving. [[#](https://wordpress.org/support/topic/activating-snippets-breaks-on-wordpress-6-3/)]
384 507
385 508 ## [3.4.2] (2023-07-05)
386 509
387 510 ### Fixed
388 -* Issue causing export process to fail with fatal error. [[#](https://wordpress.org/support/topic/critical-error-on-exporting-snippets/)]
389 -* Type issue on `the_posts` filter when no posts available. [[#](https://wordpress.org/support/topic/collision-with-plugin-xml-sitemap-google-news/)]
511 +* Issue causing export process to fail with fatal
512 + error. [[#](https://wordpress.org/support/topic/critical-error-on-exporting-snippets/)]
513 +* Type issue on `the_posts` filter when no posts
514 + available. [[#](https://wordpress.org/support/topic/collision-with-plugin-xml-sitemap-google-news/)]
390 515
391 516 ## [3.4.1] (2023-06-29)
392 517
393 518 ### Added
@@ -393,16 +518,20 @@
393 518 ### Added
394 519 * Added better debugging when calling REST API methods from the edit menu.
395 520
396 521 ### Changed
397 -* 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/)]
522 +* Escape special characters when sending snippet code through AJAX to avoid false-positives from security
523 + modules. [[#](https://wordpress.org/support/topic/latest-3-4-0-ajax-bug-cannot-save-snippets-403-error/)]
398 524 * Only display the latest update or error notice on the edit page, instead of allowing them to stack.
399 525
400 526 ### Fixed
401 -* Undefined array key error. [[#](https://wordpress.org/support/topic/after-updating-occasionally-getting-undefined-array-key-query/)]
402 -* Potential type issue when loading Prism. [[#](https://wordpress.org/support/topic/code-snippets-fatal-error-breaking-xml-sitemaps/)]
527 +* Undefined array key
528 + error. [[#](https://wordpress.org/support/topic/after-updating-occasionally-getting-undefined-array-key-query/)]
529 +* Potential type issue when loading
530 + Prism. [[#](https://wordpress.org/support/topic/code-snippets-fatal-error-breaking-xml-sitemaps/)]
403 531 * Potential type issue when sorting snippets. [[#](https://github.com/codesnippetspro/code-snippets/issues/166)]
404 -* Issue preventing asset revision numbers from updating correctly. (PRO) [[#](https://github.com/codesnippetspro/code-snippets/issues/166)]
532 +* Issue preventing asset revision numbers from updating correctly.
533 + (PRO) [[#](https://github.com/codesnippetspro/code-snippets/issues/166)]
405 534
406 535 ## [3.4.0] (2023-05-17)
407 536
408 537 ### Added
@@ -411,12 +540,12 @@
411 540
412 541 ### Changed
413 542 * Better compatibility with modern versions of PHP (7.0+).
414 543 * Converted Edit/Add New Snippet page to use React:
415 - - Converted action buttons to asynchronously use REST API endpoints through AJAX.
416 - - Load page components dynamically through React.
417 - - Added action notice queue system
418 - - Replaced native alert dialog with proper React modal.
544 + - Converted action buttons to asynchronously use REST API endpoints through AJAX.
545 + - Load page components dynamically through React.
546 + - Added action notice queue system
547 + - Replaced native alert dialog with proper React modal.
419 548 * Catch snippet execution errors to prevent site from crashing.
420 549 * Display recent snippet errors in admin dashboard instead.
421 550 * Updated editor block to use new REST API endpoints. (PRO)
422 551 * Change colour of upgrade notice in Pro plugin. (PRO)
@@ -434,9 +563,10 @@
434 563 ## [3.3.0] (2023-03-09)
435 564
436 565 ### Added
437 566 * Added additional editor shortcuts to list in tooltip.
438 -* Filter for changing Snippets admin menu position. [See this help article for more information.](https://codesnippets.pro/doc/snippets-menu-location/)
567 +* Filter for changing Snippets admin menu
568 + position. [See this help article for more information.](https://codesnippets.pro/doc/snippets-menu-location/)
439 569 * Ability to filter shortcode output. Thanks to contributions from [Jack Szwergold](https://github.com/JackSzwergold).
440 570
441 571 ### Fixed
442 572 * Do not enqueue CSS or JS snippet file if no snippets exist. (PRO)
@@ -451,12 +581,14 @@
451 581 ## [3.2.1] (2022-10-05)
452 582
453 583 ### Added
454 584 * `Ctrl`+`/` or `Cmd`+`/` as shortcut for commenting out code in the snippet editor.
455 -* Additional hooks to various snippet actions, thanks to contributions made by [ancient-spirit](https://github.com/ancient-spirit).
585 +* Additional hooks to various snippet actions, thanks to contributions made
586 + by [ancient-spirit](https://github.com/ancient-spirit).
456 587 * Fold markers, additional keyboard shortcuts and keymap options to snippet editor,
457 588 thanks to contributions made by [Amaral Krichman](https://github.com/karmaral).
458 -* WP-CLI commands for retrieving, activating, deactivating, deleting, creating, updating, exporting and importing snippets.
589 +* WP-CLI commands for retrieving, activating, deactivating, deleting, creating, updating, exporting and importing
590 + snippets.
459 591
460 592 ### Changed
461 593 * Removed duplicate tables exist query. ([#](https://wordpress.org/support/topic/duplicate-queries-21)).
462 594 * Enabled 'add paragraphs and formatting' option by default for newly inserted content snippets.
@@ -473,9 +605,10 @@
473 605 * Additional features to front-end PrismJS code highlighter, including automatic links and a copy button.
474 606 * Support for multiple code styles in the source code Gutenberg editor block. (PRO)
475 607 * Admin notice announcing release of Code Snippets Pro.
476 608 * Button for copying shortcode text to clipboard.
477 -* Option to choose from 44 different themes for the Prism code highlighter in the source editor block and Elementor widget. (PRO)
609 +* Option to choose from 44 different themes for the Prism code highlighter in the source editor block and Elementor
610 + widget. (PRO)
478 611
479 612 ### Changed
480 613 * Include Code Snippets CSS and JS source code in distributed package.
481 614 * Don't delete data from plugin if deleting Code Snippets Free while Code Snippets Pro is active.
@@ -592,17 +725,18 @@
592 725
593 726 ## [2.14.3] (2021-12-10)
594 727
595 728 ### Fixed
596 -* Potential security issue outputting snippets-safe-mode query variable value as-is. Thanks to Krzysztof Zając for reporting.
729 +* Potential security issue outputting snippets-safe-mode query variable value as-is. Thanks to Krzysztof Zając for
730 + reporting.
597 731
598 732 ## [2.14.2] (2021-09-09)
599 733
600 734 ### Added
601 735 * Added translations:
602 - - Spanish by [Ibidem Group](https://www.ibidemgroup.com)
603 - - Urdu by [Samuel Badree](https://mobilemall.pk/)
604 - - Greek by [Toni Bishop from Jrop](https://www.jrop.com/)
736 + - Spanish by [Ibidem Group](https://www.ibidemgroup.com)
737 + - Urdu by [Samuel Badree](https://mobilemall.pk/)
738 + - Greek by [Toni Bishop from Jrop](https://www.jrop.com/)
605 739 * Support for `:class` syntax to the code validator.
606 740 * PHP8 support to the code linter.
607 741 * Color picker feature to the code editor.
608 742 * Failsafe to prevent multiple versions of Code Snippets from running simultaneously.
@@ -623,9 +757,10 @@
623 757 ### Fixed
624 758 * Code validator now supports `function_exists` and `class_exists` checks.
625 759 * Code validator now supports anonymous functions.
626 760 * Issue with saving the hidden columns setting.
627 -* Replaced the outdated tag-it library with [tagger](https://github.com/jcubic/tagger) for powering the snippet tags editor.
761 +* Replaced the outdated tag-it library with [tagger](https://github.com/jcubic/tagger) for powering the snippet tags
762 + editor.
628 763
629 764 ## [2.14.0] (2020-01-26)
630 765
631 766 ### Added
@@ -644,9 +779,10 @@
644 779 * Code editor will now properly highlight embedded HTML, CSS and JavaScript code.
645 780 * Fixed a bug preventing the editor theme from being set to default.
646 781 * Ensure that imported snippets are always inactive.
647 782 * Check the referer on the import menu to prevent CSRF attacks.
648 - Thanks to [Chloe with the Wordfence Threat Intelligence team](https://www.wordfence.com/blog/author/wfchloe/) for reporting.
783 + Thanks to [Chloe with the Wordfence Threat Intelligence team](https://www.wordfence.com/blog/author/wfchloe/) for
784 + reporting.
649 785 * Ensure that individual snippet action links use proper verification.
650 786
651 787 ## [2.13.3] (2019-03-13)
652 788
@@ -691,9 +827,10 @@
691 827
692 828 ## [2.13.0] (2018-12-17)
693 829
694 830 ### Added
695 -* 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/)]
831 +* Search/replace functionality to the snippet
832 + 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/)]
696 833 * Option to make admin menu more compact.
697 834 * Added additional styles to editor settings preview.
698 835 * PHP linter to code editor.
699 836
@@ -711,9 +848,10 @@
711 848 ### Changed
712 849 * CodeMirror updated to version 5.41.0.
713 850 * Attempt to create database columns that might be missing after a table upgrade.
714 851 * Streamlined upgrade process.
715 -* Made search box appear at top of page on mobile. [[#](https://wordpress.org/support/topic/small-modification-for-mobile-ux/)]
852 +* Made search box appear at top of page on
853 + mobile. [[#](https://wordpress.org/support/topic/small-modification-for-mobile-ux/)]
716 854 * Updated screenshots.
717 855
718 856 ### Fixed
719 857 * Interface layout on sites using right-to-left languages.
@@ -768,9 +906,9 @@
768 906 ## [2.10.1] (2018-02-10)
769 907
770 908 ### Fixed
771 909 * Prevent errors when trying to export no snippets.
772 -* Use wp_json_encode() to encode export data.
910 +* Use wp_json_encode () to encode export data.
773 911 * Check both the file extension and MIME type of uploaded import files.
774 912
775 913 ## [2.10.0] (2018-01-18)
776 914
@@ -840,9 +978,9 @@
840 978 ## [2.9.0] (2017-09-06)
841 979
842 980 ### Changed
843 981 * Moved code to disable snippet execution into a filter hook.
844 -* execute_active_snippets() function updated with improved efficiency.
982 +* execute_active_snippets () function updated with improved efficiency.
845 983 * Renamed Snippet class to avoid name collisions with other plugins.
846 984 * Don't hide output when executing a snippet.
847 985
848 986 ### Fixed
@@ -858,10 +996,12 @@
858 996
859 997 ## [2.8.6] (2017-05-14)
860 998
861 999 ### Fixed
862 -* Fixed snippet description field alias not mapping correctly, causing snippet descriptions to not be displayed in the table or when editing a snippet.
863 -* Ensured that get_snippets() function retrieves snippets with the correct 'network' setting. Fixes snippet edit links in network admin.
1000 +* Fixed snippet description field alias not mapping correctly, causing snippet descriptions to not be displayed in the
1001 + table or when editing a snippet.
1002 +* Ensured that get_snippets () function retrieves snippets with the correct 'network' setting. Fixes snippet edit links
1003 + in network admin.
864 1004
865 1005 ## [2.8.5] (2017-05-13)
866 1006
867 1007 ### Added
@@ -903,9 +1043,10 @@
903 1043
904 1044 ### Fixed
905 1045 * Fixed admin menu items not translating.
906 1046 * Corrected editor alignment on RTL sites. ([#](https://wordpress.org/support/topic/suggestion-css-fix-for-rtl-sites/))
907 -* Fixed bulk actions running when Filter button is clicked. ([#](https://wordpress.org/support/topic/bug-with-filtering-action-buttons/))
1047 +* Fixed bulk actions running when Filter button is clicked.
1048 + ([#](https://wordpress.org/support/topic/bug-with-filtering-action-buttons/))
908 1049
909 1050 ## [2.8.0] (2016-12-14)
910 1051
911 1052 ### Changed
@@ -942,9 +1083,10 @@
942 1083 ### Changed
943 1084 * Updated CodeMirror to version 5.19.0.
944 1085
945 1086 ### Security
946 -* Ensured that the editor theme setting is properly validated. Thanks to [Netsparker](https://www.netsparker.com) for reporting.
1087 +* Ensured that the editor theme setting is properly validated. Thanks to [Netsparker](https://www.netsparker.com) for
1088 + reporting.
947 1089 * Ensured that snippet tags are properly escaped. Thanks to [Netsparker](https://www.netsparker.com) for reporting.
948 1090
949 1091 ## [2.7.0] (2016-07-23)
950 1092
@@ -958,11 +1100,13 @@
958 1100
959 1101 ### Fixed
960 1102 * Fixed plugin translations being loaded.
961 1103 * Fixed description field not being imported.
962 -* Fixed issue with CodeMirror rubyblue theme. [[#](https://wordpress.org/support/topic/a-problem-with-the-cursor-color-and-the-fix-that-worked-for-me)]
1104 +* Fixed issue with CodeMirror rubyblue
1105 + theme. [[#](https://wordpress.org/support/topic/a-problem-with-the-cursor-color-and-the-fix-that-worked-for-me)]
963 1106 * Fixed snippet fields not importing.
964 -* Fixed a minor XSS vulnerability discovered by Burak Kelebek. [[#](https://wordpress.org/support/topic/security-vulnerability-20)]
1107 +* Fixed a minor XSS vulnerability discovered by Burak
1108 + Kelebek. [[#](https://wordpress.org/support/topic/security-vulnerability-20)]
965 1109
966 1110 ## [2.6.1] (2016-02-10)
967 1111
968 1112 ### Changed
@@ -1022,9 +1166,10 @@
1022 1166
1023 1167 ## [2.4.1] (2015-09-17)
1024 1168
1025 1169 ### Fixed
1026 -* Fixed CodeMirror themes not being detected on settings page [[#](https://wordpress.org/support/topic/updated-to-240-now-i-cant-switch-theme)]
1170 +* Fixed CodeMirror themes not being detected on settings
1171 + page [[#](https://wordpress.org/support/topic/updated-to-240-now-i-cant-switch-theme)]
1027 1172
1028 1173 ## [2.4.0] (2015-09-17)
1029 1174
1030 1175 ### Added
@@ -1048,9 +1193,10 @@
1048 1193 ## [2.3.0] (2015-05-20)
1049 1194
1050 1195 ### Added
1051 1196 * Added icons for admin and front-end snippets to manage table.
1052 -* Added filter switch to prevent a snippet from executing. ([#25](https://github.com/codesnippetspro/code-snippets/issues/25))
1197 +* Added filter switch to prevent a snippet from executing.
1198 + ([#25](https://github.com/codesnippetspro/code-snippets/issues/25))
1053 1199
1054 1200 ### Changed
1055 1201 * Improved settings retrieval by caching settings.
1056 1202 * Updated Russian translation by [Alexey Chumakov](http://chumakov.ru/).
@@ -1084,9 +1230,9 @@
1084 1230 * Made minor updates to French translation file.
1085 1231
1086 1232 ### Fixed
1087 1233 * Resolved JavaScript error on edit snippet pages.
1088 -* Added polyfill for array_replace_recursive() function for PHP 5.2.
1234 +* Added polyfill for array_replace_recursive () function for PHP 5.2.
1089 1235
1090 1236 ## [2.2.1] (2015-05-10)
1091 1237
1092 1238 ### Fixed
@@ -1157,9 +1303,10 @@
1157 1303 * Added Chinese translation thanks to Jincheng Shan.
1158 1304 * Added Russian translation by Alexander Samsonov.
1159 1305 * Added Slovak translation by [Ján Fajčák] from [WordPress Slovakia](https://wp.sk).
1160 1306 * Added setting to always save and activate snippets by default.
1161 -* 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/).
1307 +* Added braces to single-line conditionals in line
1308 + with [new coding standards](https://make.wordpress.org/core/2013/11/13/proposed-coding-standards-change-always-require-braces/).
1162 1309
1163 1310 ### Changed
1164 1311 * Improved plugin file structure.
1165 1312 * Updated CodeMirror library to version 5.0.
@@ -1199,9 +1346,10 @@
1199 1346 ## [1.9.0] (2013-11-11)
1200 1347
1201 1348 ### Added
1202 1349 * Added French translation thanks to translator [oWEB](http://office-web.net).
1203 -* Added 'Save & Deactivate' button to the edit snippet page. ([#](https://wordpress.org/support/topic/deactivate-button-in-edit-snippet-page))
1350 +* Added 'Save & Deactivate' button to the edit snippet page.
1351 + ([#](https://wordpress.org/support/topic/deactivate-button-in-edit-snippet-page))
1204 1352 * Added nonce to edit snippet page.
1205 1353 * Added a fallback MP6 icon.
1206 1354
1207 1355 ### Changed
@@ -1209,10 +1357,12 @@
1209 1357 * Improved CodeMirror implementation.
1210 1358 * Updated CodeMirror to version 3.19.
1211 1359 * Updated WordPress.org plugin banner.
1212 1360 * Add and remove network capabilities as super admins are added and removed.
1213 -* Replaced buggy trim `<?php` and `?>` functionality with a much more reliable regex method. ([#](https://wordpress.org/support/topic/character-gets-cut))
1214 -* 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))
1361 +* Replaced buggy trim `<?php` and `?>` functionality with a much more reliable regex method.
1362 + ([#](https://wordpress.org/support/topic/character-gets-cut))
1363 +* Make the title of each snippet on the manage page a clickable link to edit the snippet
1364 + ([#](https://wordpress.org/support/topic/deactivate-button-in-edit-snippet-page?replies=9#post-4682757))
1215 1365 * Hide row actions on manage snippet page by default.
1216 1366 * Use the proper WordPress database APIs consistently.
1217 1367 * Rewritten export functionality.
1218 1368
@@ -1221,9 +1371,11 @@
1221 1371 * Removed screenshots from plugin.
1222 1372 * Removed CodeMirror bundled with plugin.
1223 1373
1224 1374 ### Fixed
1225 -* 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))
1375 +* Fixed snippet failing to save when code contains `%` character, props
1376 + to [nikan06](https://wordpress.org/support/profile/nikan06).
1377 + ([#](https://wordpress.org/support/topic/percent-sign-bug))
1226 1378 * Fixed HTML breaking in export files. ([#](https://wordpress.org/support/topic/import-problem-7))
1227 1379 * Fixed incorrect export filename.
1228 1380 * Fixed CodeMirror incompatibility with the WP Editor plugin.
1229 1381 * Fixed CodeMirror incompatibility with the Debug Bar Console plugin.
@@ -1247,9 +1399,11 @@
1247 1399 ### Added
1248 1400 * Added error message handling for import snippets page.
1249 1401
1250 1402 ### Changed
1251 -* 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.
1403 +* Improved database table creation method: on a single-site install, the snippets table will always be created. On a
1404 + multisite install, the network snippets table will always be created; the site-specific table will always be created
1405 + for the main site; for sub-sites the snippets table will only be created on a visit to a snippets admin page.
1252 1406 * Updated to CodeMirror 3.14.
1253 1407 * Allow no snippet name or code to be set.
1254 1408 * Prevented an error on fresh multisite installations.
1255 1409 * Refactored code to use best practices.
@@ -1273,9 +1427,10 @@
1273 1427 ## [1.7.1] (2013-04-22)
1274 1428
1275 1429 ### Added
1276 1430 * Added German translation thanks to [David Decker](https://deckerweb.de)
1277 -* 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.
1431 +* Allow or deny site administrators access to snippet admin menus. Set your preference in the **Enable Administration
1432 + Menus** setting under the *Settings > Network Settings* network admin menu.
1278 1433
1279 1434 ### Changed
1280 1435 * Updated PHP Documentation completely. [[View online](https://bungeshea.github.io/code-snippets/api)]
1281 1436 * Only load admin functions when viewing dashboard.
@@ -1288,9 +1443,10 @@
1288 1443 ## [1.7.0] (2013-03-26)
1289 1444
1290 1445 ### Added
1291 1446 * Added icon for the new MP6 admin UI ([#](https://wordpress.org/support/topic/icon-disappears-with-mp6))
1292 -* Allow plugin to be activated on individual sites on multisite ([#](https://wordpress.org/support/topic/dont-work-at-multisite))
1447 +* Allow plugin to be activated on individual sites on multisite
1448 + ([#](https://wordpress.org/support/topic/dont-work-at-multisite))
1293 1449 * Strip PHP tags from the beginning and end of a snippet on save ([#](https://wordpress.org/support/topic/php-tags))
1294 1450 * Change label in admin menu when editing a snippet.
1295 1451
1296 1452 ### Changed
@@ -1304,14 +1460,16 @@
1304 1460 ### Removed
1305 1461 * Removed HTML, CSS and JavaScript CodeMirror modes that were messing things up.
1306 1462
1307 1463 ### Fixed
1308 -* 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))
1464 +* Fixed a bug with saving snippets per page option
1465 + ([#](https://wordpress.org/support/topic/plugin-code-snippets-snippets-per-page-does-not-work#post-3710991))
1309 1466
1310 1467 ## [1.6.1] (2012-12-29)
1311 1468
1312 1469 ### Fixed
1313 -* Fixed a bug with permissions not being applied on install ([#](https://wordpress.org/support/topic/permissions-problem-after-install))
1470 +* Fixed a bug with permissions not being applied on install
1471 + ([#](https://wordpress.org/support/topic/permissions-problem-after-install))
1314 1472 * Fixed a bug in the uninstall method ([#](https://wordpress.org/support/topic/bug-in-delete-script))
1315 1473
1316 1474 ## [1.6.0] (2012-12-22)
1317 1475
@@ -1336,21 +1494,24 @@
1336 1494 ## [1.5.0] (2012-09-18)
1337 1495
1338 1496 ### Added
1339 1497 * Added custom capabilities.
1340 -* Added 'Export to PHP' feature. ([#](https://wordpress.org/support/topic/plugin-code-snippets-suggestion-bulk-export-to-php))
1498 +* Added 'Export to PHP' feature.
1499 + ([#](https://wordpress.org/support/topic/plugin-code-snippets-suggestion-bulk-export-to-php))
1341 1500 * Added i18n.
1342 1501
1343 1502 ### Changed
1344 1503 * Updated CodeMirror to version 2.33.
1345 1504 * Updated the 'Manage Snippets' page to use the WP_List_Table class:
1346 - - Added 'Screen Options' tab to 'Manage Snippets' page.
1347 - - Added search capability to 'Manage Snippets' page.
1348 - - Added views to easily filter activated, deactivated and recently activated snippets.
1349 - - Added ID column to 'Manage Snippets' page.
1350 - - Added sortable name and ID column on 'Manage Snippets' page ([#](https://wordpress.org/support/topic/plugin-code-snippets-suggestion-sort-by-snippet-name))
1505 + - Added 'Screen Options' tab to 'Manage Snippets' page.
1506 + - Added search capability to 'Manage Snippets' page.
1507 + - Added views to easily filter activated, deactivated and recently activated snippets.
1508 + - Added ID column to 'Manage Snippets' page.
1509 + - Added sortable name and ID column on 'Manage Snippets' page
1510 + ([#](https://wordpress.org/support/topic/plugin-code-snippets-suggestion-sort-by-snippet-name))
1351 1511 * Improved API.
1352 -* Lengthened snippet name field to 64 characters. ([#](https://wordpress.org/support/topic/plugin-code-snippets-snippet-title-limited-to-36-characters))
1512 +* Lengthened snippet name field to 64 characters.
1513 + ([#](https://wordpress.org/support/topic/plugin-code-snippets-snippet-title-limited-to-36-characters))
1353 1514
1354 1515 ## [1.4.0] (2012-08-20)
1355 1516
1356 1517 ### Added
@@ -1392,11 +1553,13 @@
1392 1553
1393 1554 ## [1.1.0] (2012-06-24)
1394 1555
1395 1556 ### Fixed
1396 -* Fixed a permissions bug with `DISALLOW_FILE_EDIT` being set to true. ([#](https://wordpress.org/support/topic/plugin-code-snippets-cant-add-new))
1557 +* Fixed a permissions bug with `DISALLOW_FILE_EDIT` being set to true.
1558 + ([#](https://wordpress.org/support/topic/plugin-code-snippets-cant-add-new))
1397 1559 * Fixed a bug with the page title reading 'Add New Snippet' on the 'Edit Snippets' page.
1398 -* 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))
1560 +* Fixed a bug not allowing the plugin to be Network Activated.
1561 + ([#](https://wordpress.org/support/topic/plugin-code-snippets-network-activate-does-not-create-snippets-tables))
1399 1562
1400 1563 ## [1.0.0] (2012-06-13)
1401 1564
1402 1565 ### Added
@@ -1404,24 +1567,8 @@
1404 1567
1405 1568 [brandonjp]: https://github.com/brandonjp
1406 1569
1407 1570 [unreleased]: https://github.com/codesnippetspro/code-snippets/tree/core
1408 -[3.10.0]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.10.0
1409 -[3.9.6]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.9.6
1410 -[3.9.5]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.9.5
1411 -[3.9.4]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.9.4
1412 -[3.9.3]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.9.3
1413 -[3.9.2]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.9.2
1414 -[3.9.1]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.9.1
1415 -[3.9.0]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.9.0
1416 -[3.9.0-beta.2]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.9.0-beta.2
1417 -[3.9.0-beta.1]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.9.0-beta.1
1418 -[3.8.2]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.8.2
1419 -[3.8.1]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.8.1
1420 -[3.8.0]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.8.0
1421 -[3.7.1-beta.3]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.7.1-beta.3
1422 -[3.7.1-beta.2]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.7.1-beta.2
1423 -[3.7.1-beta.1]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.7.1-beta.1
1424 1571 [3.7.0]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.7.0
1425 1572 [3.6.7]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.6.7
1426 1573 [3.6.6.1]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.6.6.1
1427 1574 [3.6.6]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.6.6