Back to Code Snippets Pro
Code Snippets Pro changelog
Release notes for every version we have on record, newest first.
Latest 4.1.0-beta.1 · 19 Oct 2026
40 versions
Since Nov 2022
2026 8 versions
4.1.0-beta.1 19 Oct 2026 6 new4 improved13 fixed
New
- Universal search in the plugin header, for finding snippets and their code, settings, stats, the welcome screen, documentation and Community Cloud snippets from one field, with keyboard navigation and a full results page.
- Cloud Library snippets and per-snippet performance and security insights in the universal search results, with insights opening from a result. (PRO)
- Unified Snippets, for scanning a site for custom code in theme files, Customizer CSS, other plugins' settings, post content, page builder layouts and rendered pages, and importing what it finds as inactive snippets. A rescan reports new, changed and removed code, and code that cannot run as a snippet is listed in a read-only View Only tab. (PRO)
- Snippet preview, for running the draft being edited on a chosen front page, post, page or admin screen in a separate tab without saving or activating it. The preview refreshes as the snippet is edited, lists JavaScript errors, and blocks outbound requests, emails, database writes and file writes unless they are allowed in settings. (PRO)
- Labels in the version switcher marking the current, latest, beta and release candidate builds, and the WordPress version each was tested up to.
- A dialog for the AI Agent's starter prompts, for sending a prompt, editing it before sending or going back, and a link to the AI Agent from the Generate dialog. (PRO)
Improved
- The version switcher lists the Code Snippets Pro builds available to the site's licence from Code Snippets Cloud, instead of the free plugin's builds from WordPress.org. Downloads are verified before installing, a failed switch is rolled back, and a site without a cloud connection or with a licence problem is told how to resolve it. (PRO)
- The AI Agent reopens the current conversation after the page is reloaded or revisited. (PRO)
- The version switch warning now notes that beta and release candidate builds are not recommended for production sites.
- Resetting caches now fetches the list of available plugin versions again, and reports how many were found or why none could be listed.
Fixed
- Fixed the snippets list showing an out-of-date state on sites with a page cache, as the plugin's REST API responses were being cached.
- Fixed the Search with AI option missing from the Community Cloud search method menu. (PRO)
- Fixed the share with subsites setting not being applied when a network snippet was saved on multisite.
- Fixed stylesheet and script snippets shared with subsites not being output on a subsite that activated them. (PRO)
- Fixed the Elementor source widget logging a warning on sites with condition snippets, and offering condition and trashed snippets. (PRO)
- Fixed a PHP deprecation notice and a missing browser tab title on the Edit Snippet screen.
- Fixed a long unbroken line of code widening the snippet editor page and pushing the sidebar out of view.
- Fixed admin screens waiting on remote requests for as long as the site's default timeout allows when the Code Snippets service or WordPress.org is slow or unreachable: these requests now give up after 5 seconds, or 3 seconds for the welcome content.
- Fixed version switch messages being hidden by the admin notice filter, and showing markup from the response as HTML.
- Fixed the version list refresh reporting success when the versions could not be fetched.
- Fixed safe mode failing on sites running a plugin that builds URLs while WordPress is identifying the current user, and breaking REST API URLs. Safe mode is now carried on admin links only.
- Fixed the snippet import routes allowing a subsite administrator on multisite to import network snippets without the network capability. Thanks to Artus KG for responsibly disclosing this issue.
- Fixed the snippet source shortcodes revealing snippet code in posts written by users who cannot manage snippets. Thanks to Het Kalariya for responsibly disclosing this issue.
4.0.0 12 Oct 2026 24 new10 improved16 fixed
New
- Stats page for viewing snippet totals and various snippet breakdowns.
- AI Agent for building snippets from a description: it proposes a plan you can refine or approve before any code is written, and can revise the snippets it created. (PRO)
- Snippet revisions, with a history of past versions, a side-by-side diff against the current code, and one-click restore. (PRO)
- Display conditions for controlling where and when a snippet runs, without writing the checks by hand. (PRO)
- Per-role snippet permissions, so you can decide which roles may view, edit, activate, or delete snippets. (PRO)
- Blueprints for setting up a site from a saved collection of snippets and settings. (PRO)
- Flat file storage, for keeping snippets as files so they can be version-controlled alongside the rest of a site. (PRO)
- "Ran on this page" tracking, showing which snippets actually executed on the page you are viewing. (PRO)
- Natural-language search in Community Cloud, so you can describe what you need instead of guessing keywords. (PRO)
- Snippet deployment from Code Snippets Cloud to connected sites, including deploying several snippets under one shared display condition. (PRO)
- Installing a cloud bundle onto a connected site as a standalone plugin. (PRO)
- Updating Code Snippets Pro on a connected site from the cloud dashboard. (PRO)
- Drift detection, which reports when a snippet on the site no longer matches the copy stored in the cloud. (PRO)
- New admin interface for managing snippets, with a cleaner layout, faster interactions, and a more consistent experience across plugin screens. (PRO)
- Card view for browsing snippets, with a view switcher on the snippets table and Community Cloud. (PRO)
- Snippet preview modal for viewing snippet code from the snippets table without opening the editor. (PRO)
- Automatic hiding of unrelated admin notices from other plugins on Code Snippets screens. (PRO)
- Admin bar snippet drawer, based on the Deckerweb Snippets workflow, for quick access to snippets and Safe Mode from the WordPress admin bar. (PRO)
- Snippet locking to help prevent accidental edits or deletion of important snippets. Props to https://github.com/mgiannopoulos24. (PRO)
- Bulk actions and bulk code download support in the redesigned snippets table. (PRO)
- Featured snippets and improved browsing in Community Cloud. (PRO)
- WordPress modern theme admin styling compatibility. (PRO)
- Clearer accessibility labels, headings, tab markup, table checkboxes, sort buttons, copy buttons, and drag-and-drop upload controls. (PRO)
- Feedback reporter for sending bug reports, feature requests and general feedback from the plugin screens, with an optional summary of the site environment so the team can reproduce the problem. (PRO)
Improved
- Improved screen options on the main snippets table, including controls for visible columns and truncating long snippet names or descriptions. (PRO)
- Redesigned the main snippets table with improved search, filtering, sorting, pagination, row actions, and bulk selection. (PRO)
- Improved the snippet import and migration experience, including clearer file upload handling and third-party plugin migration flows. (PRO)
- Improved snippet error handling so activation failures, validation errors, and stack traces are easier to understand. (PRO)
- Improved Community Cloud search and filtering, including server-side filters, better result loading, and clearer empty states. (PRO)
- Updated the welcome screen, toolbar, import screen, and cloud screens to match the new admin experience. (PRO)
- Updated internal plugin architecture to a cleaner PSR-4 structure for better long-term maintainability. (PRO)
- Improved accessibility across the snippets table, import screen, migration flow, Community Cloud, welcome screen, toolbar, dialogs, tooltips, and code editor. (PRO)
- Improved colour contrast and reduced-motion support across admin screens. (PRO)
- Faster loading of large code vaults, which are now fetched a page at a time instead of all at once. (PRO)
Fixed
- Fixed AI conversations from one connected site being visible from another. (PRO)
- Fixed a snippet list stored in Code Snippets Cloud being emptied when the site was temporarily unable to read its own snippets. (PRO)
- Fixed REST API server error responses on missing snippets. (PRO)
- Fixed redundant frontend logic, improving overall performance. (PRO)
- Fixed Community Cloud search results and pagination to respect WordPress screen options. (PRO)
- Fixed snippet saving and activation feedback to improve validation and runtime error display. (PRO)
- Fixed downloaded Community Cloud snippets appearing as not downloaded after a page reload. (PRO)
- Fixed network snippet lookups using the wrong database table on multisite. (PRO)
- Fixed the inactive snippets count including trashed snippets. (PRO)
- Fixed featured Community Cloud snippets failing to load with some cloud API responses. (PRO)
- Fixed bulk actions in Community Cloud running against an empty selection, so selected snippets were never downloaded. (PRO)
- Fixed a fatal error in the Elementor editor on Elementor versions older than 3.19.
- Fixed snippet descriptions staying truncated after the "Truncate long snippet names and descriptions" screen option was switched off.
- Fixed saving, activating or deactivating a snippet reporting its previous state, which could leave a deactivated snippet running under file-based execution.
- Fixed the snippet editor reporting a save as failed and undelivered when no response was received, which it cannot determine.
- Fixed translations being loaded too early, with a notice from WordPress, when posts were queried while plugins were still loading.
3.10.2 1 Sep 2026 1 new2 improved6 fixed
New
- Added a confirmation flow for run-once snippet execution and hardened the handler to prevent failed or confusing actions.
Improved
- Snippet names now respect the row truncation Screen Option in the admin list for better readability.
- Version switching AJAX requests now validate the correct nonce, improving reliability when updating snippet versions.
Fixed
- Fixed safe mode fatal errors caused by an undefined wp_get_current_user() call.
- Fixed PHP validation being triggered incorrectly when activating snippets in bulk.
- Fixed saving issues after a user session expires.
- Fixed warnings caused by aliased field names when reading modified snippet fields.
- Fixed vendor autoloader issues by stripping unprefixed namespace references.
- Resolved issues where snippet names and version switches could behave inconsistently in the admin UI.
3.10.1 28 Aug 2026 1 improved9 fixed
Improved
- Enhanced active-link visibility in the toolbar with border-based styling.
Fixed
- Fixed a fatal error affecting snippets that use a namespace or declare statement.
- Fixed the snippets page rendering blank when another plugin's screen settings filter returned an invalid value.
- Fixed snippet saving on hosts that block REST API PUT and PATCH requests, by sending writes as POST with a method override.
- Fixed the Snippets List Order setting not being applied to the snippets list.
- Fixed admin bar snippet scripts failing to load on the free version, including on the site front end.
- Fixed snippet modified dates being sent without the correct UTC offset.
- Fixed the row truncation screen option not persisting across sessions.
- Fixed inconsistent sidebar label sizes.
- Fixed the sticky editor sidebar showing an unwanted horizontal scrollbar.
3.10.0 24 Aug 2026 10 new9 improved8 fixed
New
- New admin interface for managing snippets, with a cleaner layout, faster interactions, and a more consistent experience across plugin screens.
- Card view for browsing snippets, with a view switcher on the snippets table and Community Cloud.
- Snippet preview modal for viewing snippet code from the snippets table without opening the editor.
- Automatic hiding of unrelated admin notices from other plugins on Code Snippets screens.
- Admin bar snippet drawer, based on the Deckerweb Snippets workflow, for quick access to snippets and Safe Mode from the WordPress admin bar.
- Snippet locking to help prevent accidental edits or deletion of important snippets. Props to https://github.com/mgiannopoulos24.
- Bulk actions and bulk code download support in the redesigned snippets table.
- Featured snippets and improved browsing in Community Cloud.
- WordPress modern theme admin styling compatibility.
- Clearer accessibility labels, headings, tab markup, table checkboxes, sort buttons, copy buttons, and drag-and-drop upload controls.
Improved
- Improved screen options on the main snippets table, including controls for visible columns and truncating long snippet names or descriptions.
- Redesigned the main snippets table with improved search, filtering, sorting, pagination, row actions, and bulk selection.
- Improved the snippet import and migration experience, including clearer file upload handling and third-party plugin migration flows.
- Improved snippet error handling so activation failures, validation errors, and stack traces are easier to understand.
- Improved Community Cloud search and filtering, including server-side filters, better result loading, and clearer empty states.
- Updated the welcome screen, toolbar, import screen, and cloud screens to match the new admin experience.
- Updated internal plugin architecture to a cleaner PSR-4 structure for better long-term maintainability.
- Improved accessibility across the snippets table, import screen, migration flow, Community Cloud, welcome screen, toolbar, dialogs, tooltips, and code editor.
- Improved colour contrast and reduced-motion support across admin screens.
Fixed
- Fixed REST API server error responses on missing snippets.
- Fixed redundant frontend logic, improving overall performance.
- Fixed Community Cloud search results and pagination to respect WordPress screen options.
- Fixed snippet saving and activation feedback to improve validation and runtime error display.
- Fixed downloaded Community Cloud snippets appearing as not downloaded after a page reload.
- Fixed network snippet lookups using the wrong database table on multisite.
- Fixed the inactive snippets count including trashed snippets.
- Fixed featured Community Cloud snippets failing to load with some cloud API responses.
3.9.6 28 Apr 2026 1 improved1 fixed
Improved
- Improved permissions handling with snippets REST API.
Fixed
- Site admin cannot toggle shared network snippets status.
3.9.5 5 Feb 2026 1 improved
Improved
- Improved security when handling actions for downloading and updating cloud snippets.
3.9.4 14 Jan 2026 1 new2 improved3 fixed
New
- New import functionality to migrate snippets from file uploads with drag-and-drop interface.
Improved
- Support for importing snippets from other popular plugins (Header Footer Code Manager, Insert Headers and Footers, Insert PHP Code Snippet).
- Enhanced file based execution support with improved multisite mode compatibility.
Fixed
- Fixed multisite capability checks in Plugin class.
- Fixed snippet execution logic for multisite support by centralizing trashed snippet handling.
- Fixed multisite snippet handling to ensure local snippets use correct table and filter out trashed snippets.
2025 16 versions
3.9.3 3 Dec 2025 1 new2 fixed
New
- End-to-end tests to verify the toggle visual state in the snippets list page, improving UI verification and test reliability.
Fixed
- Restored missing styles styling and direction-aware layout from Manage menu.
- Ensure correct transformation value is used when detecting state of activation toggle.
3.9.2 17 Nov 2025 2 new5 improved1 fixed
New
- Introduced a custom scissors icon and updated button title for the TinyMCE extension.
- Introduced groundwork to prevent Composer dependency collisions with other plugins.
Improved
- Improved back-navigation styling on the edit page.
- Refined layout for column names and action buttons in the Cloud Snippets list.
- Enhanced overall styling of cloud-related UI components.
- Optimized cloud search with more efficient pagination and snippet retrieval.
- Improved sanitization and normalization across Cloud API and pagination outputs.
Fixed
- Resolved various TinyMCE issues reported in the WordPress support forum.
3.9.1 14 Nov 2025 2 improved2 fixed
Improved
- Migrated to native CSS direction handling (RTL/LTR) for improved compatibility and simpler styling
- Updated dependencies to the latest compatible versions
Fixed
- Fixed TinyMCE menu button registration to prevent initialization failure
- Fixed the position of the 'code direction' control in the editor
3.9.0 13 Nov 2025 2 new1 improved2 fixed
New
- Added contextual notices in the Snippets list table to surface action results and warnings in the UI
- Expanded Multisite Sharing settings for clearer control over network-wide snippet sharing
Improved
- Modernized browser support targets and polished admin UI (clearer row-action badges, improved Pro badge hover, refined active snippet name styling)
Fixed
- Fixed REST API pagination to return correct results and page counts
- Resolved styling selector so the active snippet name highlights reliably
3.9.0-beta.2 10 Nov 2025 1 new4 improved3 fixed
New
- Added 'Snippets' row action to the Network Sites table
Improved
- Improved snippet name visibility for network users
- Refined badge styling and hover effects for row actions and badges
- Impoved icon style and color usage for network snippets for clearer differentiation
- Improved network snippets management with better subsite menu permission checks
Fixed
- Fixed status labels for shared network snippets
- Corrected network condition checks and improved snippet fetching logic
- Handled fatal errors in file-based snippets to prevent crashes
3.9.0-beta.1 3 Nov 2025 3 new
New
- Soft delete (Trash) functionality for snippets with ability to undo, restore or permanently delete.
- Bulk actions for trashing, restoring, and permanently deleting multiple snippets.
- Separate filtered view to manage trashed snippets.
3.8.2 31 Oct 2025 1 improved
Improved
- Improved namespaced PHP snippet handling with file based execution.
3.8.1 28 Oct 2025 1 new3 improved1 removed
New
- Code line explanation widget with apply and remove actions for AI-generated comments. (PRO)
Improved
- Improved pagination handling and display structure for cloud search results. (PRO)
- Enhanced styling for codevault rows and inactive tabs in cloud interface. (PRO)
- Improved file-based snippet handling for multisite installations.
Removed
- Removed guzzlehttp/guzzle dependency to reduce package conflicts. (PRO)
3.8.0 24 Oct 2025 3 new5 improved3 fixed
New
- @CarolinaOP and @louiswol94 join the team as plugin contributors.
- File-based execution mode for snippets (optional in plugin settings).
- Version switch option for easily rolling back the plugin to an earlier release.
Improved
- Prefixed Composer packages to reduce collisions with other plugins.
- Snippets REST API now supports pagination via page and per_page query parameters.
- Improved editor preview behavior.
- Minor UI improvements to the editor and sidebar.
- Improved reliability of snippet evaluation.
Fixed
- Issues with snippet evaluation and front-end initialization in edge cases.
- JavaScript and CSS snippets loading twice due to a conditions bug. (PRO)
- Issue where some conditions didn’t work due to loading before the loop. (PRO)
3.7.1-beta.3 22 Oct 2025 1 new
New
- Snippets REST API now supports pagination via page and per_page query parameters.
3.7.1-beta.2 22 Oct 2025 1 new
New
- Implemented version switching with a new 'Version Switch' section in Settings
3.7.1-beta.1 16 Oct 2025 2 new3 improved3 fixed1 removed
New
- Added @CarolinaOP and @louiswol94 as plugin contributors
- File-based execution mode for snippets (Optional in Plugin Settings)
Improved
- Minor UI/UX tweaks to the editor form and sidebar
- Improved editor preview behavior.
- Improved reliability of snippet evaluation and front-end integration.
Fixed
- Prefixed Composer packages to reduce collisions with other plugins, especially those using Guzzle.
- Functions conditions were loading before loop setup, resulting in some conditions not working. (PRO)
- JavaScript and CSS snippets loading twice due to a conditions bug. (PRO)
Removed
- Removed CSS linting within the editor until a modern replacement can be implemented.
3.7.0 29 Aug 2025 1 new8 improved2 fixed
New
- New 'conditions' feature: control where and when snippets execute with a powerful logic builder. (PRO)
Improved
- Redesigned edit menu with refreshed look and functionality.
- Updated snippet type badges to be more visually distinct.
- Redesigned tooltips used throughout the plugin.
- Moved content snippet shortcode options into separate modal window.
- Updated snippet tag editor to use built-in WordPress tag editor.
- Created proper form for sharing beta feedback.
- Improved UX of snippet activation toggle.
- Improved performance of loading admin menu icon.
Fixed
- Fetching active snippets on a multisite network now respects the 'priority' field above all else when ordering snippets.
- Cloud search appears correctly and allows downloading snippets in the free version of Code Snippets.
3.6.9 17 Feb 2025 3 improved1 fixed
Improved
- Updated Cloud_API::get_bundles() to properly check bundle data and return an empty array if no valid bundles are present.
- Refactored Cloud_List_Table::fetch_snippets() to always return a valid Cloud_Snippets instance.
- Cleaned up bundle iteration code and improved translation handling in the bundles view.
Fixed
- Fixed errors in bundle iteration by adding a check for the bundles array before iterating.
3.6.8 14 Feb 2025 1 new2 improved3 fixed2 removed
New
- Code_snippets/hide_welcome_banner filter hook for hiding welcome banner in dashboard.
Improved
- Updated Freemius SDK to the latest version. (PRO)
- Translation functions being called too early in some instances when loading plugin settings.
Fixed
- Shortcodes embedded within [code_snippet] shortcodes not evaluating correctly.
- 'Generate' button not appearing on some sites. (PRO)
- Incorrect arrow entity used in cloud list table (props to [brandonjp]).
Removed
- Functionality allowing [code_snippet] shortcodes to be embedded recursively – it will be re-added in a future version.
- Removed reference to missing plugins.css file in core plugin version.
3.6.7 24 Jan 2025 2 new3 improved7 fixed
New
- Generated snippet shortcode tags will include the snippet name, for easier identification.
- Admin notices will dismiss automatically after five seconds. (#208)
Improved
- Updated CSS to use latest Sass features.
- Moved theme selector to just above editor preview on settings page (thanks to [brandonjp]). (#206)
- [code_snippet] shortcodes can now be nested within each other. (#198)
Fixed
- Save buttons above editor did not follow usual validation process in Pro. (PRO) (#197)
- Minor inconsistencies in consistent UI elements between Core and Pro.
- Tags input not allowing input. (#211)
- Issue with Elementor source code widget. (PRO) (#205)
- Snippet descriptions not visible when viewing cloud search results.
- Snippet import page not displaying number of successfully imported snippets.
- Use UTC time when deciding when to display campaign notices.
2024 5 versions
3.6.6.1 27 Nov 2024 2 fixed
Fixed
- Redeployment of v3.6.6 to overcome issue with initial build.
- Type issue when caching cloud links. (PRO)
3.6.6 27 Nov 2024 5 improved4 fixed
Improved
- Improved compatability with modern versions of PHP.
- Extended welcome API to include admin notices.
- Action hook code_snippets/update_snippet now only includes the snippet ID instead of the full snippet object.
- Action hook code_snippets/admin/manage now includes the currently viewed type.
- Translation functions being called too early on upgrade, resulting in localisation loading errors.
Fixed
- Memory issue from checking aggregate posts while loading front-end syntax highlighter.
- Bug preventing the 'share on network' status of network snippets from correctly updating.
- Incorrect logic controlling when to display 'Save Changes' or 'Save Changes and Activate' buttons.
- Old notices persisting when switching between editing and creating snippets.
3.6.5.1 24 May 2024 1 changed
Changed
- Redeployment of v3.6.5 to overcome issue with initial build.
3.6.5 24 May 2024 1 new
New
- New admin menu providing useful resources and updates on the Code Snippets plugin and community.
3.6.4 15 Mar 2024 2 new3 improved3 fixed
New
- AI generation for all snippet types: HTML, CSS, JS. (PRO)
- Button to create a cloud connection directly from the Snippets menu when disconnected. (PRO)
Improved
- Increment the revision number of CSS and JS snippet when using the 'Reset Caches' debug action. (PRO)
- UX in generate dialog, such as allowing 'Enter' to submit the form. (PRO)
- Translations not loading for strings in JavaScript files.
Fixed
- Minor type compatability issue with newer versions of PHP.
- Undefined array key issue when initiating cloud sync. (PRO)
- Bug preventing downloading a single snippet from a bundle. (PRO)
2023 10 versions
3.6.3 13 Nov 2023 1 new1 fixed
New
- Added debug action for resetting snippets caches.
Fixed
- Import error when initialising cloud sync configuration. (PRO)
3.6.2 11 Nov 2023 7 fixed1 removed
Fixed
- Error when attempting to save shared network snippets marked as active.
- Type error when rendering checkbox fields without a stored or default value.
- Label for snippet sharing input incorrectly linked to input field.
- Error when attempting to download export files from Edit menu.
- Issue loading Freemius string overrides too early. (PRO)
- Fix redirect URL when connecting with OAuth on subdirectory or HTTPS sites. (PRO)
- Import error when attempting to completely uninstall the plugin.
Removed
- Removed automatic encoding of code content.
3.6.1 7 Nov 2023 1 fixed
Fixed
- Issue accessing fields on Snippets class.
3.6.0 7 Nov 2023 7 new3 improved2 fixed
New
- Ability to authenticate with Code Snippets Cloud using OAuth. (PRO)
- Integration with GPT AI for generating snippets. (PRO)
- Ability to generate line-by-line descriptions of snippet code with GPT AI. (PRO)
- Ability to generate tags and description text from existing snippet code with GPT AI. (PRO)
- Added debug settings menu for manually performing problem-solving actions.
- Filter to disable scroll-into-view functionality for edit page notices.
- New notices will not scroll if already at top of page.
Improved
- Updated minimum PHP requirement to 7.4.
- Ensure that the URL of the edit snippet page changes when adding a new snippet.
- Snippet tags will automatically be added when focus is lost on the tags field.
Fixed
- Moved active status border on edit name field to left-hand side.
- Potential CSRF vulnerability allowing an authenticated user to reset settings.
3.5.1 15 Sep 2023 3 fixed
Fixed
- Undefined array key error when accessing plugin settings page. (PRO)
- Issue registering API endpoints affecting edit post screen. (PRO)
- Snippet ID instead of snippet object being passed to code_snippets/update_snippet action hook.
3.5.0 13 Sep 2023 8 new3 improved1 fixed
New
- Search and download public snippets.
- Codevault back-up and synchronisation. (PRO)
- Synchronised local snippets are automatically updated in Cloud. (PRO)
- Bulk actions - 'update' and 'download'.
- Download snippets from public and private codevaults. (PRO)
- Search and download any publicly viewable snippet in Code Snippet Cloud by keyword or name of codevault. (PRO)
- Deploy snippets to plugin from Code Snippets Cloud app. (PRO)
- Bundles of Joy! Search and download Snippet Bundles in one go direct from Code Snippets Cloud. (PRO)
Improved
- Support for the Code Snippets Cloud API.
- Redirect to snippets table when deleting snippet from the edit menu.
- Scroll new notices into view on edit menu.
Fixed
- Error when attempting to update network shared snippets after saving. [#]
3.4.2 5 Jul 2023 2 fixed
Fixed
- Issue causing export process to fail with fatal error. [#]
- Type issue on the_posts filter when no posts available. [#]
3.4.1 29 Jun 2023 1 new2 improved4 fixed
New
- Added better debugging when calling REST API methods from the edit menu.
Improved
- Escape special characters when sending snippet code through AJAX to avoid false-positives from security modules. [#]
- Only display the latest update or error notice on the edit page, instead of allowing them to stack.
Fixed
- Undefined array key error. [#]
- Potential type issue when loading Prism. [#]
- Potential type issue when sorting snippets. [#]
- Issue preventing asset revision numbers from updating correctly. (PRO) [#]
3.4.0 17 May 2023 3 new15 improved2 fixed
New
- Proper WordPress REST API support for retrieving and modifying snippets.
- Added help links to content snippet options.
- Added action notice queue system
Improved
- Better compatibility with modern versions of PHP (7.0+).
- Converted Edit/Add New Snippet page to use React:
- Converted action buttons to asynchronously use REST API endpoints through AJAX.
- Load page components dynamically through React.
- Replaced native alert dialog with proper React modal.
- Catch snippet execution errors to prevent site from crashing.
- Display recent snippet errors in admin dashboard instead.
- Updated editor block to use new REST API endpoints. (PRO)
- Change colour of upgrade notice in Pro plugin. (PRO)
- All available snippet data is included in export files.
- Only import specific fields from export file, even if additional fields specified.
- Pass additional attributes specified in [code_snippet] content shortcode to shortcode content.
- Make shortcode attributes available as individual variables.
- Allow boolean attributes to be passed to code snippets shortcodes without specifying a value.
- Replace external links to Pro pricing page with an upgrade modal.
Fixed
- Issue preventing editor colorpicker from loading correctly. (PRO)
- Issue preventing linting libraries from loading correctly in the code editor.
3.3.0 9 Mar 2023 3 new3 fixed
New
- Added additional editor shortcuts to list in tooltip.
- Filter for changing Snippets admin menu position. See this help article for more information.
- Ability to filter shortcode output. Thanks to contributions from Jack Szwergold.
Fixed
- Do not enqueue CSS or JS snippet file if no snippets exist. (PRO)
- Bug causing all snippets to show in site health information instead of those active.
- Unnecessary sanitization of file upload data causing import process to fail on Windows systems.
2022 1 version
3.2.2 17 Nov 2022 1 fixed
Fixed
- Plugin lacking a valid header error on activation.
