Listeo Theme - Changelog
========================

= Unreleased =

Improvements
- Built-in breadcrumbs: Breadcrumb NavXT is no longer a required plugin. While NavXT is active nothing changes (its output and settings are used as before). Without it, the theme prints its own breadcrumbs with the same markup, classes, schema.org attributes and trail as NavXT's default settings (Home > Blog > Category > Post, Home > Listings > Category > Listing, Home > Shop, search, author, date and 404 pages), so deactivating the plugin causes no visible change. Sites that changed NavXT settings (separator, labels, linked current item, custom templates) should keep the plugin active. New option in Customizer > General Options > "Breadcrumbs in title bar" (Show by default) hides them with or without NavXT. Developers: listeo_breadcrumbs() / listeo_get_breadcrumbs_items(); filters listeo_breadcrumbs_enabled, listeo_breadcrumbs_use_navxt (return false to use the built-in trail while NavXT is active), listeo_breadcrumbs_trail and listeo_breadcrumbs_items_html. Child themes that override archive.php, index.php, single.php, search.php, 404.php, woocommerce.php, template-parts/header-titlebar.php or template-parts/header-parallax.php still call bcn_display_list() and show no breadcrumbs once NavXT is deactivated: replace the NavXT block with listeo_breadcrumbs().
- The "Add" buttons on the Pricing cards now also work with the Listeo Booking Plus popup: a service added from a card is pre-selected when the popup opens and services picked in the popup are reflected on the cards. The buttons are hidden on listings with resources (services are chosen per resource inside the popup), stay in sync when a service quantity is changed, and Individual services get a radio-style "Select" / "Selected" button. Requires the Listeo Core (and Booking Plus, if used) update.
- Icon fonts (Font Awesome, Brand-Icons, simple-line-icons, fontello, iconsmind, datedropper) now declare font-display: swap, and Brand-Icons, simple-line-icons, fontello and iconsmind ship WOFF2 files listed before WOFF/TTF. PageSpeed Insights no longer reports the theme's fonts in the "Font display" insight, and browsers download a 39-68% smaller file for those icon sets. Child themes that redeclare these @font-face rules should add font-display themselves. (HS 68144.)
- Renamed the license/update client to inc/class-listeo-license-client.php (class Listeo_License_Client, with a b472b0Base alias for Listeo Core and child themes). Removed an unreachable raw cURL fallback, debug leftovers and scanner-specific wording, and documented the transport format, so hosting malware scanners stop flagging the file as a theme backdoor. License data received from the server or read from the cache is restored as plain data objects only. If the file is missing or quarantined, the theme now loads without the license screen instead of a fatal error. The license protocol, cache keys and stored activations are unchanged. (HS 68128.)
- The Listings (big) map uses the self-hosted OpenStreetMap tile and Nominatim servers set in Listeo Core > Map Settings, when configured. Requires the Listeo Core update. (HS 68079.)
- Calendar help icons now sit beside their labels and show tooltips on hover or keyboard focus.
- Compact iCal export controls with keyboard- and touch-accessible help popovers and shorter actions. Requires the updated Core export controls; compatibility settings appear only for preexisting listings.

Security
- Removed the legacy remote license-command endpoint and its init hook, including theme/plugin deletion and remote license/cache removal commands. Normal license management and update checks remain available.
- Updated Moment.js to 2.31.0 and Bootstrap Select to 1.13.18 with its HTML sanitizer enabled. Updated the bundled Bootstrap dropdown component to 3.4.1 and preserved Listeo select styling compatibility. Asset versions force browsers to fetch the updated scripts.
- Bookings imported from an external calendar export their own title and details again. The rewritten export only handled bookings made on the site, so every imported booking went out as "Reserved" with an empty description, even on a private link with details enabled.
- iCal export now requires the updated Listeo Core access helper. Legacy links expose only availability and may be disabled per listing; private token links expose guest details only after explicit opt-in. Removed personal and booking metadata from availability feeds, escaped calendar text, preserved event UIDs and disabled response caching. Update theme and Core together, purge existing cached calendar responses and update child-theme overrides of template-ical.php. Revocation does not erase data already downloaded by calendar services.

