Printcart Store - Web to Print Product Designer for WooCommerce: full changelog = 2.14.8 (2026, Nov 25) = * Security: the designer's reference and shared-design parameters accept only design keys, so they cannot point outside the customer design folder. * Security: the path containment check refuses empty paths. = 2.14.7 (2026, Nov 25) = * Security: hardened product builder preview file paths. The product builder save no longer reads the base image path from the uploaded design config; the base image comes from the stored product option (attachment inside the uploads folder, PNG/JPEG only), and the save refuses unknown task flags, foreign files and oversized frames. * Security: local URL to path mapping refuses host-less paths, other hosts and ".."; image crop, SVG/PDF image embedding and PDF backgrounds accept only real images or PDFs inside the plugin folders. * Security: overwriting or deleting an existing design, draft or upload folder needs its owner (session, cart, order or saved design) or a store manager; the final PDF download needs staff or the customer of a completed order; the stock photo search only calls the Pexels/Freepik APIs and returns JSON. = 2.14.6 (2026, Nov 21) = * Security: Printing Options save and "Move to Trash", Template Fields mapping save, product import/export and the settings export now require a nonce (settings export also requires a manager role). * Security: B2B quote accept/decline links in quote emails carry a signed per-quote token; old links ask for one confirmation click. * Security: the setup wizard verifies its nonce and capability; SQL in template and quote lookups is prepared; include paths and file names are validated. * Compatibility: PHP 8.4/8.5 deprecations removed (imagedestroy, curl_close, fputcsv arguments); scripts declare version and footer arguments; WooCommerce 11.3 parent-item-key declarations. * Code quality: WordPress Plugin Check and WooCommerce QIT warnings cleared (input unslashing/sanitizing, debug output removed, composer.json shipped). = 2.14.5 (2026, Nov 21) = * Security: the B2B customer list loads users with get_users() and an ID filter only, so no search text ever reaches the user query (WooCommerce.com QIT review). = 2.14.4 (2026, Nov 21) = * Security: the B2B customer list builds its user query from an explicit argument list (login and display-name search columns only, matching by ID), for the WooCommerce.com QIT review. = 2.14.3 (2026, Nov 21) = * Security: the B2B customer list declares its user-query search columns without the e-mail column (WooCommerce.com QIT review). = 2.14.2 (2026, Nov 21) = * Security: the B2B customer search now matches login, e-mail and display name through an escaped, prepared query instead of a WP_User_Query search string; removed a leftover debug method from the printing-options list. * Compatibility: explicit htmlspecialchars()/htmlspecialchars_decode() flags for the product guideline and printing tab content (PHP 8.1+), keeping the previous output. = 2.14.1 (2026, Nov 21) = * Security: sanitize and unslash every request value read by the plugin, escape remaining output, and remove the bundled Giphy API key default (merchants add their own key). * Compatibility: use the jQuery UI, moment, CodeMirror and React copies that ship with WordPress instead of bundled copies; explicit flags for htmlspecialchars and related functions (PHP 8.1+). * Housekeeping: bundled PDF libraries (dompdf, TCPDF, FPDI, TCPDI, EvalMath, JWT) moved to vendor/bundled; translator comments and ordered placeholders for translatable strings; direct-access guards on every PHP file; "Tested up to" kept only in readme.txt. = 2.14.0 (2026, Nov 20) = * Changed: the Printcart Store admin screens now live under WooCommerce > Printcart instead of a separate top-level menu. Every screen keeps its address, and a navigation bar at the top of each screen lists the same sections as before. * Changed: the text domain is now printcart-integration, so translations from translate.wordpress.org load. Translation files made for the old domain web-to-print-online-designer are still read for this version. * Changed: jQuery UI, AngularJS, Bootstrap, Lodash and jsPDF ship inside the plugin instead of loading from third-party CDNs; jsPDF is pinned to 4.2.1. * Security: output escaping and prepared database queries across the admin screens, storefront templates and the B2B module. * Tweak: WooCommerce tested up to 11.3. = 2.13.6 (2026, Oct 26) = * Security: files uploaded through the designer, the "Upload design" step and product option fields are now checked by type and content before they are stored; executable files are refused, uploaded SVG artwork is cleaned of scripts, and the upload folders are protected on more servers. * Fixed: "Upload design" failed with a server error on products that have no upload settings of their own; the store-wide upload settings now apply there. * Fixed: "Process" could fail with a server error when a product's designer background or overlay was stored as a media ID or the image could not be read; the preview is now made without that image instead. = 2.13.5 (2026, Oct 20) = * Fixed: on stores with PayPal buttons on the product page, a customized design could be missing from the cart after "Process": the price check of the PayPal buttons ran between saving the design and adding the product, and used up the design link. Price checks of other plugins no longer touch the designs of the real cart. = 2.13.4 (2026, Oct 17) = * Fixed: on stores that cache product pages, a first-time shopper's customized design could be missing from the cart after the first "Process"; the product was added without its design and a second Process was needed. The designer now starts the cart session itself before the design is saved. = 2.13.3 (2026, Oct 15) = * Fixed: the designer could fail to open on some products because of a PHP error. * Security: hardening of file handling, of the request-a-quote form and of guest-callable actions. * Security: hardening of the B2B store team actions (inviting, removing and cancelling members, accepting an invitation) and of B2B pricing. * Security: hardening of the designer store actions (designer status, product submission, withdrawals) and of order design downloads. * Changed: the B2B portal (store, team, approvals) opens for the owner and the active members of an active B2B store. B2B prices still follow the customer's tier set by the shop admin or earned by spend, and team members get their store's tier while the store is active. * Changed: accepting or declining a B2B team invitation from the email link now opens a confirmation page first. = 2.13.2 (2026, Oct 6) = * Fix: AI background removal and upscaling in the designer rejected every photo from a store connected to Printcart ("Invalid image"); images hosted on files.printcart.com are now accepted. * Add: "Remove background (AI)" and "Upscale image (AI)" buttons in the designer image toolbar, shown when the tool is enabled and the store is connected. * Add: AI Tools > Guest access switch (off by default) to let shoppers who are not signed in use the AI tools; jobs spend your store's tokens. Signed-out shoppers now see a sign-in message instead of "Network error". * Fix: Saving the AI Tools page showed "Error", kept no setting and reset the designer, gallery, create-your-own and logged-in page settings. AI Tools now saves on its own, and the general settings save only changes the fields it receives. * Fix: A slow background removal said "No tokens were charged" although the job had been charged, and the result was lost. The designer now waits for the job and shows the result; a job that cannot be confirmed says it may have been charged. * Fix: The order AI Preflight panel now says which file it checked (the print PDF, with pages and trim size, or the design preview as a fallback), finds print PDFs made with forced bleed, and the "Last checked" time updates after a re-run. * Fix: Fatal error (white screen) when active together with the legacy Cmsmart plugin or any other NBDesigner-based plugin. PCDesigner now detects it before loading anything, shows one dismissible notice that says which plugin conflicts and how to resolve it, and refuses to be activated next to it. Only one NBDesigner-based plugin can run at a time. * Fix: Fatal error when active together with Printcart Studio. The B2B & B2C Store module used the same internal constant, script and function names as Printcart Studio; they are renamed. Stored B2B data and settings are not touched. * Improve: The B2B & B2C Store module skips loading, with a notice, when another plugin already declares one of its classes. * Fix: The print PDF ignored the "include bleed" choice. When bleed is requested (order download link with bleed, new-order email attachment) and a side has bleed turned on, the PDF now declares the bleed as PDF geometry: BleedBox is the design area and TrimBox is the design area minus the side's bleed. Page size and sides without bleed are unchanged. = 2.13.1 (2026, Oct 4) = * Fix: Release packaging. The 2.13.0 package on WordPress.org was built from the 2.12.0 code by mistake; 2.13.1 ships the 2.13.0 changes listed below. = 2.13.0 (2026, Oct 3) = * Add: Shared "Printcart Connect" library (bundled). One Printcart store connection and one order sender for every Printcart plugin on the site; each order line is tagged with the plugin that owns it. * Add: Printcart plugins and versions active on the site are reported to your Printcart store once it is connected. * Improve: The upload intake ("send your file to the store") only loads on products that use the Online Designer or file upload, and never on products that PC Canvas or PC Photobook manage. * Improve: Reconnecting no longer revokes a "Printcart integration" WooCommerce API key that another Printcart plugin created; only the key this plugin created is replaced. * Improve: Order sync, the activation event and the reminders are sent by the shared library (same rules: paid orders first, every later status change, 30-day catch-up once). Your existing keys and settings are kept. * Fix: Orders queued for sync by an earlier version are handed to the new sender on upgrade instead of being dropped. = 2.12.0 (2026, Oct 2) = * Add: Cancelled and refunded WooCommerce orders update the matching Printcart order, so they leave the production queue. * Add: "Use existing Printcart keys" shows which store the keys open and, for a store linked to another site, lets you use the keys without re-linking it. * Add: The order screen links straight to the print-ready PDF of each design. * Add: The free plan's 5-product limit is shown on product screens before you connect. * Improve: Order options show only what the customer chose. * Improve: Upload problems appear inside the upload box with clear wording, and file names show as uploaded. * Improve: The design tool works in a narrowed desktop browser window, and Printing Options work on block themes such as Twenty Twenty-Five. = 2.11.0 (2026, Sep 29) = * Improve: The modern design tool works properly on phones. The bottom tab bar fits 320-390px screens in equal columns, and tabs that do not fit move to a new More sheet. * Improve: The first-run tour opens as a bottom sheet on narrow screens, with Skip tour, Close and Next always on screen. Tapping outside closes it, and steps for desktop-only controls are skipped. * Improve: Toolbar, zoom and colour controls have 44x44 tap areas on phones. Text fields use 16px text so iOS no longer zooms the page, and the colour picker opens as a bottom sheet. * Improve: While editing text with the on-screen keyboard open, the text toolbar stays visible above the keyboard. The font size shows one decimal on phones. * Fix: The "Connect Printcart" notice in the design tool is shown only to store managers, never to shoppers. On phones it is a one-line strip above the tab bar instead of covering it, and dismissing it hides it for 7 days. * Fix: The default accepted upload types read "iddd" instead of "indd". Saved settings with the typo are corrected when read. * Dev: New filter `nbd_modern_mobile_polish` (default true) turns off the phone layout changes. Desktop layout is unchanged. = 2.10.1 (2026, Sep 29) = * Add: Connected stores ask the customer for name, email, optional phone and a note after a file upload, then create a pending order in the Printcart Dashboard, email the store owner and send the customer a receipt with a reference code. * Add: The upload is added to the cart only after the customer sends their details. If Printcart cannot be reached the cart still works as before. * Add: Order sync sends the uploaded files of upload-only items and the upload reference, so they appear on the order in the Printcart Dashboard. * Fix: Customer upload files are now attached to the admin new-order email (previously only designs made in the designer were attached). = 2.10.0 (2026, Sep 29) = * Add: Connect is now the first step of the setup wizard. After activation an unconnected store lands on it, with a one-click "Connect as {email}" summary, an Edit details option and a visible Skip for now. * Add: Accounts created from the plugin receive a "Set your Printcart password" email, so the merchant can sign in to the Printcart Dashboard. The generated password is never shown or stored. * Add: The connect screen lists what connecting unlocks and compares Free with Premium. * Add: Product-limit reminders on the product list and edit screens at 80% and 100% of the plan's product limit, with an upgrade link. * Add: Anonymous onboarding and upgrade events (for example connect started, upgrade clicked) are sent to api.printcart.com through the existing activation channel, only after the store is connected. Events raised before connecting stay on the site until then. * Tweak: The admin menu item reads "Connect" until the store is connected and "Printcart Account" afterwards (previously "Licenses"). * Tweak: The setup reminder now appears on the WordPress Dashboard and Plugins screens, explains what connecting unlocks, and can be dismissed for 7 days. It never shows once the store is connected. * Tweak: On a site served over HTTP the Printcart account can be created; store creation and connecting wait for HTTPS, with an explanation. * Tweak: Connect screen texts are translatable. * Fix: Automatic setup sent the account owner's name as the store name. It now sends the shop name. * Fix: Automatic setup deleted the existing WooCommerce REST key before signup finished, so a failed signup left the store without one. The old key is now kept until signup succeeds. * Fix: The hourly license check ran on every page load and called api.printcart.com without credentials. It is scheduled once and skipped while the store is not connected. * Fix: Re-activating the plugin on an unconnected store now opens the Connect step. = 2.9.2 (2026, Sep 28) = Security: Fix unsafe file creation in Google Drive image imports. Remote imports now validate image content and use server-generated filenames. Security: Limit remote image response sizes and verify secure connections. Security: Add script-execution protection for the temporary artwork directory on Apache-compatible servers. Nginx requires equivalent server configuration. Update promptly. Updating does not remove malware or restore a site that was already compromised; affected stores also require incident response. = 2.9.1 (2026, Sep 27) = * Fix: Delete Field and Clear All Fields work again in the Printing Options editor. The confirmation and notification helpers are now accessible to the editor controller. * Fix: Clear All Fields resets the field type flags so removed option types can be added again. = 2.9.0 (2026, Sep 14) = * Add: Order sync to the Printcart Dashboard. Paid WooCommerce orders, and every later status change (completed, cancelled, refunded), are sent in the background so they appear in the Dashboard for production, and their customers appear there as clients. The sync is on by default once a store is connected and can be turned off under Printcart Store > Licenses > Order sync. * Add: Past-order sync. Orders from the last 30 days are sent once when a store is connected. The window (0-365 days) is configurable, and a "Save and sync past orders now" button re-runs it. * Add: A "Printcart" box on the order screen shows the sync state, links to the order in the Dashboard and has a "Sync now" button. The orders list gets a "Sync to Printcart" bulk action. * Add: Automatic activation emails. After a store is connected, Printcart emails the merchant a secure dashboard link and the setup steps. If no product is published, or none has the design tool enabled, a reminder follows a day later. A "Resend activation email" button is on the Licenses page. * Tweak: Sync runs through Action Scheduler with retries and backoff. Rejected credentials are flagged for reconnection and are never deleted. * Fix: Product upload settings (`upload.json`) are serialized before they are written, completing the 2.8.9 `option.json` fix. When WordPress returned `_nbdesigner_upload` as an array, the file was written as imploded values such as "pdf,ps,ai,svg,...", which made Manage Templates > Edit crash with "Cannot access offset of type string on string". Files corrupted this way, and double-serialized upload settings, are now read safely, falling back to the product setting. * Fix: The modern design tool canvas is centred again on desktop and tablet. A later block rule in `modern-additional.css` was cancelling the centred flex layout from `modern.css`. A zoomed-in canvas is no longer clipped at the top. * Fix: The zoom toolbar (zoom in/out, percentage, Fit / Fill / Print size) is available on phone-width screens again, placed above the bottom tab bar. * Add: Pan mode in the modern design tool. A new button in the zoom toolbar lets customers drag a zoomed-in canvas with the mouse, a finger or a pen. On touch devices the stage now scrolls. Zooming keeps the view centred instead of jumping to the top-left corner. * Fix: Frontend Translate now applies to the modern design tool. Labels translated under Frontend Translate replace the matching text in the modern view for the site language. Menu labels (File, Edit, View, Change Product, Process, Fit, Fill and more) have been added to the translatable list. Strings that are not translated there still use the standard .po/.mo translation. * Fix: Saving a Frontend Translate language that had no saved file yet no longer overwrites the English (en_US) labels. The language code is also validated before it is used in a file path. = 2.8.12 (2026, Sep 14) = * Security: The Printcart credential push endpoint (`wc/v3/printcart/pc-auth`) no longer accepts unauthenticated requests. It previously let anyone overwrite the store's Printcart credentials with a single GET request. It now accepts only POST requests signed by Printcart (HMAC-SHA256 with a timestamp window and one-time nonce), validates credential format before saving, and refuses every push when no signing secret is configured. = 2.8.11 (2026, Sep 07) = * Fix: Enabling "Site force login" no longer fatals the REST API. The `rest_authentication_errors` filter was registered with a bare function name while the callback is a class method, so every `wp-json` request raised "valid callback ... not found" and returned a critical error page. * Fix: In Cloud API mode the per-product "Select clipart category" restriction now applies to the cliparts it is actually chosen from - the store's own clipart storages. It was being matched against the ids of the Printcart global library, two sets that never intersect, so the setting silently did nothing. * Add: "Hide default cliparts" - a store-wide setting under Settings > Frontend > Clipart, overridable per product in Clipart settings, that removes the "Default cliparts" tab so customers see only the cliparts you uploaded. Filterable through `nbd_hide_default_cliparts`. * Fix: The clipart tab labels shown in Cloud API mode ("Default cliparts", "Custom cliparts", "Load more", "Search clipart") are translatable; they were hardcoded English and absent from the translation template. = 2.8.10 (2026, Sep 03) = * Fix: Designs containing an uploaded photo save again. The SVG upload boundary now accepts image references served by the store itself or by the Printcart file host, while still rejecting every other remote host, protocol-relative reference and non-HTTP scheme. = 2.8.9 (2026, Sep 01) = * Fix: Restored normal designer saves for Fabric.js SVG output that contains the standard public SVG 1.1 declaration and local gradient or pattern references, while continuing to reject internal entities, external resources and active SVG content. * Fix: Preserved array-based product options when writing `option.json`, preventing corrupted option data and crashes on affected order and PDF screens. = 2.8.8 (2026, Aug 28) = * Security: Blocked unauthenticated arbitrary file uploads across remote image import and all customer, cart, draft and Product Builder design-save routes. Stored extensions are now derived from validated file content and a strict field allowlist, never from caller-controlled URL paths or Content-Type headers. * Security: Remote image import now uses WordPress safe HTTP requests, rejects private and loopback targets, limits response size, and stores only verified raster image content. * Security: Credit to Mike Gozdiskowski and WPScan for responsibly reporting the vulnerability and confirming active exploitation. = 2.8.7 (2026, Aug 27) = * Fix: Routed admin, storefront, automatic and background PDF generation through Printcart Cloud so WordPress no longer renders artwork or fonts with the local TCPDF engine. * Improvement: Replaced local paper-size, margin, orientation and PDF-layout controls with a single cloud-render action based on the saved product dimensions and production settings. * Fix: Cloud-render failures now show an actionable connection error instead of presenting an empty or invalid PDF as successful. = 2.8.6 (2026, Aug 21) = * Security: Hardened the public resource AJAX handler used by the designer. Mockup ZIP downloads now resolve inside the expected design folder, reject traversal attempts, and only include generated image files from the preview/mockup-preview directories. * Security: Added per-resource authorization for user design and typography resource requests, including ownership checks for saved customer designs and stricter request sanitization before database lookups. * Security: Tightened user-design SQL in the resource endpoint by replacing interpolated identifiers and IDs with prepared queries plus whitelisted resource types. * Security: Removed unauthenticated access from admin-only AJAX actions for Printcart connection, license refresh, cloud storage checks, live-chat macro management, and printing-option media tools. * Security: Added nonce and capability checks to Printcart account/store actions and separated JS fallbacks so API subscription actions no longer fall back to the app subscription URL. * Security: Hardened remote fetch helpers (`nbd_file_get_contents()`, `nbd_download_remote_file()`, image sideloading, and SVG image embedding) so user-provided URLs use safe WordPress HTTP requests, reject internal/private/link-local targets, and no longer fall back to raw `file_get_contents()` / cURL patterns. * Security: Restricted Dokan design-download links to logged-in shop managers or the seller who owns the product on the order item, and verified the requested design/upload keys against order item metadata before serving files. * Security: Preserved the public Product Builder save flow while blocking the admin task-update branch from unauthenticated requests and validating builder folder keys with the shared item-key sanitizer. * Fix: Suppressed third-party update/license notices from being injected into PC Designer admin screens, setup flows, and plugin UI surfaces. * Fix: Corrected License menu CTA routes: store/app subscription links now open the Printcart apps subscription page, API subscription links open the Printcart plans page, and dashboard links use the Printcart dashboard URL. * Compatibility: Updated the plugin metadata to `Tested up to: 7.1` after verifying the WordPress 7.1 release. = 2.8.5 (2026, Aug 20) = * Cleanup: Exclude internal agent instructions and local screenshot source folders from the WordPress.org distribution package. = 2.8.4 (2026, Aug 08) = * Improvement: Removed the product-page "Ready to design" status badge and the "Configure product / Choose design method / Add to cart" step tracker from the design launcher. In stores that display separate design buttons the tracker could not read the real product-option state and showed a green "ready" status (with "Configure product" marked complete) before required options such as size were chosen. The design launch buttons, the "Choose how to design" panel, and product-option validation are unchanged. = 2.8.3 (2026, Aug 05) = * Improvement: Refreshed the WordPress.org screenshots — added the new admin experience (Overview dashboard, Orders, AI Preflight, Global Templates, Manager Products, B2B stores and clients, Printing options and Settings) alongside the product designer. = 2.8.2 (2026, Aug 05) = * Improvement: Rewrote the plugin description for clarity, SEO and AI search — the product is now presented as "Printcart Store", with dedicated sections for the AI print tools, the B2B & B2C store module, global template collections, and enterprise multi-store management through the Printcart Dashboard API. * Improvement: Cleaner, icon-free formatting, an expanded FAQ, and a condensed External services section. = 2.8.1 (2026, Aug 05) = * Feature: The Printcart AI toolset is now fully available in your order workflow — run AI Preflight (a print-readiness check for resolution, bleed and color on the print PDF), AI Background Removal and AI Image Upscale directly from the Order detail and Design File screens. These tools use your connected Printcart store and its AI tokens; when the balance runs low the plugin links you to top up on the Printcart dashboard. * Improvement: Reformatted the changelog into readable bulleted lists and rewrote the GitHub README so release notes and features are easy to scan. = 2.8.0 (2026, Aug 05) = * Feature: B2B Brand Templates and Brand Media — new admin surfaces in the B2B & B2C Store module to manage each company store's approved design templates and brand media (logos, images) in one place. The former "Assets" page is now "Brand Templates". * Feature: Streamlined Product Edit screen for designer products — enable the designer, set categories, tags and images, and manage design fields from a single tabbed panel inside PC Designer without switching to the default WooCommerce editor. * Feature: One-click Sample Data installer — populate demo orders and B2B store data to explore the new dashboards and onboard faster (safe to remove afterwards). * Fix: When a merchant connects WordPress by pasting Sid, Secret and Unauth Token, the plugin now syncs the store back to Printcart as a WooCommerce integration so the Printcart dashboard no longer stays on "not connected". * Improvement: The manual credential save now creates fresh WooCommerce REST API keys for Printcart product/order sync and sends them to the authenticated Printcart store. * Improvement: Design-system and UX refinements across the Overview, Help/FAQ, Orders, Design Files and Custom Quotes dashboards, plus the product and field managers, for a more consistent admin. * Security: The credential-save AJAX action now requires a WordPress nonce and an admin/WooCommerce management capability before saving credentials or syncing the dashboard connection. = 2.7.0 (2026, Aug 03) = * Feature: New Overview landing page for PC Designer — an at-a-glance dashboard with key stats and quick links to the design, order and store tools. * Feature: New Sales & Production dashboards — Orders, Custom Quotes, Design Files and Clients — to manage the full print workflow inside WordPress. * Feature: New AI services powered by Printcart — Preflight quality check, AI Background Remover and AI Image Upscale. These tools require a connected Printcart store and use Printcart AI tokens; a 402 "not enough tokens" response prompts an in-app top-up. * Improvement: B2B & B2C Store module relabelled for clarity — "Brands" and "Bulk Quotes". * Improvement: Refreshed admin design system across the new dashboards for a more consistent UI. * Improvement: Hardened the frontend AI endpoints — per-user/IP rate limiting on token-charging actions, a shared "insufficient tokens" response with a Printcart wallet top-up link, and pass-through of the real tokens deducted. * Security: External AI/wallet calls go to api.printcart.com over TLS only (no verification bypass); store credentials are read from wp-config constants when defined and are never printed to HTML/JS/logs. See the new "External services" section in this readme. = 2.6.0 (2026, Jul 24) = * Feature: New optional "B2B & B2C Store" module — corporate store management, customer tiers, pricing rules, team workspaces, invitations, and custom quotes with a front-end B2B portal. Enable it in PCDesigner → Set Up → Tools → "Enable B2B & B2C Store" (off by default; all B2B menus/features stay hidden until enabled). = 2.5.4 (2026, Jul 23) = * Fix: Restore the Printcart cloud connection after the Printcart dashboard/API update. The connection check now accepts the new store-details response format (unauth_token / unauth_access_token / api_key) and requests credentials explicitly, so "Cloud features" and order designs work again. * Fix: Never erase saved API credentials on a temporary network error, timeout, or non-auth backend response — the plugin only clears the account token on a definitive 401/403. Stores that lost their token to an earlier transient error now self-heal on the next connection check. * Improvement: Reconnecting maps to your existing Printcart store (matched by site URL) instead of creating a duplicate store. * Improvement: Move all dashboard links to www.printcart.com and retire dashboard.printcart.com. "Connect to Dashboard" now opens the WordPress integration page so you can copy Sid, Secret and Unauth Token. * Improvement: Redesign the Connect screen to match the Printcart dashboard — new Account/Store cards with credential badges (Public / Server-only / Frontend SDK), a masked Secret with reveal, per-field copy and "Copy all as JSON". Copy-paste connect is primary; one-click account & store creation is kept as a secondary option. * Improvement: The Secret and Unauth token are now masked/copyable instead of shown in plain text. * Improvement: The upgrade prompt no longer auto-interrupts the connect flow — it is a non-blocking banner shown only when relevant. * Improvement: The HTTPS/SSL requirement is now explained up front with the connect actions disabled, instead of failing after you fill in the form. Local/staging sites on localhost are auto-allowed (and a NBD_PRINTCART_ALLOW_INSECURE constant is available for other dev setups). * Improvement: The plugin is now fully usable right after install — all admin menus (Products, Cliparts, Fonts, Templates, Tools…) and the product design metabox are available without a Printcart connection; cloud-only features simply stay off until you connect. * Improvement: Onboarding now lands on "Import Products" with a one-click "Install sample products" step (nothing is installed without your consent); the Printcart connection moved to a final "Connect Printcart (optional)" step. * Improvement: Activation no longer fails on non-HTTPS sites — you get a notice instead, and cloud features remain off until HTTPS + connect. * Improvement: A small dismissible prompt in the frontend designer invites store admins to connect Printcart for cloud fonts, cliparts and high-res PDF/CMYK output; the designer keeps working with local assets when not connected. * Improvement: The Printcart connection now lives on its own "Licenses" menu (moved to the bottom of the PC Designer menu); the onboarding wizard is renamed "Set Up". * Improvement: The free plan now allows up to 5 designable products (was 10). When the limit is reached, the product editor and order screens show a clear "Upgrade to Premium" prompt instead of silently blocking. = 2.5.3 (2026, Jul 02) = * Security: Additional hardening pass — see commits on the security branch for full per-fix detail. Bundle covers the remaining items surfaced by the Semgrep p/php audit (tainted-filename in admin import/export, launcher, and view files; TLS verification toggled back on for in-process HTTP fetches; sample XSS fixes for the most-exposed echo sites). * Security: Fix three additional Unauthenticated SSRF / Arbitrary URL Read sinks discovered during the security audit triggered by the WPScan report — `nbd_get_freepik_data`, `nbd_get_pexels_data`, and `nbd_import_images`. All three previously fed raw `$_POST['src']` / `$_POST['images']` into `curl_exec()` (or `nbd_download_remote_file()` which wraps it) with no scheme validation and reflected the response body / saved file URL to unauthenticated callers — the same vulnerability class as `nbdesigner_copy_image_from_url`. A new `nbd_validate_remote_url()` helper is now used by every external-fetch entry point to enforce http/https only, reject stream wrappers, and block loopback / private / link-local hosts including 169.254.0.0/16 cloud metadata. The raw `curl_exec()` calls have been replaced with `wp_safe_remote_get()`. * Security: Fix Unauthenticated Arbitrary File Read in `nbd_get_resource` `get_mockup` case (`includes/class.resource.php`) — `$_REQUEST['folder']` and pipe-delimited `$_REQUEST['mockups']` were concatenated into filesystem paths and the result was ZIPped + exposed via a public URL, allowing an attacker to bundle and download arbitrary files (e.g. `wp-config.php`, `/etc/passwd`). Folder is now validated through `nbd_sanitize_item_key()` and each mockup name is restricted to `basename()` + image-extension whitelist. * Security: Fix file enumeration in `nbd_get_resource` `get_typo` case — `$_REQUEST['folder']` was appended to a typography store path without traversal protection. Same `nbd_sanitize_item_key()` validation applied. * Security: Patch four more `nbu_item_key` path-traversal sinks (the upload-folder companion of `nbd_item_key`) in `nbu_upload_file_to_server`, `nbu_save_upload_files`, `nbd_update_customer_upload`, and `update_customer_upload` — same vulnerability class as CVE-2026-9725 that was missed in the initial sweep. * Security: Fix authenticated SQL Injection in `class.product.templates.php` — `delete_template()`, `make_primary_template()`, `make_duplicate_template()`, `record_count()`, and `count_product_template()` interpolated `$id` / `$pid` / `$_REQUEST['pid']` / `$_REQUEST['nbdesigner_filter']` straight into SQL (or used `esc_sql()` which does not protect identifiers). Replaced with `$wpdb->prepare()` + `%d` placeholders and a whitelist for the filter column name. Exploitable by any user with the `delete_nbd_template` capability or with access to the templates admin screen. Found by Semgrep `p/php` ruleset during the post-fix audit. * Security: Fix path traversal in `nbd_crop_image` — the `$_POST['crop_dir']` parameter was concatenated into a filesystem path and passed to `wp_mkdir_p()` without stripping `..`, allowing an authenticated-or-not (nonce-gated) attacker to create directories outside the uploads folder. The value is now restricted to a single `[A-Za-z0-9_-]{1,64}` leaf folder name via `basename()` + whitelist. * Security: Fix Unauthenticated Arbitrary File Read / SSRF in the `nbdesigner_copy_image_from_url` AJAX handler (reported by D01EXPLOIT OFFICIAL via WPScan / Automattic, CVSS 8.6). The `url` parameter is now validated through `esc_url_raw()` + explicit scheme allow-list (http / https only) + `wp_http_validate_url()` to reject stream wrappers honoured by `copy()` (`file://`, `php://`, `ftp://`, `expect://`, ...) and to block requests to loopback / private / link-local hosts. The `@copy($url, ...)` fast-path and `wp_remote_get()` fallback have been replaced with `wp_safe_remote_get()` so SSRF guards apply to the fetch itself. Link-local 169.254.0.0/16 (cloud instance metadata) and IPv6 fe80::/10, fc00::/7 are explicitly blocked in addition to `wp_http_validate_url()` defaults. * Security: Fix CVE-2026-9725 — Unauthenticated Arbitrary File Deletion via path traversal in the `nbd_item_key` parameter. The `store_design_data()`, `nbd_save_customer_design()`, `nbd_save_draft_design()`, and related download/export handlers now validate the design-folder key through a new `nbd_sanitize_item_key()` helper that strips path-traversal sequences and only allows the `[A-Za-z0-9_-]` character set used by legitimate keys. * Security: Harden all input sites that build filesystem paths from `$_GET['nbd_item_key']` / `$_POST['nbd_item_key']` (and `$_POST['draft_folder']`) across `class.nbdesigner.php`, `class-util.php`, `class-compatibility.php`, `class.template-tags.php`, and the `views/` editor / order screens. = 2.5.2 (2026, Jun 10) = * Security: Fix CVE-2025-10268 — Unauthenticated Folder Content Disclosure via Path Traversal in `gallery_image_exists.php`; restrict accessible paths to `wp-content/uploads/` and whitelist image-only file extensions * Security: Replace all `wp_redirect()` calls with `wp_safe_redirect()` and ensure `exit` is called after every redirect to prevent open redirect attacks and unwanted code execution * Security: Fix SQL Injection in `get_options()` — use `$wpdb->prepare()` with `%d` placeholders for `LIMIT` and `OFFSET` * Security: Fix SQL Injection in `get_balance()` and `get_earnings()` — use `$wpdb->prepare()` with per-element `%s` placeholders for `IN()` clause instead of raw string interpolation * Security: Add `if ( ! defined( 'ABSPATH' ) ) exit;` guard to all PHP files in `views/`, `includes/`, and `templates/` that were missing direct-access protection = 2.5.1 (2026, May 24) = Update version = 2.5.0 (2026, May 24) = * Update: Compatibility with WordPress 7.0 and WooCommerce 10.7.0 * Update: Declare compatibility with WooCommerce Cart & Checkout Blocks * Update: Bump minimum PHP requirement to 7.4 in plugin headers * Update: Remove deprecated `woocommerce_add_order_item_meta` hook branch (pre-WC 3.0) * Fixbug: Sanitize `$_SERVER['HTTP_HOST']` to prevent host header injection in multisite domain mapping = 2.4.9 (2026, Apr 24) = * Fixbug: Missing design file when download pdf or jpeg = 2.4.8 (2026, Mar 20) = * Add: Global Cliparts admin UI and API * Add: Assign-template-to-product modal * Update: Inline mime check callback and remove helper * Fixbug: Guard font URLs and robust template check * Fixbug: SiteGround check flagging plugin as nulled/cracked software = 2.4.7 (2026, Jan 6) = * Update: translation strings and references = 2.4.6 (2026, Jan 1) = * Update: Global templates = 2.4.5 (2025, Oct 12) = * Update: Compatible with WooCommerce version 10.3.0 = 2.4.4 (2025, Oct 17) = * Update: UI access key = 2.4.3 (2025, Aug 28) = * Update: Warning notification requiring customers to upgrade tier for usage = 2.4.2 (2025, Aug 18) = * Fixbug: Error account is active but still says upgrade = 2.4.1 (2025, Jul 17) = * Update: SQL Injection Vulnerability = 2.4.0 (2025, Jun 17) = * Update: Arbitrary File Upload = 2.3.9 (2025, May 31) = * Fixbug: Update license = 2.3.8 (2025, May 14) = * Fixbug: Conflict function = 2.3.7 (2025, May 14) = * Fixbug: Conflict function = 2.3.6 (2025, Mar 14) = * Fix download design file = Version 2.3.5 (2025, Feb 27) = * Fix import products = Version 2.3.4 (2025, Feb 25) = * Update API URL = Version 2.3.2 (2025, Feb 21) = * Update connection to store = Version 2.3.1 (2024, Nov 25) = * Update Stable tag = Version 2.3.0 (2024, Oct 24) = * Update Setup Wizard = Version 2.2.3 (2024, May 13) = * Update Setup Wizard = Version 2.2.2 (2023, Nov 17) = * Compatible with 'High Performance Order Storage' Woocommerce = Version 2.2.1 (2023, Aug 10) = * Compatible with Woocommerce 8.0.1 and Wordpress 6.3 = Version 2.2.0 (2023, Mar 29) = * Update: Menu cliparts * Update: Menu images * Update: Menu fonts * Update: Menu Templates = Version 2.1.0 (2023, Mar 10) = * Update: Upload design * Update: Menu order * Update: Menu dashboard = Version 2.0.0 (2023, Feb 10) = * Update: Products page (Listing all products imported from the Printcart Dashboard) * Update: Menu 'PC Web2Print' * Update: Page settings * Update: Add Settings to adjust button 'Start Design' ( add class, change title, change position) * Update: Store details in settings page = Version 1.2.0 (2023, Feb 10) = * Update sdk for button design = Version 1.1.1 = * Update readme = Version 1.1.0 = * New Authentication flow = Version 1.0.0 = * Initial release!