WPCodeBox Releases

WPCodeBox 2 v1.4.1 (Released on Sep 22nd, 2026)

  • Improvement: PHP snippets set to "Manual (On Demand)" now show a play badge in the editor sidebar and Snippet Manager.
  • Bugfix: Generated MCP configurations use a stable, site-specific server name and no longer overwrite other sites' connections.
  • Bugfix: MCP setup prompts include the selected client's configuration, with Claude Desktop and JSON merge instructions.
  • Bugfix: Editing a snippet from the Snippet Manager opens the requested snippet instead of the previous selection.
  • Bugfix: Restored Api::runSnippet() execution of "Do not run" snippets for integrations such as WP All Import.
  • Bugfix: Local folder drag-and-drop order now saves reliably, and failed saves show an error and reload the saved order.
  • Bugfix: Fixed the Safe Mode link on the fatal-error screen.
  • Bugfix: External-token execution now respects safe mode, and Functionality Plugins use improved recovery URL handling.
  • Bugfix: Fatal errors in snippet-registered callbacks are attributed to the right snippet, which is disabled on shutdown.
  • Bugfix: MCP wpcodebox_list_snippets now includes snippets inside folders and returns folderId values as integers.
  • Bugfix: MCP calls return actionable errors for common failures while keeping internal exception details hidden.

WPCodeBox 2 v1.4.0 (Released on Sep 8th, 2026)

  • New Feature: Added MCP access for AI clients, with read tools by default and administrator opt-in for writes and execution.
  • New Feature: AI clients can configure snippet placements and conditions through MCP, excluding custom PHP conditions.
  • New Feature: Added 14 tools for the WordPress Abilities API on WordPress 6.9+, with access controls and audit logging.
  • New Feature: Added a Snippet Manager for browsing and organizing snippets, with cloud browsing and one-click downloads.
  • New Feature: Added snippet tags with search, filtering, and customizable colors.
  • New Feature: Added bulk move, tag, enable, disable, and delete actions, plus drag-and-drop organization.
  • New Feature: Added sorting by name or last modified, filters for type, tags, status, and conditions, and tag-aware search.
  • New Feature: Added snippet duplication, preserving code, placements, conditions, and tags in a disabled copy.
  • New Feature: Added runtime PHP error tracking and automatic disabling for caught fatal errors; exceptions leave snippets enabled.
  • New Feature: Added runtime error protection and PHP error logging to the standalone Functionality Plugin.
  • Improvement: Added folder grouping in Manual sort, last-modified dates, double-click editing, and styled delete confirmations.
  • Improvement: Improved Snippet Manager styling and folder moves, and fixed repeated loading and unstyled-content flashes.
  • Improvement: Added ready-to-copy MCP client configurations, bulk tool controls, write warnings, and clearer dark-mode styling.
  • Bug Fix: Fixed MCP tool names for Anthropic compatibility and migrated existing tool permissions.
  • Bug Fix: Fixed MCP requests being redirected by canonical URL or multilingual plugins.
  • Bug Fix: Fixed missing MCP tool files triggering WordPress recovery mode; unavailable tools are skipped and logged.
  • Improvement: Improved one-shot PHP execution for MCP and the Run button, including PHP tag handling and output cleanup.
  • Improvement: Prevented duplicate database writes and log entries for repeated identical snippet exceptions.
  • Bug Fix: Fixed runtime error line numbers to match the code editor across snippet execution modes.
  • Bug Fix: Fixed external-trigger PHP snippets ending in HTML mode in standard and Functionality Plugin execution.
  • Bug Fix: Added clear save-failure notices and safeguards against truncated saves and restoring empty revisions.
  • Improvement: Reduced save request sizes by excluding revision history and previous run output.
  • Bug Fix: Fixed Functionality Plugin PHP closing-tag detection and preserved snippet order on every sync.
  • Improvement: Sped up Functionality Plugin bulk generation by sorting its include list once per batch.
  • Bug Fix: Fixed Functionality Plugin CSS/JS in Gutenberg and the Full Site Editor, stylesheet handles, and output escaping.
  • Improvement: Improved Functionality Plugin settings layout, dark-mode readability, download button, and duplicate-name warnings.
  • Bug Fix: Fixed stuck Functionality Plugin toggles and improved download failure messages.
  • Bug Fix: Fixed external CSS/JS running at every selected insertion point with the correct hook priorities.
  • Bug Fix: Removed the obsolete type attribute from generated Global CSS style tags.
  • Bug Fix: Fixed CSS hex color minification, including shortening #ffffff to #fff.
  • Bug Fix: Fixed folder exports to include snippets and numeric IDs, and streamlined folder imports.
  • Bug Fix: Fixed sidebar state after folder drops and refreshed placement hooks when updating downloaded cloud snippets.
  • Bug Fix: Fixed revision and AI execution timestamps to follow the WordPress timezone, locale, and daylight saving time.
  • Bug Fix: Fixed editor loader conflicts that broke WordPress admin menus and other plugins on the WPCodeBox page.
  • Improvement: Added tag and bulk snippet REST endpoints, folder-aware creation, shared helpers, and expanded automated checks.