Fixes
- OpenStreetMap map tiles on the full-width map are now requested from tile.openstreetmap.org directly, instead of the deprecated a/b/c subdomains. (HS 68308.)
- "Find my location" ran twice on every click on pages with the full-width map, because the theme carried its own older copy of it alongside the one in Listeo Core. The theme copy has been removed; the Core one, which this file already depends on, handles the button. Requires Listeo Core 2.2.4 or later. (Reported by a customer, HS 68275.)
- Updating plugins in bulk from Appearance > Install Plugins could end in "Object of class WP_Error could not be converted to string" and leave the whole site, wp-admin included, showing "Briefly unavailable for scheduled maintenance" for ten minutes. It happened when one of the selected plugins required a newer PHP or WordPress version than the server has: since WordPress 6.3 the updater reports that as an error object where the plugin list expected a name. The name is shown again and the version requirement is reported as the error it is, so the rest of the batch finishes normally. Sites that hit this lost no files; the plugin that could not run on the server was simply not updated.
- The order payment page hides the misleading "Qty" column for booking orders and adjusts the totals row alignment. Regular product orders continue to show quantities.
- The inline style printed when bookings are disabled site-wide (three-column pricing rows in the listing form) no longer applies on phones, where it overrode the stacked mobile layout of the Pricing & Bookable services rows. Requires the Listeo Core update for the full mobile fix. (HS 68123.)
- Plain links inside notification boxes (for example "Restore it" on a hidden conversation) had the same colour as the text and no underline, so they were invisible. They are now underlined; button links are unchanged. (HS 68135.)
- WooCommerce account and checkout password fields showed a second, unstyled "show password" button below the field. The theme replaces WooCommerce's stylesheet and already adds its own reveal icon, so WooCommerce's button is now hidden wherever the theme's control is present (wrapper class listeo-password-field). (HS 68094.)
- Author page: custom owner fields enabled in the Listing Owner widget are shown regardless of the owner contact visibility setting, matching the widget (filter `listeo_owner_widget_show_custom_fields`). (HS 68059.)
- The password "show" (eye) icon could appear at the edge of the page instead of inside the password field, because its wrapper had no relative positioning. The lock icon in front of login and registration password fields stays visible with the fix. (Reported by a customer, HS 68094.)

= 2.0.45 =

Improvements
- The Listings Map (big map) now supports the new Yandex Maps provider from Listeo Core > Map Settings (requires Listeo Core with that option; the Yandex API and layer scripts are loaded by Core).
- The Listings Map (big map) now passes the new "Google Maps color scheme" setting from Listeo Core > Map Settings to the Google layer.
- The Listings Map (big map) now respects the new "Group nearby markers in clusters" toggle from Listeo Core > Map Settings, so marker clustering can be disabled without editing theme files. Requires Listeo Core with that setting; older Core versions keep clustering on.
- Admin assets now load on the new Addons and Core settings pages (for the Listeo Dashboard).
- Booking price breakdown collapsed-by-default support passed through to the booking widget.
- Bundled plugin versions updated (Listeo Core and add-ons).
- Added Listeo Dashboard / add-on card images.

Fixes
- The Listings Map (big map) now passes the configured Google Map ID to the Google layer, so Cloud-based map styles apply there as well. Only the search results and single listing maps were forwarding it. Requires Listeo Core 2.1.8 or newer, which forwards the Map ID to the Google map constructor. (Reported by a customer.)
- Author profile rating bars now include the actual criteria used by each approved review, so authors with listings that use different type or taxonomy criteria show accurate per-criterion averages.
- The WooCommerce payment (order pay) page now always shows the event date stored on the booking itself. Recurring events (Listeo Booking Plus) used to show the first date of the series instead of the picked occurrence, and single-date events could show the ORDER creation date combined with the event's correct start time whenever the listing's stored event date didn't parse under the site's current date format. The page now reads the booked date directly instead of re-parsing the listing's event date meta, which is kept only as a fallback for legacy bookings without a stored date. (Reported by a customer.)
- The WooCommerce payment (order pay) page no longer shows an empty "Extra Services:" heading for bookings that have no extra services (for example event listing types with add-on services disabled).
- The weDocs plugin (which Dokan's setup wizard installs automatically) no longer breaks the site's layout. weDocs registers Gutenberg block stylesheets that WordPress prints on every page of a classic theme, and several of them bundle a full Tailwind CSS reset that overrides Listeo's own styling (headings, lists, buttons, images and spacing site-wide). Listeo now removes the weDocs stylesheets everywhere except actual documentation content — single docs, the docs archive, docs tag pages, and any page using weDocs blocks or the [wedocs] shortcode — so the documentation pages keep their intended look while the rest of the site is unaffected. Developers can override the detection with the new listeo_is_wedocs_context filter.
- Mobile: selecting a date range in the booking calendar now works on touch devices (on iOS the end date was never registered, leaving the Apply button disabled so taps on it did nothing).
- Mobile: the two-month date range picker now opens as a fullscreen scrollable view on phones with the Apply/Cancel buttons always in view (previously it overflowed the screen and the buttons could be unreachable).
- The date range picker Apply button now looks visibly disabled until a full range is selected.
- Dark mode: the booking "Slots" editor on the add-listing/resource form now uses dark styling (slot cards, the "Slots" stepper, remove button and the empty-state message were rendering with light backgrounds).
- Dark mode: the "Bookable services" / pricing builder on the add-listing form now uses dark styling (the service item card and its "Basic service info" / "Booking & availability settings" panels, section titles, numbered badges, field labels and the remove button were rendering light).
- Dark mode: the "Mandatory Fees" repeater on the add-listing form now uses dark styling (the fee row card, the remove button and field text were rendering light/dark-on-dark).
- Minor admin and customizer cleanup.
