Code Snippets changelog

By Code Snippets Pro, on WordPress.org since 2012. 1,000,000+ active installs.

Browse code

67 tagged releases, newest first. Dates are when each release was tagged in SVN. Notes come from the plugin's readme, which may not list every release.

  1. 4.1.0
    • 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.
    • Labels in the version switcher marking the current, latest, beta and release candidate builds, and the WordPress version each was tested up to.
    • 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 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)

    And 9 more notes.

    Source Diff vs 4.0.0
  2. 4.0.0
    • 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)

    And 44 more notes.

    Source Diff vs 4.0.0-beta.3
  3. 4.0.0-beta.3

    No notes for this release in the current readme.

    Source Diff vs 4.0.0-beta.2
  4. 4.0.0-beta.2

    No notes for this release in the current readme.

    Source Diff vs 4.0.0-beta.1
  5. 4.0.0-beta.1

    No notes for this release in the current readme.

    Source Diff vs 3.10.2
  6. 3.10.2
    • Added a confirmation flow for run-once snippet execution and hardened the handler to prevent failed or confusing actions.
    • 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 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.

    And 3 more notes.

    Source Diff vs 3.10.1
  7. 3.10.1
    • Enhanced active-link visibility in the toolbar with border-based styling.
    • 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.

    And 4 more notes.

    Source Diff vs 3.10.0
  8. 3.10.0
    • 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.

    And 21 more notes.

    Source Diff vs 3.10.0-beta.2
  9. 3.10.0-beta.2

    No notes for this release in the current readme.

    Source Diff vs 3.10.0-beta.1
  10. 3.10.0-beta.1

    No notes for this release in the current readme.

    Source Diff vs 3.9.6
  11. 3.9.6
    • Improved permissions handling with snippets REST API.
    • Site admin cannot toggle shared network snippets status.
    Source Diff vs 3.9.5
  12. 3.9.5
    • Improved security when handling actions for downloading and updating cloud snippets.
    Source Diff vs 3.9.4
  13. 3.9.4
    • New import functionality to migrate snippets from file uploads with drag-and-drop interface.
    • 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 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.
    Source Diff vs 3.9.3
  14. 3.9.3
    • End-to-end tests to verify the toggle visual state in the snippets list page, improving UI verification and test reliability.
    • Restored missing styles styling and direction-aware layout from Manage menu.
    • Ensure correct transformation value is used when detecting state of activation toggle.
    Source Diff vs 3.9.2
  15. 3.9.2
    • Introduced a custom scissors icon and updated button title for the TinyMCE extension.
    • 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.
    • Introduced groundwork to prevent Composer dependency collisions with other plugins.

    And 2 more notes.

    Source Diff vs 3.9.1
  16. 3.9.1
    • Migrated to native CSS direction handling (RTL/LTR) for improved compatibility and simpler styling
    • Updated dependencies to the latest compatible versions
    • Fixed TinyMCE menu button registration to prevent initialization failure
    • Fixed the position of the ‘code direction’ control in the editor
    Source Diff vs 3.9.0
  17. 3.9.0
    • 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
    • Modernized browser support targets and polished admin UI (clearer row-action badges, improved Pro badge hover, refined active snippet name styling)
    • Fixed REST API pagination to return correct results and page counts
    • Resolved styling selector so the active snippet name highlights reliably
    Source Diff vs 3.9.0-beta.2
  18. 3.9.0-beta.2

    No notes for this release in the current readme.

    Source Diff vs 3.9.0-beta.1
  19. 3.9.0-beta.1

    No notes for this release in the current readme.

    Source Diff vs 3.8.2
  20. 3.8.2
    • Improved namespaced PHP snippet handling with file based execution.
    Source Diff vs 3.8.1
  21. 3.8.1
    • Code line explanation widget with apply and remove actions for AI-generated comments. (PRO)
    • Improved pagination handling and display structure for cloud search results. (PRO)
    • Enhanced styling for codevault rows and inactive tabs in cloud interface. (PRO)
    • Removed guzzlehttp/guzzle dependency to reduce package conflicts. (PRO)
    • Improved file-based snippet handling for multisite installations.
    Source Diff vs 3.8.0
  22. 3.8.0
    • @CarolinaOP and @louiswol94 join the team as plugin contributors.
    • File-based execution mode for snippets (Optional in Plugin Settings).
    • Version switch option, to help easily rollback the plugin to an earlier release.
    • Minor UI improvements to the editor and sidebar.
    • Prefixed Composer packages to reduce collisions with other plugins.
    • Snippets REST API now supports pagination via page and per_page query parameters.

    And 5 more notes.

    Source Diff vs 3.7.1-beta.3
  23. 3.7.1-beta.3

    No notes for this release in the current readme.

    Source Diff vs 3.7.1-beta.2
  24. 3.7.1-beta.2

    No notes for this release in the current readme.

    Source Diff vs 3.7.1-beta.1
  25. 3.7.1-beta.1

    No notes for this release in the current readme.

    Source Diff vs 3.7.0
  26. 3.7.0
    • New ‘conditions’ feature: control where and when snippets execute with a powerful logic builder. (PRO)
    • 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.

    And 5 more notes.

    Source Diff vs 3.7.0-beta.7
  27. 3.7.0-beta.7

    No notes for this release in the current readme.

    Source Diff vs 3.7.0-beta.5
  28. 3.7.0-beta.5

    No notes for this release in the current readme.

    Source Diff vs 3.7.0-beta
  29. 3.7.0-beta

    No notes for this release in the current readme.

    Source Diff vs 3.6.8
  30. 3.6.8

    No notes for this release in the current readme.

    Source Diff vs 3.6.7
  31. 3.6.7

    No notes for this release in the current readme.

    Source Diff vs 3.6.6.1
  32. 3.6.6.1

    No notes for this release in the current readme.

    Source Diff vs 3.6.6
  33. 3.6.6

    No notes for this release in the current readme.

    Source Diff vs 3.6.5.1
  34. 3.6.5.1

    No notes for this release in the current readme.

    Source Diff vs 3.6.5
  35. 3.6.5

    No notes for this release in the current readme.

    Source Diff vs 3.6.4
  36. 3.6.4

    No notes for this release in the current readme.

    Source Diff vs 3.6.3
  37. 3.6.3

    No notes for this release in the current readme.

    Source Diff vs 3.6.2
  38. 3.6.2

    No notes for this release in the current readme.

    Source Diff vs 3.6.1
  39. 3.6.1

    No notes for this release in the current readme.

    Source Diff vs 3.6.0
  40. 3.6.0

    No notes for this release in the current readme.

    Source Diff vs 3.5.0
  41. 3.5.0

    No notes for this release in the current readme.

    Source Diff vs 3.5.0-beta.1
  42. 3.5.0-beta.1

    No notes for this release in the current readme.

    Source Diff vs 3.4.2
  43. 3.4.2

    No notes for this release in the current readme.

    Source Diff vs 3.4.1
  44. 3.4.1

    No notes for this release in the current readme.

    Source Diff vs 3.4.0
  45. 3.4.0

    No notes for this release in the current readme.

    Source Diff vs 3.3.0
  46. 3.3.0

    No notes for this release in the current readme.

    Source Diff vs 3.2.2
  47. 3.2.2

    No notes for this release in the current readme.

    Source Diff vs 3.2.1
  48. 3.2.1

    No notes for this release in the current readme.

    Source Diff vs 3.1.1
  49. 3.1.1

    No notes for this release in the current readme.

    Source Diff vs 3.1.0
  50. 3.1.0

    No notes for this release in the current readme.

    Source Diff vs 3.0.1
  51. 3.0.1

    No notes for this release in the current readme.

    Source Diff vs 3.0.0
  52. 3.0.0

    No notes for this release in the current readme.

    Source Diff vs 2.14.6
  53. 2.14.6

    No notes for this release in the current readme.

    Source Diff vs 2.14.5
  54. 2.14.5

    No notes for this release in the current readme.

    Source Diff vs 2.14.4
  55. 2.14.4

    No notes for this release in the current readme.

    Source Diff vs 2.14.3
  56. 2.14.3

    No notes for this release in the current readme.

    Source Diff vs 2.14.2
  57. 2.14.2

    No notes for this release in the current readme.

    Source Diff vs 2.14.1
  58. 2.14.1

    No notes for this release in the current readme.

    Source Diff vs 2.14.0
  59. 2.14.0

    No notes for this release in the current readme.

    Source Diff vs 2.13.3
  60. 2.13.3

    No notes for this release in the current readme.

    Source Diff vs 2.13.2
  61. 2.13.2

    No notes for this release in the current readme.

    Source Diff vs 2.13.1
  62. 2.13.1

    No notes for this release in the current readme.

    Source Diff vs 2.13.0
  63. 2.13.0

    No notes for this release in the current readme.

    Source Diff vs 2.12.1
  64. 2.12.1

    No notes for this release in the current readme.

    Source Diff vs 2.12.0
  65. 2.12.0

    No notes for this release in the current readme.

    Source Diff vs 2.10.1
  66. 2.10.1

    No notes for this release in the current readme.

    Source Diff vs 2.10.0
  67. 2.10.0

    No notes for this release in the current readme.

    Source