WPCodeBox 2 v1.4.0-rc-2.0 (Released on Aug 31st, 2026)

  • New Feature: Snippet Manager — a dedicated library view for browsing, searching, filtering, organizing, and bulk-managing snippets. Switch between it and the classic editor from the toolbar; the selected view is remembered across reloads. A read-only Cloud section lists cloud folders and snippets with one-click download to local.
  • New Feature: Tags — assign tags to snippets, search and filter by tag or "Untagged", customize tag colors per browser, and edit tags from either the Snippet Manager or EditSnippet sidebar.
  • New Feature: Bulk and drag-and-drop workflows — select all/none or multiple snippets with a live selection count, then move, tag, enable, disable, or delete them together. Cards can be moved to folders or manually reordered with optimistic UI updates; / focuses search and Esc clears selection.
  • New Feature: More ways to find snippets — sort by Manual order, Name, or Last modified in both manager and classic sidebar; filter by type, tag, enabled/disabled/errored status, and whether conditions are set. Errored cards show a warning badge and error tooltip. Search is debounced and case-insensitive across snippet fields and tags.
  • New Feature: Duplicate snippets in the Snippet Manager — copy code, placement, conditions, and tags into the same folder as a disabled "Copy of …" snippet.
  • New Feature: MCP / AI Access — connect compatible AI clients to list, search, and read snippets, folders, tags, and revisions, and explicitly opt in to create, update, enable/disable, run, or delete operations. Read tools are the default when MCP is enabled; write and execute tools remain off until an administrator enables them. The standalone MCP endpoint accepts Application Password authentication only, requires manage_options, applies the per-tool allowlist and input validation, rate-limits calls, and audit-logs every request.
  • New Feature: MCP snippet placement and conditions — create/update tools accept validated hooks and condition-builder groups. Agents can select the named UI insertion points or raw actions, use multiple placements for JS/CSS/HTML, and configure editable Location, URL, content, taxonomy, user, device, time, and weekday rules; Custom PHP conditions remain unavailable to agents.
  • New Feature: WordPress Abilities API support — all 14 tools are registered under the wpcodebox category on WordPress 6.9+, with readonly and destructive annotations and core wp-abilities/v1 discovery/execution routes. Both surfaces share the tool catalog, per-tool allowlist, input validation, manage_options capability check, and audit log. Unlike the standalone MCP endpoint, core Abilities REST also permits nonce-protected cookie authentication as well as Application Passwords and does not use WPCodeBox's MCP rate limiter. Disabled tools return a clear administrator-enable message.
  • New Feature: Runtime PHP error detection — hook-time fatal errors are caught, attributed, recorded, and disable the affected snippet without white-screening the site. Exceptions are recorded but leave the snippet enabled, while shutdown handling attributes otherwise uncatchable fatal errors to the executing snippet. This replaces WordPress recovery-mode emails for caught snippet errors with an in-app error state.
  • New Feature: The same runtime guard is generated into standalone Functionality Plugin files, where snippet failures are written to the PHP error log without crashing the site even when WPCodeBox is deactivated.
  • Improvement: With Manual sort active, All Snippets and Cloud All group cards by folder and show loose snippets under "No folder". Cards now show last-modified timestamps, open in the editor on double-click, and use the styled app dialog for delete confirmation.
  • Improvement: Snippet Manager icons, filters, dark-mode borders, and the upward-opening Move picker now match the rest of the editor. Folder moves/reorders update instantly, a duplicate-load guard prevents runaway reloads, and plugin-page CSS loads early to prevent the white-line/unstyled-content flash.
  • Improvement: MCP settings provide ready-to-copy Claude Desktop, Cursor/VS Code, and Claude Code configurations, plus higher-contrast dark-mode styling, a write-tool warning, and bulk enable/disable controls.
  • Improvement: The MCP run tool and in-app Run button now use one canonical one-shot PHP execution path. It strips only a leading PHP open tag, preserves embedded <?php text, rejects non-one-shot snippets, and always cleans up its output buffer after missing snippets or thrown errors.
  • Improvement: Repeated identical snippet exceptions no longer rewrite the snippet row or duplicate the PHP error-log entry on every occurrence; a changed message or editor line is still recorded immediately.
  • Improvement: Saves upload only fields the server needs instead of revision history and previous run output, avoiding multi-megabyte requests for large snippets.
  • Improvement: The Functionality Plugin settings dialog now uses the same sectioned layout, status toggle, and dark-mode styling as the MCP settings modal. Body text is legible in dark mode, the download button's icon no longer wraps onto its own line, and the duplicate-snippet-names warning is a proper alert listing the affected snippets instead of faint grey text.
  • Fix: MCP tool names now use Anthropic-compatible underscores such as wpcodebox_list_snippets; saved allowlists using the former slash names are recognized and migrated. Reported by a customer in June 2026.
  • Fix: The MCP endpoint responds at plugins_loaded so canonical/multilanguage plugins cannot redirect the request before the client receives it.
  • Fix: Missing or quarantined MCP tool files are skipped instead of taking WordPress into recovery mode, and each skipped tool is logged once per occurrence until restored. Reported by RC testers on Cloudways.
  • Fix: Runtime error line numbers now point to the matching editor line for named hooks, external triggers, snippets without an opening tag, and snippets with leading blank lines.
  • Fix: External-trigger PHP snippets that end in HTML mode now generate parseable wrappers in both normal and Functionality Plugin execution.
  • Fix: Failed saves now show a "The snippet was NOT saved" toast. Incomplete/truncated save requests and null database updates are rejected instead of blanking a snippet, and empty revisions cannot be reverted over working code. Previously stored revisions remain available for recovery.
  • Fix: Functionality Plugin generation and ordering — tokenizer-based HTML-mode detection no longer mistakes ?> inside strings for a real close tag, Snippet Order is honored on every sync, and equal order/placement/priority ties fall back to creation order. Reported by Jean-Marc Czudek.
  • Fix: Functionality Plugin Gutenberg CSS now evaluates its URL correctly; Gutenberg JavaScript runs; snippets also run in the Full Site Editor iframe; each editor stylesheet has a unique handle; and generated inline CSS/JS is escaped.
  • Fix: A failed Functionality Plugin enable/disable no longer leaves its dialog stuck on "Working…", and a failed download now reports the failure instead of throwing while reading the server's response.
  • Fix: External JavaScript and CSS snippets now run at every selected insertion point in runtime and Functionality Plugin output, including special-hook remapping and each hook's selected priority.
  • Fix: Generated Global CSS <style> tags no longer include the obsolete type="text/css" attribute; JavaScript output remains unchanged.
  • Fix: CSS minification now shortens repeated-pair hex colors correctly (#ffffff to #fff, not #ff) and handles the full hexadecimal range. Reported by a customer after 1.3.1.
  • Fix: Folder exports include their snippets and serialize folder IDs as numbers; folder imports create snippets in their destination in one request and refresh once at the end. Reported by Jason Janes @ RoatanYP.com.
  • Fix: Sidebar folder drops keep the in-memory list synchronized, and updating a downloaded cloud snippet refreshes and displays its placement hooks correctly.
  • Fix: Revision and AI execution timestamps use the WordPress timezone, locale, and DST-aware wp_date() formatting. Reported by Jayron Castro @ Kstros.com.
  • Fix: WordPress and other plugins' admin JavaScript no longer breaks on the WPCodeBox page. The code editor loads as an AMD bundle whose loader installs a global define(), and WordPress' own scripts registered themselves with it instead of publishing the globals everything else expects — and because WordPress serves several of those scripts concatenated into a single file, the first collision aborted the rest of that file too. That left wp.element, moment, and jQuery.hoverIntent undefined, which broke the admin bar's hover menus and any plugin building on WordPress' React packages, Secure Custom Fields among them. The editor now initializes after WordPress has finished running its own scripts and releases the AMD marker once it is up, while keeping the loader available for the syntax- highlighting files it fetches on demand. Long-standing rather than new in 1.4.0, and only ever affected the WPCodeBox admin page.
  • Performance: Functionality Plugin bulk generation now reorders its include list once after all snippets are written instead of rereading and rewriting it after every snippet.
  • Internal: Added tag and bulk snippet REST endpoints plus optional folderId creation, Jest coverage for exports/search and the editor loader guard, and shared sorting/tag-color helpers between the manager and editor.
  • Note for hosts/security tooling: if your malware scanner flags WPCodeBox's MCP files, whitelist wp-content/plugins/wpcodebox2/src/Mcp/.

WPCodeBox 2 v1.4.0-rc-1.0 (Released on Jun 17th, 2026)

  • New Feature: MCP snippet placement — wpcodebox_create_snippet and wpcodebox_update_snippet now accept a hooks array so AI agents can choose where a snippet runs: any named UI insertion point or raw WordPress action (multiple for JS/CSS/HTML, exactly one for PHP).
  • New Feature: MCP snippet conditions — the same two tools accept a conditions array (groups OR-ed, conditions AND-ed) for Location, URL, Post, Taxonomy, User/Role, Device, Time, and Day; fully editable in the UI, with validated references and no Custom PHP exposure.
  • Improvement: The MCP settings modal now shows ready-to-copy setup configs per client — Claude Desktop (via mcp-remote), Cursor / VS Code, and Claude Code — replacing the old single config no client accepted.
  • Fix: Renamed MCP tools from wpcodebox/list-snippets to wpcodebox_list_snippets; the old slash names failed Anthropic's tool-name validation, so Claude Desktop and other clients rejected every request.
  • Fix: Allowlists saved before the tool rename are now recognized everywhere — previously-enabled tools show as ticked and saving migrates the stored names instead of silently disabling them.
  • Fix: The MCP endpoint now answers at plugins_loaded instead of init, so multilanguage plugins (e.g. Multilanguage Pro) can't 302-redirect the request before the server responds.

WPCodeBox 2 v1.4.0-beta-1.0 (Released on Jun 8th, 2026)

  • New Feature: MCP / AI Access — connect AI assistants (e.g. Claude) to WPCodeBox via a built-in Model Context Protocol server. Agents can list, search, and read your snippets, folders, tags, and revisions, and — when you opt in per tool — create, update, enable/disable, run, or delete them. Disabled by default, read-only when enabled, with write/execute tools off until an admin turns them on. Application Password auth only (cookie/CSRF rejected), requires manage_options, and every call is rate-limited and audit-logged.
  • New Feature: Snippet Manager — a dedicated library view to browse, search, filter, organize, and bulk-manage all of your snippets, with your last view remembered across reloads
  • New Feature: Tags — assign tags to snippets, filter by tag, and customize tag colors; search matches tag names and a new "Untagged" filter surfaces snippets that need tagging
  • New Feature: Bulk operations — multi-select snippets to move them between folders, add/remove tags, or enable, disable, and delete in one click
  • New Feature: Drag-and-drop in the Snippet Manager — drop a snippet card onto a sidebar folder to move it instantly, with optimistic UI updates
  • New Feature: Drag-to-reorder inside the Snippet Manager, with cross-folder drops falling back to "move to folder"
  • New Feature: Sort snippets by Manual order, Name (A → Z), or Last modified — in both the Snippet Manager toolbar and the classic sidebar
  • New Feature: Cloud snippets in the Snippet Manager — a read-only "Cloud" sidebar section with one-click "Download to local"
  • New Feature: Tags can now be edited from the EditSnippet sidebar, not just inside the Snippet Manager
  • New Feature: Select all / Select none controls with a live "X of N selected" counter
  • New Feature: Keyboard shortcuts in the Snippet Manager — "/" focuses search, "Esc" clears selection
  • Improvement: Snippet Manager UI polish — file-type icons match the editor tree, consistent react-select styling, and a "Move to…" picker that opens upward so it isn't clipped
  • Improvement: MCP / AI Access modal has higher-contrast dark-mode styling, plus a red warning and bulk enable/disable control for write tools
  • Improvement: Reordering and moving snippets feels instant — the UI updates immediately instead of waiting on a server refetch
  • Improvement: Search is debounced and case-insensitive across all snippet fields, so large libraries no longer stutter while typing
  • Improvement: The duplicate-load guard against runaway snippet list reloads now actually works
  • Bugfix: Exporting a folder now correctly includes all snippets inside it (previously exported as empty)
  • Bugfix: Importing snippets into folders is now reliable, with a single refresh at the end of the batch and folder association set in one request
  • Bugfix: Snippet code search is now case-insensitive across title, description, and code (regression from 1.3.1)
  • Bugfix: Fixed the white-line / unstyled-content flash on plugin page load
  • Bugfix: Functionality Plugin no longer generates invalid PHP for Gutenberg editor CSS
  • Bugfix: JS snippets set to run in the Gutenberg editor now actually run
  • Bugfix: Gutenberg-editor snippets now also run inside the Full Site Editor (FSE) iframe
  • Bugfix: Multiple Gutenberg-editor stylesheets no longer collide on a single handle
  • Bugfix: Inline CSS/JS for the Gutenberg editor is now properly escaped before being inlined into the generated PHP
  • Bugfix: Folder-drop on a snippet from the sidebar now keeps the in-memory list in sync
  • Bugfix: CSS minifier no longer truncates repeated-pair hex colors (e.g. #ffffff → #ff), which broke :root design tokens
  • Bugfix: Folder export IDs are now serialized as numbers so drag-move folder lookups don't miss the destination
  • Bugfix: Downloading an updated cloud snippet over a local copy now updates its placement hooks correctly

WPCodeBox 2 v1.3.0 (Released on Jan 9th 2026)

  • New Feature: WPCodey AI Chat Integration (BYOK)
  • New Feature: AI inline code modifications and generation
  • New Feature: Nested CSS handling in the editor
  • New Feature: Buttons to collapse the side panels
  • New Feature: Added a clear search button
  • Improvement: Improved plugin UI
  • Improvement: Improved variable handling in the editor
  • Improvement: Added revert revision button
  • Improvement: Changed editor class names to avoid conflicts
  • Improvement: Search also works in the snippet description
  • Improvement: Open folders only if there are search results, and close them after
  • Improvement: Various UI/UX improvements
  • Bugfix: Saving on Safari only works the first time, then it throws an error
  • Bugfix: CSS minifier incorrectly handles double quotes
  • Bugfix: Formatting breaks when SCSS code contains comments
  • Bugfix: Export file is empty when exporting a single snippet from a folder
  • Bugfix: Removed unused JS libraries
  • Bugfix: Deprecation warnings for latest PHP versions
  • Housekeeping: Updated JS libraries to the latest versions
  • Housekeeping: Started migrating the legacy code to modern React

WPCodeBox 2 v1.2.2-beta-2.1 Released

Mon, Dec 3rd 2025
  • Bugfix: PHP erros on some PHP versions

WPCodeBox 2 v1.2.2-beta-2.0 Released

Mon, Dec 1st 2025
  • New Feature: WPCodey AI Integration (BYOK)
  • Improvement: Improved plugin UI
  • Bugfix: Added revert revision button
  • Bugfix: Deprecation warnings for latest PHP versions

WPCodeBox 2 v1.2.2-beta-1.0 Released

Mon, Nov 17th 2025
  • Feature: Nested CSS handling in the editor
  • New Feature: Buttons to collapse the side panels
  • New Feature: Added a clear search button
  • Improvement: Improved variable handling in the editor
  • Improvement: Added revert revision button
  • Improvement: Changed editor class names to avoid conflicts
  • Improvement: Search also works in the snippet description
  • Improvement: Open folders only if there are search results, and close them after
  • Improvement: Various UI/UX improvements
  • Bugfix: Saving on Safari only works the first time, then it throws an error
  • Bugfix: CSS minifier incorrectly handles double quotes
  • Bugfix: Formatting breaks when SCSS code contains comments
  • Bugfix: Export file is empty when exporting a single snippet from a folder
  • Bugfix: Removed unused JS libraries
  • Housekeeping: Updated JS libraries to the latest versions
  • Housekeeping: Started migrating the legacy code to modern React

WPCodeBox 2 v1.2.1 Released

Wed, Jul 9th 2025
  • Bugfix: Error when external CSS is rendered in the Functionality Plugin
  • Bugfix: Missing collation from the revisions table causing issues in some cases
  • Bugfix: Screen Options button sometimes appears in the UI
  • Bugfix: UI disappears in edge case when the Functionality Plugin is enabled

WPCodeBox 2 v1.2.0 released

Wed, Jul 2nd 2025
  • New Feature: Snippet revisions with code diffs
  • New Feature: Revision notes and bookmarks
  • New Feature: Export snippets and folders to JSON
  • New Feature: Import snippets and folders from JSON
  • New Feature: Custom URL for each snippet
  • New Feature: Option to remove editor hover overlays
  • New Feature: Markdown snippet support
  • New Feature: Render CSS in Gutenberg
  • Improvement: Improved toast notifications for actions
  • Improvement: Improved editor CSS support
  • Improvement: Don’t add script type attributes for JS snippets
  • Improvement: Limit the number of revisions
  • Bugfix: Tooltip links point to the old docs/not found pages
  • Bugfix: Functionality plugin error in some edge cases when an empty snippet is created in the DB
  • Bugfix: In some edge cases, an empty snippet can break the UI
  • Bugfix: Snippet order not respected inside the Functionality Plugin
  • Bugifx: Snippet list scrollbars are the wrong color based on the theme
  • Bugfix: Warning when WPCodeBox runs in CLI
  • Bugfix: Main SCSS file not recompiled when partial is changed
  • Bugfix: Error when moving a cloud snippet from a cloud folder to the root
  • Bugfix: Plaintext snippets appear as unsigned when the FP is on
  • Bugfix: Code formatter throws errors in some cases
  • Housekeeping: Update the WPCodeBox React version to v18
  • Housekeeping: Update all WPCodeBox NPM dependencies to the latest versions
  • Housekeeping: AI Assistant and completion support (not yet enabled)
  • Housekeeping: Updated tested up to versions
  • Housekeeping: Build and release improvements

WPCodeBox 2 v1.2.0 Beta 1.0 released

Thu, Apr 10th 2025
  • New Feature: Snippet revisions with code diffs
  • New Feature: Revision notes and bookmarks
  • New Feature: Export snippets and folders to JSON
  • New Feature: Import snippets and folders from JSON
  • New Feature: Custom URL for each snippet
  • New Feature: Option to remove editor hover overlays
  • New Feature: Markdown snippet support
  • Improvement: Improved toast notifications for actions
  • Improvement: Improved editor CSS support
  • Improvement: Don’t add script type attributes for JS snippets
  • Bugfix: Tooltip links point to the old docs/not found pages
  • Bugfix: Functionality plugin error in some edge cases when an empty snippet is created in the DB
  • Bugfix: In some edge cases, an empty snippet can break the UI
  • Bugfix: Snippet order not respected inside the Functionality Plugin
  • Bugifx: Snippet list scrollbars wrong color based on theme
  • Bugfix: Warning when WPCodeBox runs in CLI
  • Bugfix: Main SCSS file not recompiled when partial is changed
  • Bugfix: Error when moving a cloud snippet from a cloud folder to root
  • Bugfix: Plaintext snippets appear as unsigned when the FP is on
  • Housekeeping: Update the WPCodeBox React version to v18
  • Housekeeping: Update all WPCodeBox NPM dependencies to the latest versions
  • Housekeeping: AI Assistant and completion support (not yet enabled)
  • Housekeeping: Updated tested up to versions
  • Housekeeping: Build and release improvements

WPCodeBox IDE v1.0.0 Beta 1.2 Released

Mon, Mar 3rd 2025
  • Improvement: make the WPCodeBox IDE work on non-standard file-system hosts.
  • Bugfix: the WPCodeBox IDE not working when the plugin archive name is not wpcodeboxide.zip
  • Housekeeping: backend code refactoring and improvements Housekeeping: release server improvements
  • Housekeeping: preparation for the WPCodey AI Assitant integration

WPCodeBox IDE v1.0.0 Beta 1.0 Released

Sat, Oct 26th 2024
  • Initial Release

WPCodeBox 2 v1.1.1 Released

Wed, May 22nd 2024
  • New Feature: Show snippet conditions overview on the snippet edit page
  • New Feature: First version of the WPCodeBox API for 3rd party integrations
  • Improvement: Show warning if the ZipArchive library is not installed and trying to generate plugins
  • Improvement: FP Author URI hardcoded to wpcodebox.wpenginepowered.com
  • Bugfix: "Current URL Is" condition throws error when the FP is enabled
  • Bugfix: Generate plugin and FP Download not working correctly when plugin name is not "wpcodebox2"
  • Bugfix: Error in logs when the FP is enabled and editing a snippet
  • Bugfix: Warnings when the FP is enabled and temp folder is not writable
  • Bugfix: Current user role condition error when the FP is enabled
  • Bugfix: Invalid zip when generating plugins on certain server configs

WPCodeBox 2 v1.1.0 Released

Wed, 10th April 2024
  • New Feature: Export snippets to plugin
  • New Feature: Possibility to download the Functionality Plugin
  • New Feature: JSON Snippet support (for creating custom ACF Gutenberg Blocks)
  • New Feature: Added “Do not render” option for CSS and JS snippets
  • New Feature: Sign the code in the Functionality Plugin
  • New Feature: Ability to white label the Functionality Plugin
  • Improvement: Removed eval from custom conditions in the Functionality Plugin and the generated plugins
  • Improvement: Removed snippet IDs from the Functionality Plugin
  • Improvement: Functionality Plugin respects folder structure
  • Improvement: Various Functionality Plugin improvements and cleanup of generated code
  • Improvement: Added “Exactly Matches” option to the URL condition
  • Improvement: Support for nested SCSS partials
  • Improvement: Removed the auto-reload code from the Functionality Plugin and used it from WPCodeBox. This was breaking the FP when WPCodeBox was removed
  • Improvement: Functionality Plugin revamp based on user feedback (bugfixes and improvements)
  • Improvement: Add the ability to add API_KEY in wp-config.php file (define(‘WPCB_API_KEY’, ‘YOUR_API_KEY’);)
  • Improvement: Disabled autocomplete in CSS comments
  • Improvement: "Upload to cloud" changed to "Update&quot when the snippet is already saved to the cloud
  • Improvement: Top bar text changes so it can fit on a single row, show the shortcuts in tooltips, and show the relevant key shortcuts based on OS (Cmd on Mac and Ctrl on PC)
  • Improvement: Move external CSS and JS snippets to the Functionality Plugin when it is enabled instead of loading them from the wp-uploads folder
  • Improvement: Updated the SCSS compiler library to the latest version
  • Improvement: Namespaced the update library
  • Improvement: On smaller displays, the repository buttons are not visible
  • Improvement: Optimize repository calls only when the Repository is open
  • Improvement: Added separate classes to the Cloud Snippet list so they can be customized using CSS (.cloud-snippet-list)
  • Bugfix: Long snippet names caused snippets not to save
  • Bugfix: Snippet toggles slow in some instances
  • Bugfix: Issues with minifying and compiling SCSS introduced in the latest beta
  • Bugfix: Enable/Disable toggles appearing for TXT snippets
  • Bugfix: Functionality Plugin not updated when moving snippets to folders
  • Bugfix: Extra spaces are present around HTML snippets that render using shortcodes
  • Bugfix: "Invalid Archive&quot error when uploading WPCodeBox on WordPress v6.4.3
  • Bugfix: Hook priority isn’t changeable
  • Bugfix: AutomaticCSS autocompletion was not appearing when the line ends in something different than “color:”
  • Bugfix: Don’t compile partials that are commented out
  • Bugfix: When you download a Cloud Snippet, the description is not updated until a page refresh
  • Bugfix: When you add more than one custom PHP condition, the condition editor won’t load for the 2nd one
  • Bugfix: In some rare cases (probably when two users edit the snippet at the same time), an empty snippet is created that will break the UI and require deletion from the database
  • Bugfix: When you download the UI settings from the cloud, the Codemap option is enabled, regardless of the state
  • Bugfix: "Download/Upload from the cloud" is still visible in the context menu, even when using a read-only or disabled API key
  • Bugfix: Condition builder appearing for SCSS partials
  • Bugfix: PHP warning when Oxygen color list is empty
  • Bugfix: Minification converts 0% to 0, but 0% is required for HSL CSS rendering
  • Bugfix: External CSS files loaded incorrectly in some cases
  • Bugfix: Date conditions don’t work in some cases
  • Bugfix: admin_head not working for HTML snippets
  • Bugfix: "Format Code" not working in SCSS partials
  • Bugfix: When dragging a disabled snippet to a folder, the toggle in the UI shows it as enabled
  • Bugfix: CSS Snippets not working in Functionality Plugin
  • Bugfix: In Safari, the snippet status overlaps the save button
  • Bugfix: When uploading a folder to the cloud, the snippets in the folder are duplicated
  • Bugfix: Format code shortcut saves snippet instead of formatting the code
  • Bugfix: PHP notice when running WP CLI commands

WPCodeBox 2 v1.1.0 RC1 Released

Thursday, 20th Mar 2024
  • New Feature: Export snippets to plugin
  • New Feature: Possibility to download the Functionality Plugin
  • New Feature: JSON Snippet support (for creating custom ACF Gutenberg Blocks)
  • New Feature: Added “Do not render” option for CSS and JS snippets
  • New Feature: Sign the code in the Functionality Plugin
  • New Feature: Ability to white label the Functionality Plugin
  • Improvement: Removed eval from custom conditions in the Functionality Plugin and the generated plugins
  • Improvement: Removed snippet IDs from the Functionality Plugin
  • Improvement: Functionality Plugin respects folder structure
  • Improvement: Various Functionality Plugin improvements and cleanup of generated code
  • Improvement: Added “Exactly Matches” option to the URL condition
  • Improvement: Support for nested SCSS partials
  • Improvement: Removed the auto-reload code from the Functionality Plugin and used it from WPCodeBox. This was breaking the FP when WPCodeBox was removed
  • Improvement: Functionality Plugin revamp based on user feedback (bugfixes and improvements)
  • Improvement: Add the ability to add API_KEY in wp-config.php file (define(‘WPCB_API_KEY’, ‘YOUR_API_KEY’);)
  • Improvement: Disabled autocomplete in CSS comments
  • Improvement: "Upload to cloud" changed to "Update&quot when the snippet is already saved to the cloud
  • Improvement: Top bar text changes so it can fit on a single row, show the shortcuts in tooltips, and show the relevant key shortcuts based on OS (Cmd on Mac and Ctrl on PC)
  • Improvement: Move external CSS and JS snippets to the Functionality Plugin when it is enabled instead of loading them from the wp-uploads folder
  • Improvement: Updated the SCSS compiler library to the latest version
  • Improvement: Namespaced the update library
  • Improvement: On smaller displays, the repository buttons are not visible
  • Improvement: Optimize repository calls only when the Repository is open
  • Improvement: Added separate classes to the Cloud Snippet list so they can be customized using CSS (.cloud-snippet-list)
  • Bugfix: Long snippet names caused snippets not to save
  • Bugfix: Snippet toggles slow in some instances
  • Bugfix: Issues with minifying and compiling SCSS introduced in the latest beta
  • Bugfix: Enable/Disable toggles appearing for TXT snippets
  • Bugfix: Functionality Plugin not updated when moving snippets to folders
  • Bugfix: Extra spaces are present around HTML snippets that render using shortcodes
  • Bugfix: "Invalid Archive&quot error when uploading WPCodeBox on WordPress v6.4.3
  • Bugfix: Hook priority isn’t changeable
  • Bugfix: AutomaticCSS autocompletion was not appearing when the line ends in something different than “color:”
  • Bugfix: Don’t compile partials that are commented out
  • Bugfix: When you download a Cloud Snippet, the description is not updated until a page refresh
  • Bugfix: When you add more than one custom PHP condition, the condition editor won’t load for the 2nd one
  • Bugfix: In some rare cases (probably when two users edit the snippet at the same time), an empty snippet is created that will break the UI and require deletion from the database
  • Bugfix: When you download the UI settings from the cloud, the Codemap option is enabled, regardless of the state
  • Bugfix: "Download/Upload from the cloud" is still visible in the context menu, even when using a read-only or disabled API key
  • Bugfix: Condition builder appearing for SCSS partials
  • Bugfix: PHP warning when Oxygen color list is empty
  • Bugfix: Minification converts 0% to 0, but 0% is required for HSL CSS rendering
  • Bugfix: External CSS files loaded incorrectly in some cases
  • Bugfix: Date conditions don’t work in some cases
  • Bugfix: admin_head not working for HTML snippets
  • Bugfix: "Format Code" not working in SCSS partials
  • Bugfix: When dragging a disabled snippet to a folder, the toggle in the UI shows it as enabled
  • Bugfix: CSS Snippets not working in Functionality Plugin
  • Bugfix: In Safari, the snippet status overlaps the save button
  • Bugfix: When uploading a folder to the cloud, the snippets in the folder are duplicated
  • Bugfix: Format code shortcut saves snippet instead of formatting the code
  • Bugfix: PHP notice when running WP CLI commands
  • Beta Bugfix: CSS snippets are not deleted from the assets folder in the FP
  • Beta Bugfix: Condition “Everywhere” saves as empty in the FP, causing an error

WPCodeBox 2 v1.1.0 Beta 1.1 released

Wednesday, 7th Feb 2024
  • New Feature: Export snippets to plugin
  • New Feature: Possibility to download the Functionality Plugin
  • New Feature: JSON Snippet support (for creating custom ACF Gutenberg Blocks)
  • New Feature: Added “Do not render” option for CSS and JS snippets
  • Improvement: Removed snippet IDs from the Functionality Plugin
  • Improvement: Functionality Plugin respects folder structure
  • Improvement: Various Functionality Plugin improvements and cleanup of generated code
  • Improvement: Added “Exactly Matches” option to the URL condition
  • Bugfix: Long snippet names caused snippets not to save
  • Bugfix: Snippet toggles slow in some instances
  • Bugfix: Issues with minifying and compiling SCSS introduced in the latest beta
  • Bugfix: Enable/Disable toggles appearing for TXT snippets
  • Bugfix: Functionality Plugin not updated when moving snippets to folders
  • Bugfix: Extra spaces are present around HTML snippets that render using shortcodes
  • Bugfix: "Invalid Archive" error when uploading WPCodeBox on WordPress v6.4.3

WPCodeBox 2 v1.1.0 Beta 1.0 released

Tuesday, 19th Dec 2023
  • Improvement: Support for nested SCSS partials
  • Improvement: Removed the auto reload code from the Functionality Plugin and used it from WPCodeBox. This was breaking the FP when WPCodeBox was removed
  • Improvement: Functionality Plugin revamp based on user feedback (bugfixes and improvements)
  • Improvement: Add the ability to add API_KEY in wp-config.php file (define(‘WPCB_API_KEY’, ‘YOUR_API_KEY’);)
  • Improvement: Disabled autocomplete in CSS comments
  • Improvement: "Upload to cloud" changed to "Update" when the snippet is already saved to the cloud
  • Improvement: Top bar text changes so it can fit on a single row, show the shortcuts in tooltips, and show the relevant key shortcuts based on OS (Cmd on Mac and Ctrl on PC)
  • Improvement: Move external CSS and JS snippets to the Functionality Plugin when it is enabled instead of loading them from the wp-uploads folder
  • Improvement: Updated the SCSS compiler library to the latest version
  • Improvement: Namespaced the update library
  • Improvement: On smaller displays, the repository buttons are not visible
  • Improvement: Optimize repository calls, only when the Repository is open
  • Improvement: Added separate classes to the Cloud Snippet list so they can be customized using CSS (.cloud-snippet-list)
  • Bugfix: Hook priority isn’t changeable
  • Bugfix: AutomaticCSS autocompletion were not appearing when the line ends in something different than “color:”
  • Bugfix: Don’t compile partials that are commented out
  • Bugfix: When you download a Cloud Snippet, the description is not updated until a page refresh
  • Bugfix: When you add more than one custom PHP condition, the condition editor won’t load for the 2nd one
  • Bugfix: In some rare cases (probably when two users edit the snippet at the same time), an empty snippet is created that will break the UI and require deletion from the database
  • Bugfix: When you download the UI settings from the cloud, the Codemap option is enabled, regardless of the state
  • Bugfix: "Download/Upload from cloud" is still visible in the context menu, even when using a read-only or disabled API key
  • Bugfix: Condition builder appearing for SCSS partials
  • Bugfix: PHP warning when Oxygen color list is empty
  • Bugfix: Minification converts 0% to 0, but 0% is required for HSL CSS rendering
  • Bugfix: External CSS files loaded incorrectly in some cases
  • Bugfix: Date conditions don’t work in some cases
  • Bugfix: admin_head not working for HTML snippets
  • Bugfix: "Format Code" not working in SCSS partials
  • Bugfix: When dragging a disabled snippet to a folder, the toggle in the UI shows it as enabled
  • Bugfix: CSS Snippets not working in Functionality Plugin
  • Bugfix: In Safari, the snippet status overlaps the save button
  • Bugfix: When uploading a folder to the cloud, the snippets in the folder are duplicated
  • Bugfix: Format code shortcut saves snippet instead of formatting the code

WPCodeBox Cloud App Released

Sunday, 5th Nov 2023
  • New Feature: Manage your Cloud Snippets from the web app at my.wpcodebox.wpenginepowered.com
  • New Feature: Revisions for you cloud snippets, so you can see change history of a snippet
  • New Feature: Diff Editor in the web app, to see revisions and changes
  • New Feature: Download the WPCodeBox plugin without an API Key from the Downloads Page
  • New Feature: Export your Cloud Snippets from the web app
  • Improvement: Legacy API Keys moved to the API Key Manager, so they can be revoked/changed
  • Improvement: SCSS Partials are not served to WPCodeBox v1 request
  • Improvement: Improved "My Account" area usability
  • Improvement: Ability to change your email from the &qout;My Account" area
  • Improvement: Various performance and security improvements
  • Bugfix: When cloud snippets are updated from within the plugin, the hooks are reset
  • Bugfix: Improved compatibility with the Cloud, when moving snippets between WPCodeBox 1 and WPCodeBox 2
  • Bugfix: When downloading a partial from the cloud in WPCodeBox v1, the UI breaks

WPCodeBox 2 v1.0.3

Sunday, 28th May 2023
  • Bugfix: Snippet order not preserved when reordering using drag and drop

WPCodeBox 2 v1.0.2 released

Thursday, 25th May 2023
  • New Feature: Add "Unlink from Cloud&quot button to snippets context menu
  • Bugfix: Autoreload not working when both WPCodeBox and WPCodeBox 2 are installed
  • Bugfix: Snippets with very long descriptions not saved
  • Bugfix: Snippets with many conditions not saved
  • Bugfix: Folder order not preserved
  • Bugfix: In some cases, deleting a cloud snippet causes a local error
  • Bugfix: Plain text snippets causing errors in some cases
  • Bugfix: In some rare cases, CSS and SCSS snippets can be saved with the plugins_loaded hook
  • Bugfix: Functionality plugin generating errors in some cases

WPCodeBox 2 v1.0.1 released

Friday, 19th May 2023
  • Bugfix: Warning when both WPCodeBox and WPCodeBox 2 are installed
  • Bugfix: Async and defer options not rendered on external JS tags
  • Bugfix: Custom shortcode parameters are not passed to custom shortcodes
  • Bugfix: Create/download from cloud is not working for very large snippets
  • Bugfix: Frontend header (After page builders) hook not rendering JS and CSS snippets
  • Bugfix: Deprecated notices in PHP 8.2 in the update library
  • Bugfix: WPCodeBox error page is showing for non-WPCodeBox errors

WPCodeBox 2 v1.0.0 released

Tuesday, 9th May 2023
  • New Feature: Monaco Editor
  • New Feature: Autocomplete for all WordPress actions & filters & Parameters
  • New Feature: Functionality Plugin (Experimental)
  • New Feature: WooCommerce hooks snippet insertion for HTML and PHP Snippets
  • New Feature: Color picker for CSS/SCSS/LESS
  • New Feature: SCSS Partials
  • New Feature: Render PHP/HTML snippets using custom shortcodes
  • New Feature: Actions and custom actions for rendering snippets
  • New Feature: Option to render CSS/SCSS after page builders’ CSS
  • New Feature: Show local variables in autocomplete
  • New Feature: Save UI Settings to the cloud
  • New Feature: Execute PHP snippets using a secure external URL
  • New Feature: Collapse left/right panes using Ctrl + 1/Ctrl + 2
  • New Feature: Added do not render to PHP snippets so they can be included via code
  • New Feature: Emmet support
  • New Feature: Oxygen Color Integration
  • New Feature: Bricks Color Integration
  • New Feature: Automatic CSS Integration
  • New Feature: WordPress hooks and action reference on hover
  • New Feature: Code map that can be disabled in settings
  • New Feature: CSS Variables support and autocomplete
  • New Condition: User logged in
  • New Condition: User device (mobile/desktop)
  • Improvement: Use custom tables to store data for better performance
  • Improvement: Added info about safe mode on the error page
  • Improvement: Show notice when Safe Mode is active
  • Improvement: Added “Reload Local Snippets” button
  • Improvement: Removed jQuery from Live Reload CSS
  • Improvement: Close the context menu when clicking on another snippet
  • Improvement: Added post name to the WPCodeBox custom post types
  • Improvement: Removed arrow from priority input in Firefox
  • Improvement: Complete backend rewrite for improved performance
  • Improvement: Better error detection and handling
  • Improvement: Add loader when running manual snippets
  • Improvement: Allow the saving of SCSS/LESS snippets even if the compilation fails
  • Improvement: Action/priority/shortcode are saved to the cloud
  • Improvement: Set “plugins_loaded” as the default action for PHP snippets
  • Improvement: Make the editor fill the height
  • Improvement: Removed the plugins_loaded notice
  • Improvement: Added wp_body_open hook
  • Improvement: Fire wpcb_snippet_disabled action when a snippet is disabled
  • Improvement: Small security Improvements
  • Bugfix: PHP Notice when using the post parent conditions for posts that don't have a parent
  • Bugfix: When editing cloud snippets, the name is not updated in the list automatically
  • Bugfix: The key is not checked on autoreload, causing compatibility issues with some plugins
  • Bugfix: Snippet status not updated when downloading a snippet from the cloud
  • Bugfix: Taxonomy “Is not” condition is not working correctly
  • Bugfix: LESS is not working on PHP 8
  • Bugfix: Current snippet is not always selected when refreshing the page
  • Bugfix: Unsaved changes notification appears when there are no unsaved changes
  • Bugfix: Delete snippets from the context menu doesn't always work

WPCodeBox 2.0.0 Beta 3.0 released

Thursday, 23rd Feb 2023
  • New Feature: Multiple insertion points for CSS/SCSS/LESS/JS Snippets
  • New Feature: Enable Safe Mode by appending &safe_mode=1 to the WPCodeBox URL
  • Improvement: Preserve Snippet toggle state before refreshes
  • Improvement: Show WooCommerce actions only if WooCommerce installed
  • Improvement: Catch output automatically in shortcodes (we can use echo)
  • Improvement: Render shortcodes in HTML Snippets
  • Improvement: Add Preview to SCSS Partials
  • Improvement: Made the functionality plugin and description not editable for now
  • Improvement: Removed the enable/disable context menu for SCSS Partials
  • Beta Bugfix: Various Functionality Plugin errors and notices fixed
  • Beta Bugfix: SCSS file saved multiple times in case of errors
  • Beta Bugfix: Console errors in some cases that interfere with the WP menu on the WPCodeBox page
  • Beta Bugfix: ACF/Metabox autocomplete is not working
  • Beta Bugfix: DOM Inspector not highlighting elements
  • Beta Bugfix: Preview iframe reloads when saving the snippet for the first time
  • Beta Bugfix: Downloading a snippet from the cloud doesn’t update the code until refresh
  • Beta Bugfix: CSS auto-reload in Preview is not smooth
  • Beta Bugfix: Cache busting is not always working with JS Snippets
  • Beta Bugfix: DOM Inspector not working
  • Beta Bugfix: Fix notices and warnings
  • Beta Bugfix: Error when uploading snippets with hooks to the cloud
  • Beta Bugfix: When on a cloud snippet and clicking “New Snippet”, the code is carried over from the cloud snippet
  • Beta Bugfix: Error when using condition too early
  • Beta Bugfix: Current logged-in user condition missing
  • Beta Bugfix: Uncaught error when there is an error in a “Root” defined snippet
  • Beta Bugifx: Conditions error in Functionality Plugin
  • Beta Bugfix: Autoreload not taking account of the conditions
  • Beta Bugfix: In some cases, when using the Functionality Plugin, Inline CSS Snippets not loading on the frontend
  • Bugfix: Tooltips show under the WP menu
  • Bugfix: Overflow issue when there’s a long error
  • Bugfix: When switching from Manual Snippet to cloud snippet, the run button is not hidden
  • Bugfix: In some cases, when editing a cloud snippet, the type changes from CSS to PHP
  • Bugfix: Upload to the cloud in the context menu doesn’t work for snippets in folders

WPCodeBox 2.0.0 Beta 2.3 released

Monday, 19th Dec 2022
  • Bugfix: PHP Notice when using the post parent conditions for posts that don't have a parent
  • Beta Bugfix: DOM Inspector not working with Monaco Editor
  • Beta Bugfix: Error when deactivating and activating the plugin in some cases
  • Beta Bugfix: PHP Warning/Notices in some edge cases
  • Beta Bugfix: PHP Error when editing an SCSS Partial that is included in an SCSS Snippet
  • Beta Bugfix: Settings not saving consistently on new installs

WPCodeBox 2.0.0 Beta 2.2 released

Saturday, 10th Dec 2022
  • Beta Bugfix: PHP Notice when running certain PHP Snippets
  • Beta Bugfix: SCSS Snippets not recompiled when saving a contained partial
  • Beta Bugfix: Minify not working for SCSS and LESS
  • Beta Bugfix: Autoreload not working when there were no inline snippets saved
  • Beta Bugfix: Some themes not correctly mapped, resulting in the wrong theme selected
  • Beta Bugfix: Settings not saved correctly

WPCodeBox 2.0.0 Beta 2.1 released

Thursday, 8th Dec 2022
  • Beta Bugfix: When changing some settings, they are not preserved on page refresh
  • Beta Bugfix: Conditions are not working correctly for some CSS/JS Snippets
  • Beta Bugfix: Cmd + S not working on Mac
  • Beta Bugfix: PHP Snippets created in V1 are not running if they are not saved
  • Beta Bugfix: Conditions for CSS in the Functionality Plugin

WPCodeBox 2.0.0 Beta 2.0 released

Sunday, 4th Dec 2022
  • New Feature: Monaco Editor
  • New Feature: Autocomplete for all WordPress actions & filters & Parameters
  • New Feature: WooCommerce hooks snippet insertion for HTML and PHP Snippets
  • New Feature: Color picker for CSS/SCSS/LESS
  • New Feature: Oxygen Color Integration
  • New Feature: Bricks Color Integration
  • New Feature: Automatic CSS Integration
  • New Feature: WordPress hooks and action reference on hover
  • New Feature: Code map that can be disabled in settings
  • New Feature: CSS Variables support and autocomplete
  • New Condition: User logged in
  • New Condition: User device (mobile/desktop)
  • Improvement: Added info about safe mode on the error page
  • Improvement: Show notice when Safe Mode is active
  • Improvement: Added “Reload Local Snippets” button
  • Improvement: Removed jQuery from Live Reload CSS
  • Improvement: Close the context menu when clicking on another snippet
  • Improvement: Added post name to the WPCodeBox custom post types
  • Improvement: Removed arrow from priority input in Firefox
  • Beta Bugfix: Fixed PHP warnings
  • Beta Bugfix: Fixed autoreload issues
  • Beta Bugfix: Fixed error reporting and detection issues
  • Beta Bugfix: Inconsistent snippet enabled/disabled state
  • Beta Bugfix: Cannot upload snippet to cloud when it’s in a folder and right-clicking on it
  • Beta Bugfix: Bug when running HTML snippet as shortcode

WPCodeBox 2.0.0 Beta 1.0 released

Monday, 17th Oct 2022
  • New Feature: Functionality Plugin (Experimental)
  • New Feature: SCSS Partials
  • New Feature: Render PHP/HTML snippets using custom shortcodes
  • New Feature: Actions and custom actions for rendering snippets
  • New Feature: Option to render CSS/SCSS after page builders’ CSS
  • New Feature: Show local variables in autocomplete
  • New Feature: Save UI Settings to the cloud
  • New Feature: Execute PHP snippets using a secure external URL
  • New Feature: Collapse left/right panes using Ctrl + 1/Ctrl + 2
  • New Feature: Added do not render to PHP snippets so they can be included via code
  • New Feature: Emmet support
  • Improvement: Complete backend rewrite for improved performance
  • Improvement: Better error detection and handling
  • Improvement: Add loader when running manual snippets
  • Improvement: Allow the saving of SCSS/LESS snippets even if the compilation fails
  • Improvement: Action/priority/shortcode are saved to the cloud
  • Improvement: Set “plugins_loaded” as the default action for PHP snippets
  • Improvement: Make the editor fill the height
  • Improvement: Removed the plugins_loaded notice
  • Improvement: Added wp_body_open hook
  • Improvement: Fire wpcb_snippet_disabled action when a snippet is disabled
  • Improvement: Small security Improvements
  • Bugfix: When editing cloud snippets, the name is not updated in the list automatically
  • Bugfix: The key is not checked on autoreload, causing compatibility issues with some plugins
  • Bugfix: Snippet status not updated when downloading a snippet from the cloud
  • Bugfix: Taxonomy “Is not” condition is not working correctly
  • Bugfix: LESS is not working on PHP 8
  • Bugfix: Current snippet is not always selected when refreshing the page
  • Bugfix: Unsaved changes notification appears when there are no unsaved changes
  • Bugfix: Delete snippets from the context menu doesn't always work

WPCodeBox 1.4.1 released

Tuesday, 7th Jun 2022
  • Bugfix: Fix error when snippet has certain conditions

WPCodeBox 1.4.0 released

Tuesday, 7th Jun 2022
  • New Feature: Select hook execution location for PHP code snippets
  • New Feature: Edit Cloud Snippets directly
  • New Feature: Code Formatter for PHP/JS/CSS/SCSS snippets
  • New Feature: ACF Autocomplete (if ACF is installed)
  • New Feature: Meta Box Autocomplete (if Meta Box is installed)
  • New Feature: Context menu for Code Snippets
  • New Feature: Clone snippets from the context menu
  • New Feature: Hook suggestions when adding ACF Code
  • New Feature: Hook suggestions when adding Meta Box Code
  • New Feature: Add cache-busting string to static assets on code snippet save
  • Improvement: Workaround for the need to add secret keys on Local by Flywheel
  • Improvement: Unload notice and confirmation if you have unsaved changes and want to leave the page/refresh
  • Improvement: Mark snippet as changed when editing conditions
  • Improvement: Make snippet list scrollable
  • Improvement: Make code snippet top-bar smaller
  • Improvement: User Role condition
  • Improvement: Login Page condition
  • Improvement: Allow the removal of the 1st condition in a group
  • Improvement: Better support for CSS variables
  • Bugfix: Inconsistencies when downloading an already opened code snippet from the cloud
  • Bugfix: Snippet drag and drop doesn’t work in Firefox
  • Bugfix: Snippet order resets in the UI if you drag and drop snippets and then you open/close the folder
  • Bugfix: Inconsistencies when downloading an already opened code snippet from the cloud
  • Bugfix: Taxonomy condition triggers warning

WPCodeBox 1.3.3 Beta 1.4 released

Wednesday, 1st Jun 2022
  • New Feature: Select hook execution location for code snippets
  • New Feature: ACF Autocomplete
  • New Feature: Hook suggestions when adding ACF Code
  • New Feature: Meta Box Autocomplete
  • New Feature: Hook suggestions when adding Meta Box Code
  • New Feature: Add cache-busting string to static assets on code snippet save
  • Improvement: Make code snippet top-bar smaller
  • Beta Bugfix: Warning in Login Condition
  • Beta Bugfix: Unload notice appearing even when there are unsaved changes
  • Beta Bugfix: Issue when scrolling in Edge

WPCodeBox 1.3.3 Beta 1.3 released

Saturday, 14th May 2022
  • New Feature: Edit Cloud Snippets directly
  • New Feature: User Role condition
  • New Feature: Login Page condition
  • New Feature: Code Formatter for PHP/JS/CSS/SCSS snippets
  • New Feature: Unload notice and confirmation if you have unsaved changes and want to leave the page/refresh
  • New Feature: Context menu for Code Snippets
  • New Feature: Clone snippets from the context menu
  • Improvement: Mark snippet as changed when editing conditions
  • Improvement: Allow the removal of the 1st condition in a group
  • Improvement: Make snippet list scrollable
  • Improvement: Better support for CSS variables
  • Improvement: User Role condition
  • Bugfix: Inconsistencies when downloading an already opened code snippet from the cloud
  • Bugfix: Snippet drag and drop doesn't in Firefox
  • Bugfix: Snippet order reset in UI if you drag and drop snippets and then you open/close the folder
  • Bugfix: Line wrap not applied to pasted code

WPCodeBox 1.3.3 Beta 1.2 released

Monday, 18th Apr 2022
  • Improvement: Better support for CSS variables
  • Bugfix: Inconsistencies when downloading an already opened code snippet from the cloud

WPCodeBox 1.3.3 Beta 1.1 released

Sunday, 17th Apr 2022
  • Bugfix: Taxonomy condition triggers warning

WPCodeBox 1.3.3 Beta 1.0 released

Sunday, 10th Apr 2022
  • Bugfix: Taxonomy condition triggers warning

WPCodeBox 1.3.2 released

Thursday, 17th Mar 2022
  • New Feature: Edit multiple Code Snippets, without loosing changes when switching between them
  • New Feature: Preview Cloud Snippets
  • New Feature: Drag And Drop Snippets and Folders to reorder them
  • New Feature: CSS Preview Window with DOM Inspector
  • New Feature: Change layouts from Plugin Settings
  • New Feature: Enable Dark Mode from Plugin Settings
  • New Feature: Wrap Long Lines in Plugin Settings
  • New Feature: Snippet quick Enable/Disable from the Snippet List
  • Improvement: Search works in Snippet Code
  • Improvement: Set priority to the default 10 when downloading a snippet from the cloud
  • Improvement: In case a snippet is disabled because of an error, show the line number in the error report
  • Improvement: Added filter to rename "Quick Actions" text
  • Improvement: Preserve collapsed middle pane state when switching snippets
  • Improvement: Do not autosuggest in comments
  • Improvement: Do not autosuggest in strings
  • Improvement: Do not autosuggest when opening PHP tag
  • Bugfix: Deleting Condition Group deletes the last group, not the current one
  • Bugfix: SCSS/LESS rendered as external file not loaded correctly
  • Bugfix: When pressing delete in Snippet Title or Description, the delete snippet pop-up opens
  • Bugfix: PHP Warning when rendering external JS Scripts with no tag options

WPCodeBox 1.3.2 Beta 1.5 released

Monday, 14th Mar 2022
  • New Feature: Drag and Drop reorder for Cloud Code Snippets
  • Improvement: Dark mode UI Improvements
  • Improvement: Improved DOM inspector and selector detector
  • Beta Bugfix: Wrap long lines not preserved when switching code snippets
  • Beta Bugfix: Snippet completers appearing in CSS comments
  • Beta Bugfix: Preview issues (iframe refreshing by itself in some cases)
  • Beta Bugfix: Settings Dark Mode/Layout not working correctly in some cases

WPCodeBox 1.3.2 Beta 1.4 released

Saturday, 19th Feb 2022
  • Beta Bugfix: In some cases the editor shows only a few lines of code
  • Beta Bugfix: Disable preview when deleting the current snippet
  • Beta Improvement: Preserve the preview URL when switching between snippets
  • Beta Improvement: Removed enable/disable toggle from folders
  • Beta Improvement: The switch that toggles enable/disable snippets inverted
  • Bugfix: Deleting Condition Group deletes the last group, not the current one
  • Bugfix: SCSS/LESS rendered as external file not loaded correctly

WPCodeBox 1.3.2 Beta 1.3 released

Tuesday, 15th Feb 2022
  • New Feature: CSS Preview Window with DOM Inspector
  • New Feature: Drag And Drop Snippets and Folders to reorder them
  • New Feature: Change layouts from Plugin Settings
  • New Feature: Enable Dark Mode from Plugin Settings
  • New Feature: Wrap Long Lines in Plugin Settings
  • New Feature: Snippet/Folder quick Enable/Disable from the Snippet List
  • Improvement: Search works in Snippet Code
  • Improvement: Set priority to the default 10 when downloading a snippet from the cloud
  • Improvement: In case a snippet is disabled because of an error, show the line number in the error report
  • Improvement: Added hook to rename "Quick Actions" text
  • Beta Bugfix: Inconsistent save icon state
  • Bugfix: Warning when rendering external JS Scripts with no tag options

WPCodeBox 1.3.2 Beta 1.2 released

Tuesday, 25th Jan 2022
  • New Feature: Edit multiple Code Snippets, without loosing changes when switching between them
  • New Feature: Preview Cloud Snippets
  • Improvement: Preserve collapsed middle pane state when switching snippets
  • Improvement: Do not autosuggest in comments
  • Improvement: Do not autosuggest in strings
  • Improvement: Do not autosuggest when opening PHP tag
  • Bugfix: When pressing delete in Snippet Title or Description, the delete snippet pop-up opens
  • Bugfix: In some cases, upload CSS files to cloud worked inconsistently

WPCodeBox v1.3.1 released

Thursday, 23rd Dec 2021
  • Improvement: Added classes to select boxes to allow a Dark Mode snippet
  • Bugfix: When using a read-only API Key cloud folder rename and upload is still available in UI

WPCodeBox v1.3.0 released

Wednesday, 22nd Dec 2021
  • New Feature: Integration with the API Key manager
  • New Feature: Add/Manage External CSS and JS
  • New Feature: CDNJS integration for adding external files (access and search over 4000 JS libraris from inside WPCodeBox)
  • New Feature: Ability to defer/async external JS or JS that was saved to file
  • New Feature: Quick Actions (add manual snippets to the top bar and run them with no page refresh)
  • New Feature: HTML code snippet support
  • New Feature: Save CSS/SCSS/JS to external file
  • New Feature: Minify CSS/SCSS/JS code
  • Improvement: Setting to show a confirmation before uploading a snippet to the cloud
  • Improvement: Keep track of changes so we can detect overwriting of newer code to the cloud in the future
  • Improvement: CSS Autoreload revamp, no need to refresh, autoreload external CSS/SCSS with cache busting
  • Improvement: New and improved local folder logic
  • Improvement: Preserve the current open snippet when reloading the page
  • Improvement: Don't fail when unable to load local or cloud snippets, display an error
  • Improvement: Don't run snippets on WPCodeBox requests (so you can still access WPCodeBox in case of error)
  • Improvement: Don't open folders on hover, just highlight them
  • Improvement: Delete selected code snippet when pressing DELETE
  • Bugfix: Snippets not updated when deleting a cloud folder (changes appearing only after refresh)
  • Bugfix: Drag snippets outside of cloud folders doesn't work
  • Bugfix: Some very rare compatibility issues with certain server setups

WPCodeBox 1.3.0 Beta 1.1 released

Thursday, 9th Dec 2021
  • New Feature: Add/Manage External CSS and JS
  • New Feature: CDNJS integration for adding external files (access and search over 4000 JS libraris from inside WPCodeBox)
  • New Feature: Ability to defer/async external JS or JS that was saved to file
  • Bugfix: Some very rare compatibility issues with certain server setups

WPCodeBox 1.3.0 Beta 1.0 released

Wednesday, 17th Nov 2021
  • New Feature: Quick Actions (add manual snippets to the top bar and run them with no page refresh)
  • New Feature: HTML code snippet support
  • New Feature: Save CSS/SCSS/JS to external file
  • New Feature: Minify CSS/SCSS/JS code
  • Improvement: Setting to show a confirmation before uploading a snippet to the cloud
  • Improvement: Keep track of changes so we can detect overwriting of newer code to the cloud in the future
  • Improvement: CSS Autoreload revamp, no need to refresh, autoreload external CSS/SCSS with cache busting
  • Improvement: New and improved local folder logic
  • Improvement: Preserve the current open snippet when reloading the page
  • Improvement: Don't fail when unable to load local or cloud snippets, display an error
  • Improvement: Don't run snippets on WPCodeBox requests (so you can still access WPCodeBox in case of error)
  • Improvement: Don't open folders on hover, just highlight them
  • Bugfix: Snippets not updated when deleting a cloud folder (changes appearing only after refresh)
  • Bugfix: Drag snippets outside of cloud folders doesn't work

WPCodeBox v1.2.1 released

Sunday, 3rd Oct 2021
  • Improvement: Set focus back to the input field when creating a new cloud folder
  • Improvement: Added the editor font to the plugin, so that the experience is more consistent across different OS's
  • Bugfix: Code editor UI issues on Windows PCs
  • Bugfix: After saving the settings, the Font Size input field was empty
  • Bugfix: In some cases, when dragging a local snippet to a folder, an error would appear in the error log

WPCodeBox v1.2.0 released

Saturday, 2nd Oct 2021
  • Improvement: Cloud Folders (create folders to organize your cloud snippets)
  • Improvement: Added TXT file support (for notes that can be saved in the cloud)
  • Improvement: Added editor settings (theme and font size)
  • Improvement: UI Improvements
  • Bugfix: When selecting header for CSS or JS, the script would be actually loaded in the footer
  • Bugfix: When deleting local folders, sometimes child snippets are not deleted
  • Bugfix: When having a folder open and deleting another folder, the next folder would be open

WPCodeBox v1.1.8 released

Monday, 2nd Aug 2021 Improvement: Add the option to move WPCodeBox to the tools menu Bugfix: Parent post condition not working Bugfix: When changing the snippet priority, the save icon doesn't turn orange (to notify of unsaved changes) Bugfix: When changing the header/footer option, the value defaults to footer Bugfix: Custom PHP condition UI appears over select elements (Z-index problem)

WPCodeBox v1.1.7 released

Thursday, 22nd Jul 2021 Improvement: Condition builder (for building complex conditions for when to run/not run snippets) Improvement: Added option to run CSS and JS in header or footer Improvement: Added the snippet priority option, to modify snippet execution order Improvement: Long names in cloud snippets make titles jump on hover which can be distracting Bugfix: Hide Code Snippets from the Oxygen preview select Bugfix: Make CSS and JS run correctly in the admin area

WPCodeBox v1.1.6 released - maintenance release

Wednesday, 16th Jun 2021
  • Bugfix: Editor height too small, especially on 4k displays
  • Bugfix: Cloud snippets not always updated correctly
  • Bugfix: Error when enabling dev mode for CSS snippets that are set to run on the frontend
  • Bugfix: Error when saving SCSS and having WP-SCSS enabled
  • Bugfix: Fonts not found error in console
  • Bugfix: When switching the snippet from custom to manual, the page conditions are not hidden

WPCodeBox v1.1.5 released

Thursday, 10th Jun 2021
  • Bugfix: Admin notice when repeatedly activating/deactivating the plugin

WPCodeBox v1.1.4 released

Tuesday, 8th Jun 2021
  • SASS integration
  • LESS integration
  • Run/don't run snippets on multiple pages/posts
  • Download manually running Snippets from the Snippet Repository
  • Hide license keys on the frontend
  • UI Improvements

WPCodeBox v1.1.3 released

Wednesday, 19th May 2021
  • Added JS support
  • Fixed CSS files appearing as PHP inside folders
  • Fixed conflict with FluentSMTP
  • Fixed running CSS snippets on archive pages

WPCodeBox v1.1.2 released

Friday, 14th May 2021
  • Added new version and update notifications in the dashboard
  • Added cache busting to static CSS assets
  • Added access to the snippet repository from within the plugin
  • Improved the way snippets run, make them run at a lower level
  • Fixed snippets that should run everywhere not running

WPCodeBox v1.1.1 released

Sunday, 9th May 2021
  • Fixed: snippets that should run everywhere are not running

WPCodeBox v1.1.0 released

Sunday, 2nd May 2021
  • Added support for CSS files
  • Added auto-refresh for CSS changes
  • Added the ability to select on which pages/posts the snippets should run
  • Added the ability to collapse the edit snippet pane
  • Added wrapping for long lines in the editor

WPCodeBox v1.0.4 released

Thursday, 29th Apr 2021
  • Allow the parsing of nested HTML and JS code

WPCodeBox v1.0.3 released

Wednesday, 21st Apr 2021
  • Fixed compatibility with Fluent Forms

WPCodeBox v1.0.2 released

Wednesday, 21st Apr 2021
  • Fixed running code with nested quotes

WPCodeBox v1.0.1 released

Wednesday, 21st Apr 2021
  • The description is now a textarea.
  • Allow the code editor to run on HTTP auth pages.
  • Fixed header auth problems on some browsers.
  • Fixed long snippet names change the cloud icon size.
  • Fixed snippet running priority.
  • Fixed snippet error reporting and disabling.
  • Fixed small UI problems.
WPCodeBox is a WordPress Code Snippets Manager that allows you to share your WordPress Code Snippets across your sites.