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
← All changes | CHANGELOG.md +237 -94 3.10.1 → 4.0.0-beta.3 View file →
@@ -1,41 +1,149 @@
1 1 # Changelog
2 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 +
3 97 ## [3.10.1] (2026-08-28)
4 98
5 99 ### Changed
6 -* Enhanced active-link visibility in the toolbar with border-based styling
7 -* Standardized sidebar label font sizing for consistency
100 +* Enhanced active-link visibility in the toolbar with border-based styling.
8 101
9 102 ### Fixed
10 -* Fixed admin bar script loading on core to work correctly on front-end
11 -* Fixed snippet modification dates to send with proper UTC offset
12 -* Fixed row truncation screen option to persist correctly across sessions
13 -* Fixed sticky sidebar from displaying unwanted horizontal scrollbar
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.
14 113
15 114 ## [3.10.0] (2026-08-24)
16 115
17 116 ### Added
18 -* New admin interface for managing snippets, with a cleaner layout, faster interactions, and a more consistent experience across plugin screens.
117 +* New admin interface for managing snippets, with a cleaner layout, faster interactions, and a more consistent
118 + experience across plugin screens.
19 119 * Card view for browsing snippets, with a view switcher on the snippets table and Community Cloud.
20 120 * Snippet preview modal for viewing snippet code from the snippets table without opening the editor.
21 121 * Automatic hiding of unrelated admin notices from other plugins on Code Snippets screens.
22 -* Admin bar snippet drawer, based on the Deckerweb Snippets workflow, for quick access to snippets and Safe Mode from the WordPress admin bar.
23 -* Snippet locking to help prevent accidental edits or deletion of important snippets. Props to https://github.com/mgiannopoulos24.
24 -* Improved screen options on the main snippets table, including controls for visible columns and truncating long snippet names or descriptions.
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.
25 128 * Bulk actions and bulk code download support in the redesigned snippets table.
26 129 * Featured snippets and improved browsing in Community Cloud.
27 130 * WordPress modern theme admin styling compatibility.
28 -* Clearer accessibility labels, headings, tab markup, table checkboxes, sort buttons, copy buttons, and drag-and-drop upload controls.
131 +* Clearer accessibility labels, headings, tab markup, table checkboxes, sort buttons, copy buttons, and drag-and-drop
132 + upload controls.
29 133
30 134 ### Changed
31 -* Redesigned the main snippets table with improved search, filtering, sorting, pagination, row actions, and bulk selection.
32 -* Improved the snippet import and migration experience, including clearer file upload handling and third-party plugin migration flows.
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.
33 139 * Improved snippet error handling so activation failures, validation errors, and stack traces are easier to understand.
34 -* Improved Community Cloud search and filtering, including server-side filters, better result loading, and clearer empty states.
140 +* Improved Community Cloud search and filtering, including server-side filters, better result loading, and clearer empty
141 + states.
35 142 * Updated the welcome screen, toolbar, import screen, and cloud screens to match the new admin experience.
36 143 * Updated internal plugin architecture to a cleaner PSR-4 structure for better long-term maintainability.
37 -* Improved accessibility across the snippets table, import screen, migration flow, Community Cloud, welcome screen, toolbar, dialogs, tooltips, and code editor.
144 +* Improved accessibility across the snippets table, import screen, migration flow, Community Cloud, welcome screen,
145 + toolbar, dialogs, tooltips, and code editor.
38 146 * Improved colour contrast and reduced-motion support across admin screens.
39 147
40 148 ### Fixed
41 149 * Fixed REST API server error responses on missing snippets.
@@ -61,9 +169,10 @@
61 169 ## [3.9.4] (2026-01-14)
62 170
63 171 ### Added
64 172 * New import functionality to migrate snippets from file uploads with drag-and-drop interface.
65 -* Support for importing snippets from other popular plugins (Header Footer Code Manager, Insert Headers and Footers, Insert PHP Code Snippet).
173 +* Support for importing snippets from other popular plugins (Header Footer Code Manager, Insert Headers and Footers,
174 + Insert PHP Code Snippet).
66 175 * Enhanced file based execution support with improved multisite mode compatibility.
67 176
68 177 ### Fixed
69 178 * Fixed multisite capability checks in Plugin class.
@@ -72,9 +181,10 @@
72 181
73 182 ## [3.9.3] (2025-12-03)
74 183
75 184 ### Added
76 -* End-to-end tests to verify the toggle visual state in the snippets list page, improving UI verification and test reliability.
185 +* End-to-end tests to verify the toggle visual state in the snippets list page, improving UI verification and test
186 + reliability.
77 187
78 188 ### Fixed
79 189 * Restored missing styles styling and direction-aware layout from Manage menu.
80 190 * Ensure correct transformation value is used when detecting state of activation toggle.
@@ -109,9 +219,10 @@
109 219 * Added contextual notices in the Snippets list table to surface action results and warnings in the UI
110 220 * Expanded Multisite Sharing settings for clearer control over network-wide snippet sharing
111 221
112 222 ### Changed
113 -* Modernized browser support targets and polished admin UI (clearer row-action badges, improved Pro badge hover, refined active snippet name styling)
223 +* Modernized browser support targets and polished admin UI (clearer row-action badges, improved Pro badge hover, refined
224 + active snippet name styling)
114 225
115 226 ### Fixed
116 227 * Fixed REST API pagination to return correct results and page counts
117 228 * Resolved styling selector so the active snippet name highlights reliably
@@ -221,9 +332,10 @@
221 332 * Created proper form for sharing beta feedback.
222 333 * Improved UX of snippet activation toggle.
223 334
224 335 ### Fixed
225 -* Fetching active snippets on a multisite network now respects the 'priority' field above all else when ordering snippets.
336 +* Fetching active snippets on a multisite network now respects the 'priority' field above all else when ordering
337 + snippets.
226 338 * Cloud search appears correctly and allows downloading snippets in the free version of Code Snippets.
227 339 * Improved performance of loading admin menu icon.
228 340
229 341 ## [3.6.9] (2025-02-17)
@@ -228,9 +340,10 @@
228 340
229 341 ## [3.6.9] (2025-02-17)
230 342
231 343 ### Changed
232 -* Updated `Cloud_API::get_bundles()` to properly check bundle data and return an empty array if no valid bundles are present.
344 +* Updated `Cloud_API::get_bundles()` to properly check bundle data and return an empty array if no valid bundles are
345 + present.
233 346 * Refactored `Cloud_List_Table::fetch_snippets()` to always return a valid `Cloud_Snippets` instance.
234 347 * Cleaned up bundle iteration code and improved translation handling in the bundles view.
235 348
236 349 ### Fixed
@@ -244,9 +357,10 @@
244 357 ### Changed
245 358 * Updated Freemius SDK to the latest version. (PRO)
246 359
247 360 ### Removed
248 -* Functionality allowing `[code_snippet]` shortcodes to be embedded recursively – it will be re-added in a future version.
361 +* Functionality allowing `[code_snippet]` shortcodes to be embedded recursively – it will be re-added in a future
362 + version.
249 363
250 364 ### Fixed
251 365 * Shortcodes embedded within `[code_snippet]` shortcodes not evaluating correctly.
252 366 * Translation functions being called too early in some instances when loading plugin settings.
@@ -257,17 +371,21 @@
257 371 ## [3.6.7] (2025-01-24)
258 372
259 373 ### Added
260 374 * Generated snippet shortcode tags will include the snippet name, for easier identification.
261 -* Admin notices will dismiss automatically after five seconds. ([#208](https://github.com/codesnippetspro/code-snippets/issues/208))
375 +* Admin notices will dismiss automatically after five seconds.
376 + ([#208](https://github.com/codesnippetspro/code-snippets/issues/208))
262 377
263 378 ### Changed
264 379 * Updated CSS to use latest Sass features.
265 -* Moved theme selector to just above editor preview on settings page (thanks to [brandonjp]). ([#206](https://github.com/codesnippetspro/code-snippets/issues/206))
266 -* `[code_snippet]` shortcodes can now be nested within each other. ([#198](https://github.com/codesnippetspro/code-snippets/issues/198))
380 +* Moved theme selector to just above editor preview on settings page (thanks to [brandonjp]).
381 + ([#206](https://github.com/codesnippetspro/code-snippets/issues/206))
382 +* `[code_snippet]` shortcodes can now be nested within each other.
383 + ([#198](https://github.com/codesnippetspro/code-snippets/issues/198))
267 384
268 385 ### Fixed
269 -* Save buttons above editor did not follow usual validation process in Pro. (PRO) ([#197](https://github.com/codesnippetspro/code-snippets/issues/197))
386 +* Save buttons above editor did not follow usual validation process in Pro. (PRO)
387 + ([#197](https://github.com/codesnippetspro/code-snippets/issues/197))
270 388 * Minor inconsistencies in consistent UI elements between Core and Pro.
271 389 * Tags input not allowing input. ([#211](https://github.com/codesnippetspro/code-snippets/issues/211))
272 390 * Issue with Elementor source code widget. (PRO) ([#205](https://github.com/codesnippetspro/code-snippets/issues/205))
273 391 * Snippet descriptions not visible when viewing cloud search results.
@@ -391,15 +509,18 @@
391 509 * Redirect to snippets table when deleting snippet from the edit menu.
392 510 * Scroll new notices into view on edit menu.
393 511
394 512 ### Fixed
395 -* Error when attempting to update network shared snippets after saving. [[#](https://wordpress.org/support/topic/activating-snippets-breaks-on-wordpress-6-3/)]
513 +* Error when attempting to update network shared snippets after
514 + saving. [[#](https://wordpress.org/support/topic/activating-snippets-breaks-on-wordpress-6-3/)]
396 515
397 516 ## [3.4.2] (2023-07-05)
398 517
399 518 ### Fixed
400 -* Issue causing export process to fail with fatal error. [[#](https://wordpress.org/support/topic/critical-error-on-exporting-snippets/)]
401 -* Type issue on `the_posts` filter when no posts available. [[#](https://wordpress.org/support/topic/collision-with-plugin-xml-sitemap-google-news/)]
519 +* Issue causing export process to fail with fatal
520 + error. [[#](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/)]
402 523
403 524 ## [3.4.1] (2023-06-29)
404 525
405 526 ### Added
@@ -405,16 +526,20 @@
405 526 ### Added
406 527 * Added better debugging when calling REST API methods from the edit menu.
407 528
408 529 ### Changed
409 -* 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/)]
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/)]
410 532 * Only display the latest update or error notice on the edit page, instead of allowing them to stack.
411 533
412 534 ### Fixed
413 -* Undefined array key error. [[#](https://wordpress.org/support/topic/after-updating-occasionally-getting-undefined-array-key-query/)]
414 -* Potential type issue when loading Prism. [[#](https://wordpress.org/support/topic/code-snippets-fatal-error-breaking-xml-sitemaps/)]
535 +* Undefined array key
536 + error. [[#](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/)]
415 539 * Potential type issue when sorting snippets. [[#](https://github.com/codesnippetspro/code-snippets/issues/166)]
416 -* Issue preventing asset revision numbers from updating correctly. (PRO) [[#](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)]
417 542
418 543 ## [3.4.0] (2023-05-17)
419 544
420 545 ### Added
@@ -423,12 +548,12 @@
423 548
424 549 ### Changed
425 550 * Better compatibility with modern versions of PHP (7.0+).
426 551 * Converted Edit/Add New Snippet page to use React:
427 - - Converted action buttons to asynchronously use REST API endpoints through AJAX.
428 - - Load page components dynamically through React.
429 - - Added action notice queue system
430 - - Replaced native alert dialog with proper React modal.
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.
431 556 * Catch snippet execution errors to prevent site from crashing.
432 557 * Display recent snippet errors in admin dashboard instead.
433 558 * Updated editor block to use new REST API endpoints. (PRO)
434 559 * Change colour of upgrade notice in Pro plugin. (PRO)
@@ -446,9 +571,10 @@
446 571 ## [3.3.0] (2023-03-09)
447 572
448 573 ### Added
449 574 * Added additional editor shortcuts to list in tooltip.
450 -* Filter for changing Snippets admin menu position. [See this help article for more information.](https://codesnippets.pro/doc/snippets-menu-location/)
575 +* Filter for changing Snippets admin menu
576 + position. [See this help article for more information.](https://codesnippets.pro/doc/snippets-menu-location/)
451 577 * Ability to filter shortcode output. Thanks to contributions from [Jack Szwergold](https://github.com/JackSzwergold).
452 578
453 579 ### Fixed
454 580 * Do not enqueue CSS or JS snippet file if no snippets exist. (PRO)
@@ -463,12 +589,14 @@
463 589 ## [3.2.1] (2022-10-05)
464 590
465 591 ### Added
466 592 * `Ctrl`+`/` or `Cmd`+`/` as shortcut for commenting out code in the snippet editor.
467 -* Additional hooks to various snippet actions, thanks to contributions made by [ancient-spirit](https://github.com/ancient-spirit).
593 +* Additional hooks to various snippet actions, thanks to contributions made
594 + by [ancient-spirit](https://github.com/ancient-spirit).
468 595 * Fold markers, additional keyboard shortcuts and keymap options to snippet editor,
469 596 thanks to contributions made by [Amaral Krichman](https://github.com/karmaral).
470 -* WP-CLI commands for retrieving, activating, deactivating, deleting, creating, updating, exporting and importing snippets.
597 +* WP-CLI commands for retrieving, activating, deactivating, deleting, creating, updating, exporting and importing
598 + snippets.
471 599
472 600 ### Changed
473 601 * Removed duplicate tables exist query. ([#](https://wordpress.org/support/topic/duplicate-queries-21)).
474 602 * Enabled 'add paragraphs and formatting' option by default for newly inserted content snippets.
@@ -485,9 +613,10 @@
485 613 * Additional features to front-end PrismJS code highlighter, including automatic links and a copy button.
486 614 * Support for multiple code styles in the source code Gutenberg editor block. (PRO)
487 615 * Admin notice announcing release of Code Snippets Pro.
488 616 * Button for copying shortcode text to clipboard.
489 -* Option to choose from 44 different themes for the Prism code highlighter in the source editor block and Elementor widget. (PRO)
617 +* Option to choose from 44 different themes for the Prism code highlighter in the source editor block and Elementor
618 + widget. (PRO)
490 619
491 620 ### Changed
492 621 * Include Code Snippets CSS and JS source code in distributed package.
493 622 * Don't delete data from plugin if deleting Code Snippets Free while Code Snippets Pro is active.
@@ -604,17 +733,18 @@
604 733
605 734 ## [2.14.3] (2021-12-10)
606 735
607 736 ### Fixed
608 -* Potential security issue outputting snippets-safe-mode query variable value as-is. Thanks to Krzysztof Zając for reporting.
737 +* Potential security issue outputting snippets-safe-mode query variable value as-is. Thanks to Krzysztof Zając for
738 + reporting.
609 739
610 740 ## [2.14.2] (2021-09-09)
611 741
612 742 ### Added
613 743 * Added translations:
614 - - Spanish by [Ibidem Group](https://www.ibidemgroup.com)
615 - - Urdu by [Samuel Badree](https://mobilemall.pk/)
616 - - Greek by [Toni Bishop from Jrop](https://www.jrop.com/)
744 + - Spanish by [Ibidem Group](https://www.ibidemgroup.com)
745 + - Urdu by [Samuel Badree](https://mobilemall.pk/)
746 + - Greek by [Toni Bishop from Jrop](https://www.jrop.com/)
617 747 * Support for `:class` syntax to the code validator.
618 748 * PHP8 support to the code linter.
619 749 * Color picker feature to the code editor.
620 750 * Failsafe to prevent multiple versions of Code Snippets from running simultaneously.
@@ -635,9 +765,10 @@
635 765 ### Fixed
636 766 * Code validator now supports `function_exists` and `class_exists` checks.
637 767 * Code validator now supports anonymous functions.
638 768 * Issue with saving the hidden columns setting.
639 -* Replaced the outdated tag-it library with [tagger](https://github.com/jcubic/tagger) for powering the snippet tags editor.
769 +* Replaced the outdated tag-it library with [tagger](https://github.com/jcubic/tagger) for powering the snippet tags
770 + editor.
640 771
641 772 ## [2.14.0] (2020-01-26)
642 773
643 774 ### Added
@@ -656,9 +787,10 @@
656 787 * Code editor will now properly highlight embedded HTML, CSS and JavaScript code.
657 788 * Fixed a bug preventing the editor theme from being set to default.
658 789 * Ensure that imported snippets are always inactive.
659 790 * Check the referer on the import menu to prevent CSRF attacks.
660 - Thanks to [Chloe with the Wordfence Threat Intelligence team](https://www.wordfence.com/blog/author/wfchloe/) for reporting.
791 + Thanks to [Chloe with the Wordfence Threat Intelligence team](https://www.wordfence.com/blog/author/wfchloe/) for
792 + reporting.
661 793 * Ensure that individual snippet action links use proper verification.
662 794
663 795 ## [2.13.3] (2019-03-13)
664 796
@@ -703,9 +835,10 @@
703 835
704 836 ## [2.13.0] (2018-12-17)
705 837
706 838 ### Added
707 -* 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/)]
839 +* Search/replace functionality to the snippet
840 + 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/)]
708 841 * Option to make admin menu more compact.
709 842 * Added additional styles to editor settings preview.
710 843 * PHP linter to code editor.
711 844
@@ -723,9 +856,10 @@
723 856 ### Changed
724 857 * CodeMirror updated to version 5.41.0.
725 858 * Attempt to create database columns that might be missing after a table upgrade.
726 859 * Streamlined upgrade process.
727 -* Made search box appear at top of page on mobile. [[#](https://wordpress.org/support/topic/small-modification-for-mobile-ux/)]
860 +* Made search box appear at top of page on
861 + mobile. [[#](https://wordpress.org/support/topic/small-modification-for-mobile-ux/)]
728 862 * Updated screenshots.
729 863
730 864 ### Fixed
731 865 * Interface layout on sites using right-to-left languages.
@@ -780,9 +914,9 @@
780 914 ## [2.10.1] (2018-02-10)
781 915
782 916 ### Fixed
783 917 * Prevent errors when trying to export no snippets.
784 -* Use wp_json_encode() to encode export data.
918 +* Use wp_json_encode () to encode export data.
785 919 * Check both the file extension and MIME type of uploaded import files.
786 920
787 921 ## [2.10.0] (2018-01-18)
788 922
@@ -852,9 +986,9 @@
852 986 ## [2.9.0] (2017-09-06)
853 987
854 988 ### Changed
855 989 * Moved code to disable snippet execution into a filter hook.
856 -* execute_active_snippets() function updated with improved efficiency.
990 +* execute_active_snippets () function updated with improved efficiency.
857 991 * Renamed Snippet class to avoid name collisions with other plugins.
858 992 * Don't hide output when executing a snippet.
859 993
860 994 ### Fixed
@@ -870,10 +1004,12 @@
870 1004
871 1005 ## [2.8.6] (2017-05-14)
872 1006
873 1007 ### Fixed
874 -* Fixed snippet description field alias not mapping correctly, causing snippet descriptions to not be displayed in the table or when editing a snippet.
875 -* Ensured that get_snippets() function retrieves snippets with the correct 'network' setting. Fixes snippet edit links in network admin.
1008 +* Fixed snippet description field alias not mapping correctly, causing snippet descriptions to not be displayed in the
1009 + table or when editing a snippet.
1010 +* Ensured that get_snippets () function retrieves snippets with the correct 'network' setting. Fixes snippet edit links
1011 + in network admin.
876 1012
877 1013 ## [2.8.5] (2017-05-13)
878 1014
879 1015 ### Added
@@ -915,9 +1051,10 @@
915 1051
916 1052 ### Fixed
917 1053 * Fixed admin menu items not translating.
918 1054 * Corrected editor alignment on RTL sites. ([#](https://wordpress.org/support/topic/suggestion-css-fix-for-rtl-sites/))
919 -* Fixed bulk actions running when Filter button is clicked. ([#](https://wordpress.org/support/topic/bug-with-filtering-action-buttons/))
1055 +* Fixed bulk actions running when Filter button is clicked.
1056 + ([#](https://wordpress.org/support/topic/bug-with-filtering-action-buttons/))
920 1057
921 1058 ## [2.8.0] (2016-12-14)
922 1059
923 1060 ### Changed
@@ -954,9 +1091,10 @@
954 1091 ### Changed
955 1092 * Updated CodeMirror to version 5.19.0.
956 1093
957 1094 ### Security
958 -* Ensured that the editor theme setting is properly validated. Thanks to [Netsparker](https://www.netsparker.com) for reporting.
1095 +* Ensured that the editor theme setting is properly validated. Thanks to [Netsparker](https://www.netsparker.com) for
1096 + reporting.
959 1097 * Ensured that snippet tags are properly escaped. Thanks to [Netsparker](https://www.netsparker.com) for reporting.
960 1098
961 1099 ## [2.7.0] (2016-07-23)
962 1100
@@ -970,11 +1108,13 @@
970 1108
971 1109 ### Fixed
972 1110 * Fixed plugin translations being loaded.
973 1111 * Fixed description field not being imported.
974 -* Fixed issue with CodeMirror rubyblue theme. [[#](https://wordpress.org/support/topic/a-problem-with-the-cursor-color-and-the-fix-that-worked-for-me)]
1112 +* Fixed issue with CodeMirror rubyblue
1113 + theme. [[#](https://wordpress.org/support/topic/a-problem-with-the-cursor-color-and-the-fix-that-worked-for-me)]
975 1114 * Fixed snippet fields not importing.
976 -* Fixed a minor XSS vulnerability discovered by Burak Kelebek. [[#](https://wordpress.org/support/topic/security-vulnerability-20)]
1115 +* Fixed a minor XSS vulnerability discovered by Burak
1116 + Kelebek. [[#](https://wordpress.org/support/topic/security-vulnerability-20)]
977 1117
978 1118 ## [2.6.1] (2016-02-10)
979 1119
980 1120 ### Changed
@@ -1034,9 +1174,10 @@
1034 1174
1035 1175 ## [2.4.1] (2015-09-17)
1036 1176
1037 1177 ### Fixed
1038 -* Fixed CodeMirror themes not being detected on settings page [[#](https://wordpress.org/support/topic/updated-to-240-now-i-cant-switch-theme)]
1178 +* Fixed CodeMirror themes not being detected on settings
1179 + page [[#](https://wordpress.org/support/topic/updated-to-240-now-i-cant-switch-theme)]
1039 1180
1040 1181 ## [2.4.0] (2015-09-17)
1041 1182
1042 1183 ### Added
@@ -1060,9 +1201,10 @@
1060 1201 ## [2.3.0] (2015-05-20)
1061 1202
1062 1203 ### Added
1063 1204 * Added icons for admin and front-end snippets to manage table.
1064 -* Added filter switch to prevent a snippet from executing. ([#25](https://github.com/codesnippetspro/code-snippets/issues/25))
1205 +* Added filter switch to prevent a snippet from executing.
1206 + ([#25](https://github.com/codesnippetspro/code-snippets/issues/25))
1065 1207
1066 1208 ### Changed
1067 1209 * Improved settings retrieval by caching settings.
1068 1210 * Updated Russian translation by [Alexey Chumakov](http://chumakov.ru/).
@@ -1096,9 +1238,9 @@
1096 1238 * Made minor updates to French translation file.
1097 1239
1098 1240 ### Fixed
1099 1241 * Resolved JavaScript error on edit snippet pages.
1100 -* Added polyfill for array_replace_recursive() function for PHP 5.2.
1242 +* Added polyfill for array_replace_recursive () function for PHP 5.2.
1101 1243
1102 1244 ## [2.2.1] (2015-05-10)
1103 1245
1104 1246 ### Fixed
@@ -1169,9 +1311,10 @@
1169 1311 * Added Chinese translation thanks to Jincheng Shan.
1170 1312 * Added Russian translation by Alexander Samsonov.
1171 1313 * Added Slovak translation by [Ján Fajčák] from [WordPress Slovakia](https://wp.sk).
1172 1314 * Added setting to always save and activate snippets by default.
1173 -* 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/).
1315 +* Added braces to single-line conditionals in line
1316 + with [new coding standards](https://make.wordpress.org/core/2013/11/13/proposed-coding-standards-change-always-require-braces/).
1174 1317
1175 1318 ### Changed
1176 1319 * Improved plugin file structure.
1177 1320 * Updated CodeMirror library to version 5.0.
@@ -1211,9 +1354,10 @@
1211 1354 ## [1.9.0] (2013-11-11)
1212 1355
1213 1356 ### Added
1214 1357 * Added French translation thanks to translator [oWEB](http://office-web.net).
1215 -* Added 'Save & Deactivate' button to the edit snippet page. ([#](https://wordpress.org/support/topic/deactivate-button-in-edit-snippet-page))
1358 +* Added 'Save & Deactivate' button to the edit snippet page.
1359 + ([#](https://wordpress.org/support/topic/deactivate-button-in-edit-snippet-page))
1216 1360 * Added nonce to edit snippet page.
1217 1361 * Added a fallback MP6 icon.
1218 1362
1219 1363 ### Changed
@@ -1221,10 +1365,12 @@
1221 1365 * Improved CodeMirror implementation.
1222 1366 * Updated CodeMirror to version 3.19.
1223 1367 * Updated WordPress.org plugin banner.
1224 1368 * Add and remove network capabilities as super admins are added and removed.
1225 -* Replaced buggy trim `<?php` and `?>` functionality with a much more reliable regex method. ([#](https://wordpress.org/support/topic/character-gets-cut))
1226 -* 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))
1369 +* Replaced buggy trim `<?php` and `?>` functionality with a much more reliable regex method.
1370 + ([#](https://wordpress.org/support/topic/character-gets-cut))
1371 +* Make the title of each snippet on the manage page a clickable link to edit the snippet
1372 + ([#](https://wordpress.org/support/topic/deactivate-button-in-edit-snippet-page?replies=9#post-4682757))
1227 1373 * Hide row actions on manage snippet page by default.
1228 1374 * Use the proper WordPress database APIs consistently.
1229 1375 * Rewritten export functionality.
1230 1376
@@ -1233,9 +1379,11 @@
1233 1379 * Removed screenshots from plugin.
1234 1380 * Removed CodeMirror bundled with plugin.
1235 1381
1236 1382 ### Fixed
1237 -* 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))
1383 +* Fixed snippet failing to save when code contains `%` character, props
1384 + to [nikan06](https://wordpress.org/support/profile/nikan06).
1385 + ([#](https://wordpress.org/support/topic/percent-sign-bug))
1238 1386 * Fixed HTML breaking in export files. ([#](https://wordpress.org/support/topic/import-problem-7))
1239 1387 * Fixed incorrect export filename.
1240 1388 * Fixed CodeMirror incompatibility with the WP Editor plugin.
1241 1389 * Fixed CodeMirror incompatibility with the Debug Bar Console plugin.
@@ -1259,9 +1407,11 @@
1259 1407 ### Added
1260 1408 * Added error message handling for import snippets page.
1261 1409
1262 1410 ### Changed
1263 -* 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.
1411 +* Improved database table creation method: on a single-site install, the snippets table will always be created. On a
1412 + multisite install, the network snippets table will always be created; the site-specific table will always be created
1413 + for the main site; for sub-sites the snippets table will only be created on a visit to a snippets admin page.
1264 1414 * Updated to CodeMirror 3.14.
1265 1415 * Allow no snippet name or code to be set.
1266 1416 * Prevented an error on fresh multisite installations.
1267 1417 * Refactored code to use best practices.
@@ -1285,9 +1435,10 @@
1285 1435 ## [1.7.1] (2013-04-22)
1286 1436
1287 1437 ### Added
1288 1438 * Added German translation thanks to [David Decker](https://deckerweb.de)
1289 -* 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.
1439 +* Allow or deny site administrators access to snippet admin menus. Set your preference in the **Enable Administration
1440 + Menus** setting under the *Settings > Network Settings* network admin menu.
1290 1441
1291 1442 ### Changed
1292 1443 * Updated PHP Documentation completely. [[View online](https://bungeshea.github.io/code-snippets/api)]
1293 1444 * Only load admin functions when viewing dashboard.
@@ -1300,9 +1451,10 @@
1300 1451 ## [1.7.0] (2013-03-26)
1301 1452
1302 1453 ### Added
1303 1454 * Added icon for the new MP6 admin UI ([#](https://wordpress.org/support/topic/icon-disappears-with-mp6))
1304 -* Allow plugin to be activated on individual sites on multisite ([#](https://wordpress.org/support/topic/dont-work-at-multisite))
1455 +* Allow plugin to be activated on individual sites on multisite
1456 + ([#](https://wordpress.org/support/topic/dont-work-at-multisite))
1305 1457 * Strip PHP tags from the beginning and end of a snippet on save ([#](https://wordpress.org/support/topic/php-tags))
1306 1458 * Change label in admin menu when editing a snippet.
1307 1459
1308 1460 ### Changed
@@ -1316,14 +1468,16 @@
1316 1468 ### Removed
1317 1469 * Removed HTML, CSS and JavaScript CodeMirror modes that were messing things up.
1318 1470
1319 1471 ### Fixed
1320 -* 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))
1472 +* Fixed a bug with saving snippets per page option
1473 + ([#](https://wordpress.org/support/topic/plugin-code-snippets-snippets-per-page-does-not-work#post-3710991))
1321 1474
1322 1475 ## [1.6.1] (2012-12-29)
1323 1476
1324 1477 ### Fixed
1325 -* Fixed a bug with permissions not being applied on install ([#](https://wordpress.org/support/topic/permissions-problem-after-install))
1478 +* Fixed a bug with permissions not being applied on install
1479 + ([#](https://wordpress.org/support/topic/permissions-problem-after-install))
1326 1480 * Fixed a bug in the uninstall method ([#](https://wordpress.org/support/topic/bug-in-delete-script))
1327 1481
1328 1482 ## [1.6.0] (2012-12-22)
1329 1483
@@ -1348,21 +1502,24 @@
1348 1502 ## [1.5.0] (2012-09-18)
1349 1503
1350 1504 ### Added
1351 1505 * Added custom capabilities.
1352 -* Added 'Export to PHP' feature. ([#](https://wordpress.org/support/topic/plugin-code-snippets-suggestion-bulk-export-to-php))
1506 +* Added 'Export to PHP' feature.
1507 + ([#](https://wordpress.org/support/topic/plugin-code-snippets-suggestion-bulk-export-to-php))
1353 1508 * Added i18n.
1354 1509
1355 1510 ### Changed
1356 1511 * Updated CodeMirror to version 2.33.
1357 1512 * Updated the 'Manage Snippets' page to use the WP_List_Table class:
1358 - - Added 'Screen Options' tab to 'Manage Snippets' page.
1359 - - Added search capability to 'Manage Snippets' page.
1360 - - Added views to easily filter activated, deactivated and recently activated snippets.
1361 - - Added ID column to 'Manage Snippets' page.
1362 - - Added sortable name and ID column on 'Manage Snippets' page ([#](https://wordpress.org/support/topic/plugin-code-snippets-suggestion-sort-by-snippet-name))
1513 + - Added 'Screen Options' tab to 'Manage Snippets' page.
1514 + - Added search capability to 'Manage Snippets' page.
1515 + - Added views to easily filter activated, deactivated and recently activated snippets.
1516 + - Added ID column to 'Manage Snippets' page.
1517 + - Added sortable name and ID column on 'Manage Snippets' page
1518 + ([#](https://wordpress.org/support/topic/plugin-code-snippets-suggestion-sort-by-snippet-name))
1363 1519 * Improved API.
1364 -* Lengthened snippet name field to 64 characters. ([#](https://wordpress.org/support/topic/plugin-code-snippets-snippet-title-limited-to-36-characters))
1520 +* Lengthened snippet name field to 64 characters.
1521 + ([#](https://wordpress.org/support/topic/plugin-code-snippets-snippet-title-limited-to-36-characters))
1365 1522
1366 1523 ## [1.4.0] (2012-08-20)
1367 1524
1368 1525 ### Added
@@ -1404,11 +1561,13 @@
1404 1561
1405 1562 ## [1.1.0] (2012-06-24)
1406 1563
1407 1564 ### Fixed
1408 -* Fixed a permissions bug with `DISALLOW_FILE_EDIT` being set to true. ([#](https://wordpress.org/support/topic/plugin-code-snippets-cant-add-new))
1565 +* Fixed a permissions bug with `DISALLOW_FILE_EDIT` being set to true.
1566 + ([#](https://wordpress.org/support/topic/plugin-code-snippets-cant-add-new))
1409 1567 * Fixed a bug with the page title reading 'Add New Snippet' on the 'Edit Snippets' page.
1410 -* 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))
1568 +* Fixed a bug not allowing the plugin to be Network Activated.
1569 + ([#](https://wordpress.org/support/topic/plugin-code-snippets-network-activate-does-not-create-snippets-tables))
1411 1570
1412 1571 ## [1.0.0] (2012-06-13)
1413 1572
1414 1573 ### Added
@@ -1416,24 +1575,8 @@
1416 1575
1417 1576 [brandonjp]: https://github.com/brandonjp
1418 1577
1419 1578 [unreleased]: https://github.com/codesnippetspro/code-snippets/tree/core
1420 -[3.10.0]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.10.0
1421 -[3.9.6]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.9.6
1422 -[3.9.5]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.9.5
1423 -[3.9.4]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.9.4
1424 -[3.9.3]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.9.3
1425 -[3.9.2]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.9.2
1426 -[3.9.1]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.9.1
1427 -[3.9.0]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.9.0
1428 -[3.9.0-beta.2]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.9.0-beta.2
1429 -[3.9.0-beta.1]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.9.0-beta.1
1430 -[3.8.2]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.8.2
1431 -[3.8.1]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.8.1
1432 -[3.8.0]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.8.0
1433 -[3.7.1-beta.3]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.7.1-beta.3
1434 -[3.7.1-beta.2]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.7.1-beta.2
1435 -[3.7.1-beta.1]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.7.1-beta.1
1436 1579 [3.7.0]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.7.0
1437 1580 [3.6.7]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.6.7
1438 1581 [3.6.6.1]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.6.6.1
1439 1582 [3.6.6]: https://github.com/codesnippetspro/code-snippets/releases/tag/v3.6.6