Performance (Theme Options > Performance; existing sites keep "Legacy" loading until "Optimized" is chosen, new demo imports use "Optimized"):
- On-demand script loading: sliders, accordion slider, countdown, price slider, masonry/packery, counter are only loaded where their markup is printed; fancyBox, zoom and quick view are loaded when used (new assets/global/js/loader.js, bzotech_need(), filter "bzotech_asset_components").
- Sliders start at DOM ready (were started on window load), one per task, sliders far below the fold when they come near the viewport.
- Slider Revolution files only on pages with a slider; Contact Form 7, wishlist prettyPhoto/selectBox, compare DataTables CSS, currency switcher price filter only where needed; YITH Wishlist PHP templates instead of React (no more 401 REST error); jQuery Migrate removed (kept for YITH Compare and the counter).
- Icon fonts in WOFF2 with font-display:swap; theme Google Fonts with display=swap; unused Elementor Kit Google Fonts (Roboto, Roboto Slab) skipped.
- Above-the-fold images: the first content image loads eagerly with fetchpriority=high (was given to a mega menu image), others lazy; the opened panel of a hero accordion slider is preloaded.
- Theme stylesheets served as one bundle per page type (assets/global/css/theme-bundle*.min.css), duplicate stylesheets printed once, animate.css/animation/compare styles moved out of <head>.
- Mega menu and "Append content after footer" HTML cached for guests (cleared when content or options are saved); mega menu sub-items no longer render unused templates.
- Newsletter popup opens after the first visitor interaction and slides in without layout shift.
- Theme scripts versioned with the theme version + file time (updates are not served from old caches).
- "Image down size" option: sizes already generated are no longer resized again on every request.
Fix:
- Layout shift of the accordion slider (space reserved with its width/height ratio, panels shown once the first image is in).
- Layout shift of the product gallery "vertical" layout on tablets/phones (layout chosen before the first paint).
- Accordion slider: every panel used the link of the last one; images use the media library URL (imported demos kept the demo site URL) and have an alt text.
- Wishlist button: "added" class glued to the previous class name.
- Product tabs: tab links had role="button" inside role="tablist"; "Share" and "Ask Us" icon links had no accessible name.
- Countdown empty in the loop copies of product sliders.
- TypeError after an AJAX add to cart (countdown_time_add_to_cart callback).
- CSS of "Append Content Before", the Elementor Kit and Elementor icons printed in <head> (were printed at the end of the page).
Accessibility:
- Main landmark, names for image/icon-only links and buttons, search field labels, tab roles, "Read more" links with the post title for screen readers, WordPress .screen-reader-text style (switch "Accessibility improvements"); banner images without a link are no longer announced as buttons.
Updated:
- Plugin Bzotech Elementor 2.3
Fix:
- Fix Redux 4.x saves the post meta of fields registered in Redux_Metaboxes::$fields
Updated:
- Plugin Bzotech Core 2.2
- Plugin Bzotech Elementor 2.2
Fix:
- Add "if ( ! defined( 'ABSPATH' ) ) { exit; }" guard to all theme PHP files to prevent direct file access.
- Add nonce check to AJAX handler bzotech_load_ajax_tool_panel().
- Sanitize/clamp $_GET number, posts_per_page, page inputs (archive.php, index.php, search.php, top-filter.php, shop/product-list ajax handlers...) to prevent abuse via invalid values.
- Harden Bzotech_Template::load_view()/load_view_assets() against path traversal.
- Escape output with esc_html()/wp_kses_post() in ajax tool-panel HTML and yith-compare-button.php icon output.
- Fix fatal TypeError on PHP 8 when AJAX json_decode() returns null (new bzotech_decode_ajax_json() helper).
- Fix "session already active" PHP warnings by guarding session_start()/session_destroy() with session_status().
- Fix double-encoded Google Fonts URL.
- Fix body-background option type (Redux/metabox), reworked to unified "background" control.
- Fix mega menu init timing (hooked to init instead of running at file load).
- Fix Redux config loading too early (deferred to init hook).
- Fix undefined $item_wrap/$item_inner notices in post/product grid templates.
Updated:
- Migrate icon library from Font Awesome to Line Awesome across templates, post-meta output and social icon maps.
- Migrate product gallery/image sliders from Slick to Swiper.js (single product detail templates, quick view) — added 3 missing detail-minimal-style1/2/3.php templates to match the other demo styles.
- Migrate image/video popups from Magnific Popup to Fancybox (Instagram gallery, popup video).
- Consolidate & minify frontend CSS/JS into fewer bundled files (base-style, elementor, side-wide, style, custom-style) for fewer HTTP requests.
- Add no_found_rows to WP_Query calls (search, related/latest products, ajax pagination, widgets) for better query performance.
- Cache repeated option/meta lookups with static vars + object cache for tax attributes.
- Add loading="lazy" to product swatch images.
- Add preconnect hints for Google Fonts.
- Load jquery-elevatezoom only on single product pages; drop unused scripts (slick, magnific-popup, accordionSlider, modernizr, hoverdir, TimeCircles, jcarousellite, mCustomScrollbar, owl.carousel, jquery-ui-tabs/slider) and their library files.
- Preload Elementor header/footer widget CSS/JS earlier to fix missing styles on first load.
- Remove layout-shift "opacity:0" preload rule that could hide page content.
- Plugin BZOTech Core 1.4
Removed:
- Remove unused Elementor "Image Choose" and "Ajax Select2" custom controls (not referenced by any widget).
- Remove the theme's old built-in demo importer and legacy Customizer (Option Tree) integration, superseded by the current import flow.
- Remove unused post-like feature script and dead owl-carousel slider functions (bzotech_owl_slider, bzotech_all_slider — no markup used them).
Fix:
- Disable woocommerce message contains outdated copies of some WooCommerce template files