Listeo Core - Changelog
=======================

= Unreleased =

Security
- Avatar replacement still removes the previous image, after verifying ownership, saving the replacement and checking for known shared uses. Dedicated avatar uploads are tracked so discarded and abandoned uploads can be cleaned safely. Guest accounts can still replace their own avatars.
- iCal import management now requires a valid form token and permission for the selected listing. Both scheduled and manual imports use safe HTTP requests for new and previously saved calendar URLs, with bounded redirects, response size and timeout. Calendar exports are unchanged by this update.
- Removing activity notifications now requires a valid form token and can only affect notifications belonging to the current user.
- Sending messages now requires POST and a valid form token across the listing widget, chat, owner directory and booking detail page. Message attachments require ownership or attachment editing permission. Failed sends retain the draft and restore the send controls.
- Site Health configuration actions now provide manual instructions instead of writing wp-config.php and creating publicly reachable backup copies. Administrators are alerted to matching legacy backup files for manual review and removal.
- Note for site owners who customise the review form: since 2.2.1, a guest posting a review on a listing must submit the CAPTCHA field. Previously omitting the field skipped the check entirely. If you use your own review form template that does not render the CAPTCHA, guest reviews will be rejected until it does.
- Legacy serialized listing field and opening-hours values no longer instantiate PHP classes and accept only expected scalar values.
- The listing title autocomplete endpoint (admin-ajax action listeo_core_incremental_listing_suggest, reachable without logging in) echoed the requested JSONP callback name back into the response. The callback is now accepted only when it is a plain JavaScript identifier, the response is sent with a JavaScript content type, and a request without a callback gets plain JSON. The endpoint also returns published listings only, at most ten of them.
- Saving Settings > Permalinks now requires the permission the screen itself requires, rather than relying on WordPress refusing the page after the settings had already been written.
- Saving a listing attached every image ID sent in its gallery field to that listing, including other users' media and posts that are not images at all. Only images the user uploaded or may edit, and that are not attached to something else yet, are attached now. The gallery uploader also accepts only photo formats (JPEG, PNG, GIF, WebP, AVIF), even on sites that allow SVG files in the media library, and checks the maximum file size on the server, not only in the browser. Filter: listeo_core_gallery_upload_mime_types. (Found while handling HS 68294.)
- Listings > Bookings in wp-admin printed the listing filter value back into the page unescaped, so a crafted link opened by an administrator could run script on that screen. The value is now read as a listing ID and the title is escaped. The filter form also no longer puts the bulk-delete security token into the address bar on every Filter or page change: the page reloads to a clean URL instead, the way WordPress's own list screens do.

Fixes
- A listing moved to a fallback package when its paid package expired stayed published and its own address kept working, but it disappeared from search results and category archives. Clicking Update on the listing brought it straight back. Assigning a package that does not include the featured perk removed the listing's featured setting entirely instead of setting it to off, and sorting listings by Featured only returns listings that have the setting recorded at all. The setting is now always recorded. Listings already affected can be repaired in one click with Fix Featured in the Listeo Editor screen, which also counts how many are affected. The same correction applies when an administrator changes a listing's package by hand. (Reported by a customer, HS 68324.)
- OpenStreetMap map tiles are now requested from tile.openstreetmap.org directly, instead of the a/b/c subdomains. Those subdomains are deprecated aliases of the same servers, and splitting requests across three of them makes modern browsers open three connections where one would do. Sites using their own tile server are unaffected. Note for anyone seeing "403 - Access blocked" on OpenStreetMap tiles: that block is applied by OpenStreetMap, and the usual cause is a Referrer-Policy of no-referrer on the site, which strips the referrer OpenStreetMap requires. (Reported by a customer, HS 68308.)
- The map stopped responding after a visitor allowed location access, when Map markers source is set to "All published listings". Clicking a cluster moved the map but never opened it, and markers stopped reappearing as the map was panned. Allowing location fills the location field, and a location combined with a search radius switched the all-listings map data off, because that data could not reproduce a distance search. It was meant to hand back to the ordinary result markers at that point and did not, so the map was left frozen. The radius is now calculated on the map data itself, from the coordinates the search was resolved to, so the full map and the radius filter work together. Where the centre of the search is genuinely unknown, the map now falls back to the result markers instead of freezing. (Reported by a customer, HS 68275.)
- "Find my location" with OpenStreetMap geocoding moved the last listing's marker onto the visitor's position, and with "All published listings" it failed silently and refreshed nothing at all. The visitor's own position is shown by the search-location marker, as before. The map also no longer jumps back to the wrong zoom level afterwards, and the button works with address suggestions turned off. (HS 68275.)
- "Find my location" ran twice on every click, because the theme shipped a second, older copy of it. The theme copy has been removed. Requires the theme update. (HS 68275.)
- With Map markers source set to "All published listings", "Group nearby markers in clusters" had no effect and markers were grouped anyway. Switching it off now shows every listing as its own marker. Very dense views still group until you zoom in, so that a large directory cannot place tens of thousands of markers at once. Filter: listeo_core_map_no_cluster_max_markers. (HS 68275.)
- Allowing location access with Google set as the address provider filled the location field but never refreshed the results, so the list kept showing every listing while the map had moved to the visitor. It now refreshes, the way the OpenStreetMap provider always has. (HS 68275.)
- "Show all listings on map" and marker clustering silently stopped working on sites served over HTTPS whose WordPress address or upload path is still recorded as http. The map data files are fetched in the background, and the browser blocks a http request made from a https page without reporting anything, so the map quietly fell back to showing only the markers of the current page of results and never grouped them. The map data files are now requested over the same protocol as the page, the way WordPress already does for images. Marker thumbnails were stored the same way when the map data was rebuilt from wp-admin, and are now stored over https too. If your site is served over https, check that Settings > General still records both addresses with https. (Reported by a customer, HS 68275.)
- Searching by date range could return the wrong period on sites whose date format writes the month as a word with the day first, which is the default in a number of locales (for example "25 декабря 2026"). The date picker submits the dates as numbers, while the search was trying to read them with the textual format, failed, and then fell back to a month-first reading: "12/07" was understood as 7 December instead of 12 July. The search now reads the dates in the same format the picker writes them, and a reading that cannot be a real date (month 25, say) is rejected instead of silently rolling over into the following year. Sites using a numeric date format were not affected. (Reported by a customer, HS 68208.)
- Listing descriptions could lose all their paragraph breaks and show up as one block of text, on some listings but not others. Descriptions written in the WordPress editor keep hidden block markers, and the dashboard editor removes the paragraph tags they wrap while leaving the markers in place. WordPress then stops adding paragraphs to that description altogether. Affected descriptions are now displayed correctly again without any change to the stored content, and saving a listing from the dashboard clears the leftover markers for good. The same repair applies to posts submitted from the frontend blog form and to the products created from a listing. Filter: listeo_restore_paragraphs_post_types. (Reported by a customer, HS 68267.)
- The description editor on the submit listing form decided whether to keep paragraph formatting based on the dashboard page it was placed on, rather than on the listing being edited, so the same form behaved differently from one site to the next. It now always uses the classic paragraph handling listing descriptions are written with. Filter: submit_listing_form_wp_editor_args.
- Gallery uploads that failed on the server showed the host's entire error page as raw HTML in a tall red tooltip, while the image looked uploaded. The form then only said "Gallery is a required field". A failed image is now framed in red with a short, translatable message (the full server response goes to the browser console), the form cannot be submitted or moved to the next step while an image is still uploading or has failed, and it says so next to the uploader. A server error is reported as one instead of being mistaken for a successful upload. (Reported by a customer, HS 68294.)
- Removing an image from the gallery uploader left it in the listing: it was saved with the gallery anyway, and the file stayed on the server. Removing an image now takes it out of the gallery, and an image uploaded in that session and not saved with any listing yet is deleted from the media library, together with its thumbnails. Images already saved with a listing are kept until the listing is saved without them. Filter: listeo_core_delete_removed_gallery_image. (HS 68294.)
- Listings > Bookings in wp-admin: filtering by status, client, owner, listing or resource ended on "Sorry, you are not allowed to access this page". The filters work again. The Client and Owner dropdowns now keep the chosen person after filtering, "Pay to Confirm" in the status filter now matches bookings (its value was misspelled), and the filter labels are translatable. Choosing the bulk "Delete" action with no booking ticked now just reloads the list instead of showing an error.
- Reviews posted by signed-in users were moved to the trash while the author was redirected to an "awaiting moderation" page. The review form rendered the reCAPTCHA v3 field for everyone, but the script that fills it is deliberately not loaded for signed-in users, so an empty token was submitted and counted as a failed check. CAPTCHA is now skipped for signed-in users on both the form and the server side, the same way the claim form has always worked. Because the field block was not limited to listings, ordinary blog comments from signed-in users were affected in the same way. (Reported by a customer, HS 68094.)
- A guest review rejected by the CAPTCHA was reported back as "awaiting approval" instead of showing the error, so the visitor had no idea it had been refused. The rejection notice now survives the redirect, and the moderation arguments WordPress adds are cleared, so the two messages can no longer appear together. (HS 68094.)
- Moderating a comment could log "Trying to access array offset on int" on PHP 8 and write an empty average rating. The rating callbacks now ignore anything that is not a listing (they previously ran on every blog comment and queried for nothing) and fall back to 0. This also restores listings to the "Minimum Rating" search filter: a rating stored as NULL never matched a numeric comparison, so a listing whose last rated review was removed quietly disappeared from filtered results. (HS 68094.)
- With Maps Provider set to None, WordPress 6.9.1 logged "dependencies that are not registered: leaflet.js" on every page view. The theme and the Listings Map widget asked for the Leaflet handles even though the library is only registered when a map is in use. They are now skipped in that configuration, as the scripts themselves already were. Requires the theme update. (HS 68094.)
- With AJAX browsing disabled, changing the sort order still sent an AJAX request. The results came back as page one while the address bar stayed on /page/2/, and the real pagination links were replaced with ones that only added a hash, so the pager stopped working. Sorting now reloads the page and starts from the first page, which is what the AJAX mode has always done. Adding ?open_now=1 to a URL also no longer runs every query on the page through the opening-hours check. (Reported by a customer, HS 68224.)
- "Best Match" could not be selected as a sort order at all, and "Price Low to High" and "Price High to Low" did nothing on the listing archive, quietly falling back to the publication date. Both work now. (Found while handling HS 68224.)
- Searching for more than one word matched listings containing only one of them: "senior care" returned everything mentioning "care". Each word is now required, as the Exact and Approximate modes always intended. (Found while handling HS 68279.)
- Booking notifications were sent before the booking was saved. If two requests changed the same booking at once, or a filter cancelled the change, the emails and SMS went out and a Zoom meeting was created for a booking that never actually changed status. Notifications are now sent only once the change has been stored. Their order is unchanged. (HS 68268.)
- A free booking approved with "Approve Booking" never got its Zoom meeting, while the same booking marked through "Confirm Payment" did. Free bookings now get a meeting on either route. Zoom meeting creation is also no longer repeatable: a second attempt could create a second real meeting that cancelling the booking would never remove. New filter: listeo_zoom_should_create_meeting. (HS 68268.)
- The "Open Now" search filter works again and is back in Listeo Editor > Search Forms, where it had been removed from the palette. It now applies on the AJAX layouts as well (half map, load more, listings shortcodes and the Elementor listing widgets), not only on a plain archive URL, and the result count and pagination match what is on the page. Previously the filter dropped already-fetched results after the database had counted them, so the "listings found" number and the pager disagreed with the list, and it was skipped entirely whenever the search was submitted over AJAX. A listing takes part only when its Opening Hours section is switched on, the same condition that decides whether the "Open Now" badge appears on its card, and each listing is judged in its own Time zone field, falling back to the site timezone. Hours that run past midnight, several opening blocks in one day, and the 12-hour and 24-hour formats are all handled. One behaviour change to be aware of: a day with a closing time but no opening time used to count as open from midnight, and now counts as closed. Opening hours with no closing time still run to the end of the day. (HS 68204.)
- Number settings now accept a comma as the decimal separator. A price typed as "0,15" was submitted as an empty value by browsers whose language expects a full stop, so the field saved as blank with no warning and the setting fell back to zero. This was most visible on the per-click advertising prices, where a campaign could end up priced at nothing. Commas are converted as they are typed, on paste, and once more when the value is saved. (HS 68281.)
- Adding ?open_now=1 to any front-end URL used to run every query on the page, including menus, widgets and related listings, through the opening-hours check and empty them. That filter has been removed.
- A "Drilldown Listing Types" or "Drilldown Taxonomy" field placed in the panel column of a fullwidth or boxed home search form printed a line of raw template code onto the page. On the fullwidth form the field itself was then missing; on the boxed form it still appeared in the panel row below. The stray line is gone, and the fullwidth form renders the field the way the sidebar and half-map forms already did. The condition also only ever tested for "Drilldown Listing Types" because of a typo, so "Drilldown Taxonomy" fell through to the generic dropdown markup.
- Listing owners received the "listing expired" email twice: the hourly expiry check expired each listing whose expiry date had passed, fired the expired notification, and then expired and notified the same listings a second time. Each listing is now expired and notified once, also when it is matched by both its expiry date and its event date ("Expire listings after the event").
- Pricing no longer creates automatic "Category 1" tabs for top-level services without a category name. Named categories retain their tabs; mixed menus display all sections in their saved order without inventing category names or hiding uncategorized services.
- Elementor Taxonomy Grid: categories picked in the "Include" field now show in the order you pick them. The 2.1.9 fix sorted the grid by the Include list, but Elementor saved that list in alphabetical order (the order of the dropdown options), so the pick order was lost and the grid stayed alphabetical. The editor now keeps the pick order when saving and shows the chips in that order when the widget is reopened. "Include Listing Types" follows the pick order too. Existing widgets keep their saved (alphabetical) order: clear the Include field and pick the categories again in the order you want. (Reported by a customer, HS 67897.)
- The "Pricing & Bookable services" rows in the listing form were almost unusable on phones: the card kept 80px of horizontal padding plus a separate column for the delete button, so on a 390px screen each input was about 100px wide. On screens up to 768px the row now stacks in a single full-width column with the drag handle and the delete button in a slim strip above the fields. When bookings are disabled (globally or for the listing type) the empty "Booking & availability settings" box is no longer rendered and the basic info box takes its space, for saved rows and rows added with "Add Item" alike. Child themes that override templates/form-fields/pricing.php need to refresh their copy to get the mobile layout and the bookings-disabled handling. (HS 68123.)
- The Mandatory Fees rows in the listing form collapsed the title input to a few pixels when the field was narrower than about 560px (for example in the wp-admin listing editor, where the field sits in a half-width column). The row now wraps based on the width of the field itself, not only the screen width.
- Booking price calculation no longer fatals on PHP 8 ("Unsupported operand types: string / int") when the commission value is empty or non-numeric (cleared Commission Value setting or user override). Commission values are now normalised to a number everywhere they are used (price calculation, Stripe Connect and PayPal payouts, commission records, wallet); empty means no commission and negative values are treated as 0. The per-user commission field in the profile now stores a clean number and clears the override when empty.

Improvements
- Listing gallery uploads are much lighter on the server. Large photos are scaled down in the browser before they are sent (Listeo Core > Submit Listing > "Resize images before upload (max px)", default 2560, the size WordPress scales big images to anyway; 0 sends the originals), so a 10 MB phone photo uploads as a fraction of that, faster and without timeouts on shared hosting. Photos are rotated correctly and their camera metadata, including the GPS position, is no longer uploaded. Smaller images are sent unchanged. The server also stops generating blog, avatar, WooCommerce and extra-large srcset sizes for gallery photos, which are never shown for listings: 8 sizes instead of 13 or more per photo. A template asking for a skipped size gets the full image. Filter: listeo_core_gallery_upload_image_sizes. Because the image size limit is now checked after scaling, photos above the "Listing image maximum size" can be added as long as their scaled version fits. (Reported by a customer, HS 68294.)
- Listings > Bookings in wp-admin has a new Calendar view next to the list. It shows every booking on a month, week or agenda calendar with the same filters as the list (listing, status, client, owner, and resource with Listeo Booking Plus), and clicking a booking opens the usual details window. Cancelled, expired and refunded bookings are hidden unless picked in the status filter. Only the visible month or week is loaded, at most 500 bookings at a time, with a notice when there are more. When a single listing is filtered, its owner-blocked days are shaded. The calendar language follows the "Set language for Calendar View" setting, times follow the site's time format, and "today" is the site's date. Developer filter: listeo_bookings_admin_calendar_colors.
- New field, Settings > Permalinks > "Region base": the Region archive base can be changed from the default /region/ to anything else (for example /bolge/ on a Turkish site), alongside the existing "Listing base" and "Listing category base" fields. Leave it empty to keep the current URLs, so existing sites are unaffected until the field is filled in. The base is now resolved in one place, so the URL-protection rules can no longer guard a different base than the archives actually use, and nested region URLs are protected too when "Hierarchical region permalinks" is on. Resave permalinks after changing it. A base that would collide with the listing, listing category or listings archive base is refused with a notice rather than saved, since it would otherwise shadow those URLs. Developer filter: listeo_rewrite_region_slug. (Requested by a customer, HS 68282.)
- Changing any Listeo permalink base (listing, listing category, region or listings archive) no longer needs "Save Changes" pressed twice. The rules were previously rebuilt from the bases registered earlier in the same request, so the old base kept working and the new one was only partly served.
- The URL slugs of the Region and Feature taxonomies, the four listing-type category taxonomies and the listing types themselves were translatable but missing from the translation template, because the gettext calls sit behind a helper the string extractor could not see. They are now listed in listeo_core.pot and visible in Loco Translate and Poedit. (Found while handling HS 68282.)
- New setting, Listeo Core > Browse/Search Options > "Search taxonomy names": the keyword box can also match the names of the categories, features, regions or any custom taxonomy you tick, so searching for a category name returns the listings filed under it even when the word appears nowhere in the listing itself. Nothing is ticked by default, so existing sites are unaffected. Applies to the Exact match and Approximate match modes, since the other modes let their own search engine decide the results. Developer filters: listeo_core_keyword_search_taxonomies and listeo_core_keyword_term_post_ids. (Requested by a customer, HS 68279.)
- New booking email tags for the WooCommerce order: {price_total} (the order total actually paid, including tax), {tax_total} (the tax amount) and {payment_method} (the payment method title), formatted in the order currency, plus {tickets_breakdown} (tickets per ticket type with Listeo Booking Plus, otherwise the total ticket count). They work in every booking email whose booking has a WooCommerce order and are listed under "Available tags" of both paid booking notifications, next to the existing {order_id}. {price} is unchanged: it is still the booking price before WooCommerce adds tax. (Requested by a customer, HS 67948.)
- Listing archive title bar and the Owners Directory title bar use the theme's breadcrumbs (Breadcrumb NavXT when active, otherwise the built-in trail with identical markup) and follow the new Customizer > General Options > "Breadcrumbs in title bar" option. With another theme, NavXT is still used when active. Requires the theme update.
- "Enhanced listings screen in wp-admin" (Listeo Core > General > Listing Management) now also covers the category, feature and region screens (Listings > Categories / Features / Regions). Turned off, they are the standard WordPress term screens again: no redesigned layout, tabs, side drawer editor or list-table styling. The "Copy sample AI prompt" button of the custom SVG icon field keeps working, and it now also works on the full-page term editor with the setting on. The Categories overview page is not affected. Filter: `listeo_core_admin_listings_custom_view`.
- The "Add" buttons on the Pricing cards of a listing now go through the new listeo_pricing_card_add_button filter (show / individual), so Listeo Booking Plus can hide them on listings with resources and mark Individual services, which read "Select" / "Selected" instead of "Add" / "Added". Requires the theme update.
- The bundled FullCalendar icon font (fcicons) now declares font-display: swap, matching the theme's icon fonts. (HS 68144.)
- Moved the unofficial Listeo activator administrator notice to Pure Customizer and removed its standalone Core class. Existing detection timestamps are preserved; the notice now requires Pure Customizer to be active.
- New search filters for the detected listing address: Country, State / County, City and Postcode are available in Listeo Editor > Search Forms under "Available Elements". Country, state and city are dropdowns listing only the values actually present on published listings, so a choice always matches; postcode is a text field matched exactly. They filter on the structured address Listeo already detects from the map pin, so no custom fields are needed for city or postcode. On a site with listings in more than one country, place the Country filter next to the State one: state codes are only unique within a country, and the two filters combine with AND. Listings that have no detected address yet are left out of these filters until they are saved again or filled in with the tools in Booking Settings > Booking Tax, and the filters are not offered at all without WooCommerce, which supplies the country and state tables. Search form templates also accept new predefined option lists through the `listeo_core_search_options_callbacks` filter, and the lists can be adjusted with `listeo_core_address_options`. Child themes that override templates/search-form/select.php, multi-select.php, multi-checkbox.php or multi-checkbox-row.php need to refresh their copies to use the new lists.
- The detected listing address (country, state, city, postcode) moved from its own "Tax location" box into the Location tab of the listing, next to the address and the map coordinates it describes. It is shown whenever something uses it: the booking tax "Listing location" mode, or an address filter placed on a search form. Detection follows the same rule, so a site that uses neither never spends a geocoding request on it. The backfill tools for existing listings stay in Booking Settings > Booking Tax.

Security
- Restricted dashboard booking status changes by role and current state, blocked guest self-approval/payment marking and prevented repeated ticket releases on terminal status changes. Renewal now requires a manager, future available rental dates and a valid expired reservation; services and events must be booked again to revalidate their selections.
- Booking confirmation now verifies a nonce and validates guest, ticket and extra-service quantities. Pricing uses explicit server arguments rather than unrelated POST fields; coupon restrictions are rechecked against the final booking before persistence and again when approving a discounted zero-total reservation. Free-booking coupon usage is attributed to the booking author and recorded after a successful status write. Child-theme overrides of booking.php must include the new listeo_booking_nonce field.
- Legacy administrator booking deletion now requires capability checks and action-specific nonces, validating the entire selection before removing records.
- Public single-listing calendars now return generic availability without booking prices, internal IDs, payment-state colors or imported event titles. Public calendar requests validate published listing IDs and date ranges of at most 366 days; daily prices use one bounded cache entry per listing.
- Calendar booking detail requests now verify a dedicated nonce and access to the requested booking before rendering personal information. Owner and guest views enforce separate permissions; unrelated users cannot retrieve another booking by changing its ID. Updated both calendar clients to send the nonce and handle denied requests.

New Features
- Fallback package for listing packages: new "When listings on this package expire, move them to:" setting on listing package products (one-time and subscription, WooCommerce > Products > package). When the package ends (a one-time package listing reaches its expiry date, or a WooCommerce Subscriptions package is cancelled, expires or goes on hold), its listings stay online and are moved to the selected one-time package (for example a free plan) with only that package's features and a new expiry date from its duration. Status and publish date are kept and no re-approval is required. If the fallback package has fewer free slots than listings, the oldest listings are moved and the rest expire as before. Event listings expired by "Expire listings after the event" are not moved. When the subscription becomes active again, the listings go back to the subscription package and the fallback slot is given back. Choosing another package for a listing on a fallback package (renew / change package) keeps it on the fallback package until the new package is applied: an owned package is applied at once (status and publish date kept, new expiry from that package), a bought package when the order is paid, so an abandoned checkout changes nothing. Only one-time listing packages can be picked as a fallback; add-ons that sell recurring plans on the listing package product type can exclude them with the `listeo_core_is_one_time_listing_package` filter. The "expiring soon" reminder is not sent for listings whose package has a fallback (filter `listeo_core_send_expiring_reminder_for_fallback`). New email in Listeo Core > Emails: "Listing moved to another package" with the new tags {package_name} and {new_package_name}; {listing_date} now also works in listing emails. Developers: `listeo_core_get_package_fallback_product_id()`, `listeo_core_move_listings_to_fallback_package()`, `listeo_core_release_fallback_package_slot()`, filters `listeo_core_package_fallback_product_id`, `listeo_core_is_one_time_listing_package`, `listeo_core_fallback_package_listing_ids`, `listeo_core_send_fallback_package_email`, actions `listeo_core_listing_moved_to_fallback_package`, `listeo_core_fallback_package_slot_released`.
- Self-hosted OpenStreetMap services: new "Nominatim server URL" and "OpenStreetMap tile server URL" settings in Listeo Core > Map Settings (empty = the public servers, as before). With your own Nominatim server you can also enable "Search addresses as you type" and lower "Minimum characters for address search" (e.g. to 1); the public server keeps search-on-Enter and 3 characters, as its usage policy requires. Applies to the search form, submit listing form, wp-admin listing map, Listings Map and the Elementor preview. Developers: `listeo_core_osm_nominatim_url` and `listeo_core_osm_tile_url` filters. (Requested by a customer, HS 68079.)
- New "Limit failed login attempts" setting (Listeo Core > Registration, off by default). After too many wrong passwords (5 by default) logins are blocked for a while (15 minutes by default) for that account from that IP address; an IP address is blocked after four times as many failures across any accounts. Covers the Listeo login popup, wp-login.php and XML-RPC; the popup shows the lockout message. Sites behind a proxy that does not pass the visitor IP can use the `listeo_login_limit_client_ip` filter. (HS 68094.)
- Added an administrator-only warning with an official Listeo link when a known N-Joy activator is active, including network activation and renamed folders with matching plugin headers. Inactive copies do not trigger it; the notice does not change licensing, bookings or site functionality.
- Added Listeo News: a WordPress dashboard widget and collapsible announcements on the Listeo Dashboard and above Listeo Settings. A shared HTTPS JSON feed supports scheduled start/end dates and per-user locale translations, 24-hour caching, bounded outage fallback, administrator-only visibility and white-label compatibility. Publishing further announcements does not require a plugin update after this feature is installed.
- Added Yandex Maps as a Maps Provider in Listeo Core > Map Settings, next to OpenStreetMap, Google Maps and MapBox. Powered by the Yandex Maps JS API 2.1 through the L.Yandex Leaflet layer (leaflet-plugins, MIT), which embeds the Yandex basemap under Leaflet the same way Google Maps is embedded, so markers, clustering, the search results map, single listing map, submit listing form map and the Listings Map widget all keep working unchanged. New settings: "Yandex Maps API key" (required, free key from the Yandex Developer Dashboard) and "Yandex Maps language" (site language by default, mapped to the closest locale Yandex supports: ru_RU, ru_UA, uk_UA, tr_TR, en_US, en_RU). An admin notice appears when Yandex is selected without a key. Developer filters: listeo_core_yandex_maps_api_url (e.g. to switch to the enterprise endpoint), listeo_core_yandex_maps_lang and listeo_core_yandex_map_type (map / satellite / hybrid). Address suggestions and server-side geocoding are unchanged (OpenStreetMap or Google).

Improvements
- New "Always show website and social links" setting (Listeo Core > General, next to "Owner contact information visibility", off by default). When enabled, the listing website and social media links stay visible even when the owner phone and email are hidden. Developers: `listeo_single_listing_show_contact_details` and `listeo_single_listing_show_public_links` filter each decision in single-listing-socials.php. (Requested by a customer, HS 68094.)
- reCAPTCHA v3: every form now reports its own action to Google (register, booking, claim, review) instead of "login", so the reCAPTCHA console shows them separately; "login" is still accepted for cached pages. All forms share one verification helper, `listeo_core_verify_recaptcha_v3()`, which sends the secret key in a POST body instead of the URL. New filters: `listeo_recaptcha_v3_threshold` (minimum score, default 0.5), `listeo_recaptcha_v3_allowed_actions` and `listeo_recaptcha_v3_verified`. (Requested by a customer, HS 68094.)
- New "Verified" column in Users > All Users shows which accounts are marked as verified. New "Verify users who purchase a package" setting (Listeo Core > General, next to "Verified users only messaging", off by default) marks a user as verified when they buy a paid listing package, one-time or subscription; free packages do not count. Developers: `listeo_core_verify_user_on_package_purchase` filters the decision. (Requested by a customer, HS 67537.)
- Calendar help icons now sit beside their labels and show tooltips on hover or keyboard focus.
- Shortened iCal export controls and moved explanations into accessible help tooltips. Legacy-link controls are limited to listings present when this update first runs; new installations and new listings require private calendar tokens from the start.
- Secured iCal subscriptions with per-listing random private tokens, optional guest details (off by default), private-link rotation and a control to disable legacy links. Legacy links retain availability-only output through the updated theme. Export settings require listing ownership/editor permission and a nonce. Update Listeo Core and the theme together, purge cached iCal responses and update any child-theme override of template-ical.php. Previously downloaded calendar data cannot be recalled.
- New "Enhanced listings screen in wp-admin" setting (Listeo Core > General > Listing Management, on by default). Turning it off restores the standard WordPress list table on Listings > All Listings, including the regular publish-date column and sorting. The embedded listing editor is unaffected. Developers: `listeo_core_admin_listings_custom_view` filters the resolved value.
- The N-Joy administrator warning now appears five days after first detection during an authorized admin visit, with separate site and network-admin timestamps retained across deactivation. Added a precaution about encoded code and possible malware, explicitly stating that encoding is not evidence of malware and no malware has been confirmed. An active matching plugin is still required to display the notice.
- Reordered the listing editor's Booking options so related settings sit together: booking and payment, prices, guests, children, pets, fees, tickets, time slots, hourly booking and availability. Existing field definitions, identifiers and metabox structure are unchanged.
- Extended successful news feed caching to 24 hours to reduce requests for infrequent announcements, retaining the last good feed for 48 hours for outage fallback. Scheduled dates are still checked on each view.
- Prevented simultaneous news feed downloads on the same site with an atomic, expiring refresh lock; concurrent views use the last cached feed.
- Added a subtle darker yellow border to news panels in Listeo Core settings.
- Moved settings-page news into the main content column directly above the first section header, across Listeo Core settings tabs.
- News now displays fully in a pastel-yellow panel with 10px rounded corners and a close button. Dismissals are remembered per administrator and site; new or updated announcements appear again.
- Integrated dashboard news into a compact expandable row beneath the page title, removing the separate news card and placing its action alongside the expanded text on wider screens.
- Matched the Listeo News panel to the existing dashboard cards, with consistent spacing, icon tile, typography, disclosure chevrons and secondary action buttons.
- New "Google Maps color scheme" setting in Listeo Core > Map Settings: Light (default), Dark, Follow system (visitor's OS preference) or Match Listeo dark mode. Passed to the Google map through GoogleMutant on the search results, single listing, submit listing form and Listings Map maps. Filterable via listeo_core_google_maps_color_scheme (resolved scheme) and listeo_core_is_dark_mode_active (dark mode detection for other themes). (Requested by a customer.)
- New "Group nearby markers in clusters" toggle in Listeo Core > Map Settings (on by default). Turning it off shows every marker individually on the search results map ("Current search results" mode) and on the Listings Map widget instead of merging nearby markers into numbered clusters. The "All published listings" mode keeps clustering. Developers can override the value with the new listeo_core_map_clustering_enabled filter. (Reported by a customer.)
- New "Custom field search relation" setting controls whether a search across several values of the same custom field requires all of them (AND) or any of them (OR). The previous fixed behaviour is kept as the default. Developers: `listeo_custom_field_search_relation` filters the resolved relation.

Fixes
- The phone field of the booking confirmation form accepted any text. It now validates the number (optional "+", digits, spaces, dots, dashes and parentheses, 6-20 digits) in the browser and on the server; the rule can be adjusted with the `listeo_core_is_valid_phone` filter. (HS 68113.)
- With map markers set to "all results", archive pages and filters for a parent region or parent category showed no markers for listings assigned only to a child term (for example a province page with listings in its towns), while the listing list included them. The map data now carries the ancestors of each assigned term and is rebuilt once after the update. (HS 68091.)
- A hidden conversation opened by its direct link now shows a "Restore conversation" button. The restore link was there since 2.0.7 but rendered as plain text in the notice, so users could not find it. (HS 68135.)
- Category names with special characters showed HTML entities in drilldown menus ("Sales &amp; CRM"), because term names are stored encoded and the menu rendered them as text. Labels are now decoded on the server and escaped on the client, including search highlighting and the selected-value button; the menu search also matches what visitors type. (HS 68094.)
- Drilldown menus, taxonomy dropdowns and checkbox lists sort terms by name unless a manual term-ordering plugin is detected (term_order column), in which case that order is honoured as before. Without such a plugin WordPress ignored "term_order" and listed terms in creation order. New filter listeo_core_taxonomy_terms_orderby. (HS 68094.)
- A Listeo page that was never chosen in the settings (ticket check, ad campaigns, coupons, booking confirmation, messages, reviews, search) was treated as "every page": WordPress' is_page() with an empty value matches any page. On sites without tickets this loaded the QR scanner and the jsQR library on every page; an unset messages or booking confirmation page did the same with the chat filter and WooCommerce address scripts, an unset search page made every page compute price ranges, and the ad, coupon and review form handlers ran everywhere. An empty page option now means "no page". The edit-listing page title check also read a wrong option name. The ticket check shortcode no longer prints jsQR twice. (Reported by a customer, HS 68096.)
- Saving a listing again (editing, renewing) no longer adds duplicate copies of the Listing Logo and other file fields to the media library. The stored file URL was compared literally with the attachment URL, which differs for large images that WordPress keeps as "-scaled" files, after an http/https or domain change, and with CDN plugins, so every save created another attachment for the same file (and regenerated its thumbnails). The existing media entry is now found by file path and reused; a file used by several listings keeps one entry. Developers: `listeo_core_get_attachment_id_by_url()` with the `listeo_core_attachment_id_by_url` filter. Existing duplicates are not removed. (Reported by a customer, HS 68098.)
- Custom owner fields (created in Listeo Editor > User Fields > Owner and enabled in the Listing Owner widget, e.g. "Spoken languages") were only shown when "Owner contact information visibility" allowed the phone and email, so with "Hide all" (or for visitors with "Only logged in users") they never appeared. They are profile details, not contact details, and now show whenever enabled in the widget (and on the author page with the updated theme); phone and email still follow the setting. Sites that added contact-like owner fields of their own should review which fields the widget shows. Developers: `listeo_owner_widget_show_custom_fields` restores the previous behaviour. (Reported by a customer, HS 68059.)
- "Allow user to change his role in My Account" now switches only between Guest and Owner. With Dokan set to register owners as vendors, choosing Owner used to make the user a Dokan vendor, after which the selector disappeared; vendors are now left to the site owner. The save handler also accepts the change only from a Guest or Owner account and only to Guest or Owner. (Reported by a customer, HS 68059.)
- With Maps Provider set to None and address autocomplete set to Google or none, every page loaded the Listeo map script and the geocoder without the Leaflet library, throwing "L.layerGroup is not a function" (the theme enqueues them sitewide). Both scripts now depend on Leaflet and are skipped when it is not loaded. (Reported by a customer, HS 68094.)
- Reviews protected by reCAPTCHA v3 were deleted right after posting, even with a valid token: the review verification never returned a result for v3, so every review counted as failed. hCaptcha and Turnstile were never checked on reviews at all, and the version check used an assignment instead of a comparison. All four providers are now verified on the reviews form. (Found while handling HS 68094.)
- The reviews criteria migration never saved the rating criteria each existing review was written with: its query failed with an "ambiguous column comment_ID" database error, and it only looked at comment_type '' although WordPress 5.5+ stores regular comments (and so most reviews) as 'comment'. The migration still marked itself as done, so already updated sites can restore the missing data with the new "Fix Review Criteria History" tool in Listeo Editor. Reviews that already have it are skipped. (Reported by a customer, HS 68094.)
- The "Upcoming Event" sort now orders events by start date. It used to sort by how far the start date was from today in either direction, so a multi-day event that had started days ago was placed after events starting sooner and the list looked unsorted. Events in progress now come first, then upcoming events by start date; ended events stay hidden and listings without an event date stay at the end. Applies to the listings page, AJAX search, "Load more" and the Elementor Listings widget. (Reported by a customer, HS 67157.)
- The "Store Settings" section of the frontend listing form is now hidden from users whose package does not include Dokan store access when "Restrict Dokan Store to Packages Only" is enabled. Previously it was shown (switched off) to everyone with products. Nothing changes when the restriction is off. Developers: `listeo_core_submit_show_store_section` filters the decision. (Reported by a customer, HS 67851.)
- Fixed the search-results map freezing and returning wrong or zero listings after a visitor panned or zoomed the map and then searched a different location, with "Enable Map Bounds Search" turned on. Moving the map stores the visible viewport in the search form, but nothing removed it when the location changed, so the new location was intersected with the old viewport (typically producing no results), the map was never handed a new centre, and both map re-centering paths stayed switched off. The stored viewport is now discarded as soon as the location or region criterion changes, while paging, sorting and all non-geographic filters keep the visitor's current map view as before. Map bounds search and location search can now be used together. (Reported by a customer, HS 67880.)
- Fixed a map-bounds search being armed without the visitor ever moving the map: the initial automatic zoom-to-results left the "user moved the map" flag set, so the next map movement from any source (a popup panning into view, a sidebar or window resize) silently limited the results to the current viewport.
- Fixed the map not re-centering after picking a location suggestion when the maps provider is Google Maps and "Autofit map" is disabled. The Google Places branch never moved the map, unlike the OpenStreetMap one.
- Picking a location suggestion no longer fires a second, duplicate search caused by the location field losing focus.
- Experimental custom permalinks no longer capture unrelated URLs. The listing rules are loose about everything before the last segment, so with a structure like /category/listing/ they also matched addresses such as /my-account/orders/ or /docs/guide/intro/; existing pages were rescued afterwards, but WooCommerce endpoints and other non-page URLs were not. A request is now only treated as a listing when a listing with that slug actually exists, and otherwise routes normally.
- Listings in a child region returned 404 under the /region/listing/ permalink structure when "Enable hierarchical region permalinks" is on, for the same reason as the category case below: the rule matched one region segment while the URL carries the full parent/child path.
- Listings under a child category returned 404 when the permalink structure includes the category. The rewrite rule matched a single category segment, but Listeo builds a hierarchical path (parent/child) whenever the listing's category has parents, so only top-level categories resolved. The category part of the rule now matches a nested path; the listing slug is still the last segment.
- The availability calendar in wp-admin (used by Booking Plus resources) showed "NaN" in the date-selection tooltip and Block / Set Price / Unblock buttons without labels, because the admin script was missing the calendar texts. The texts are now loaded in wp-admin too and follow the site language.
- The "Set Price" button in the calendar's price dialog in wp-admin had blue text on a black background. The dialog buttons now use the standard WordPress admin colors.
- Fixed "Expire listing after event date" not expiring events whose date had been edited: the numeric event timestamp the hourly expiry check (and the "Upcoming" sort) relies on was computed from the date saved BEFORE the edit, both in wp-admin (the timestamp hook ran before the metabox wrote the new date) and on the front-end edit form (the post was saved before its fields were). The timestamp is now recomputed after all listing meta is written, whenever the textual event date changes from any source, and is removed when the date is cleared so a stale end date can no longer block expiry. Events edited before this update pick up the correct timestamp on their next save. (Reported by a customer, HS 68025.)
- Fixed the booking form's "Company Name" and "Apartment, suite" address fields never reaching the WooCommerce order: Listeo copied name, street, postcode, town, state and country into the order's billing details but not company or the second address line, so they were blank in the order and on the Order Received page. The classic (non-popup) booking form also never stored them with the booking at all. Both are now saved with the booking, copied into the WooCommerce billing and shipping address, editable in the wp-admin booking editor (which also no longer drops the State field on save) and shown in the booking details in the dashboard and wp-admin. (Reported by a customer, HS 68026.)
- Fixed the Event Date / Event Date End pickers on the front-end submit and edit listing forms doing nothing on "Apply" since 2.1.8: the picked date and time were never written into the field, so the event date could only be set from wp-admin. The 2.1.8 change moved the picker's Apply handler to a document-level delegated event, which the date picker library itself unbinds the moment it closes, one step before it fires "Apply". The handler is now attached to each date field when its picker is initialised, including fields rendered later over AJAX, which was the case the 2.1.8 change had been trying to cover. (Reported by a customer, HS 67994.)
- Fixed a fatal error ("Too few arguments to function Listeo_Core_Admin::listing_modified_column_time()") on sites running Dokan. Dokan re-uses WordPress's `post_date_column_time` filter in its vendor orders table but passes only two arguments, while Listeo's listing manager callback on that filter required all four, so the orders table broke mid-render. The callback now treats the extra arguments as optional and only acts on real listing rows in the Listings admin table; every other caller gets its original value back unchanged.
- Profile Details can hand SMS opt-out ownership to another form through listeo_core_show_sms_notifications_optout. When the legacy control is hidden, profile saves preserve the existing SMS opt-out instead of clearing it; standalone Listeo SMS and email preferences keep their existing behavior.
- Google Maps now forwards the configured Map ID to the Google map constructor so published cloud styles can apply. Uses raster rendering for Leaflet compatibility and preserves inline styles when no Map ID is set. Clarified the setting instructions to distinguish Map IDs from Style IDs.
- Numeric settings now respect an optional field step while preserving the existing default. The PWA offline booking count uses whole-number steps.
- Settings saves now purge page caches when an option is created for the first time. Added Breeze's public clear-all hook so Cloudways Varnish is purged together with the plugin cache. Existing nonce, capability and once-per-save checks remain in place.

New Features
- Added listeo_ticket_document_html, a final ticket-document filter after authorization and Core/Booking Plus rendering, for standalone ticket integrations.
- Added generic booking-detail and toolbar action hooks for add-ons, plus shared booking contact/detail display helpers. The online booking view uses the shared helpers; installable app and offline booking functionality is supplied by the separate Listeo PWA plugin.
- Settings sub-tabs can group multiple native sections on one screen via `listeo_settings_subtab_block_groups`. Listeo SMS uses this to keep configuration, providers, listing notifications and booking/payment notifications as separate cards under SMS Configurations. Existing section links still open the group, and other settings tabs retain their behavior.
- Booking Plus can now reinterpret a time slot's existing capacity as a shared adult-and-child pool in both the standard Core booking widget and the Booking Plus popup. Core exposes the live per-slot capacity and availability-label filters needed for weighted capacity while keeping its existing booking-count behavior unchanged when Booking Plus is inactive or the option is off.
- New "Prevent overlapping time-picker bookings" option (Listeo Settings -> Booking) for listings that use the hourly time picker without time slots. Until now such listings always accepted a request for any time inside the opening hours, so two customers could book 10:00 on the same day and the owner had to sort out the clash by hand. With the option on, the booking widget marks a time as unavailable and the submit handler rejects it when the requested span overlaps a booking that is already approved (confirmed, paid or awaiting payment); pending requests do not block each other, so the owner still decides which one to approve. The booked length is taken from the End Hour picker when it is enabled, otherwise from the total duration of the selected Extra Services (Booking Plus per-service durations), otherwise from the listing's time increment, and a booking that ends exactly when another starts is not treated as a clash. Existing bookings that were saved without an end time (the start-only picker) are treated as occupying the listing's time increment from their start, and when a new request's length comes from service durations that end time is now stored on the booking so later checks see the full span. Owners can override the site setting per listing with the new "Prevent overlapping bookings" field in the booking settings (site default / yes / no), available in wp-admin and on the Add Listing form (sites that customised the Add Listing form in the Forms Editor can add the field from the Editor's field list; requires the companion Forms & Fields Editor update). On the owner's Booking Requests page, a pending request that overlaps an already approved booking now shows an "Overlaps an approved booking" notice so it can be declined or rescheduled before it is accepted. The Booking Plus popup widget applies the same rule. Developers: `listeo_prevent_overlapping_bookings` filters the resolved on/off state per listing and `listeo_overlap_prevention_statuses` filters which booking statuses block.
- New "All Listings on Map" option (Listeo Settings -> Map Settings): the search map can now show every published listing as clustered markers instead of only the current page of results. Markers come from a static JSON data file generated in the background and refreshed automatically when listings change (rebuilds are debounced, so imports and bulk edits trigger a single rebuild; a daily WP-Cron rebuild acts as a safety net, and a "Regenerate now" button plus a `wp listeo map-manifest` WP-CLI command are available). The map first paints instantly from a tiny pre-clustered overview file and downloads the full data file only after a real visitor interacts with the page - synthetic speed tests (GTmetrix/Lighthouse) and crawlers never fetch it, and browsers with Save-Data enabled fetch it only on direct map/filter interaction. With the option active, search filters (categories, regions, features, rating, price, keyword, location) filter the map markers client-side with no extra server requests, and clicking a cluster zooms into it. The map's "Show next X listings" pager button is hidden in this mode, since clusters already cover the whole directory. Existing sites are unaffected until the option is switched to "All published listings" - the default keeps the current behavior. Developers: file URLs are filterable via `listeo_map_manifest_file_url`, the popup image size via `listeo_map_manifest_image_size`, and `listeo_map_manifest_generated` fires after each rebuild.

Improvements
- The wp-admin listing editor now has a "Visit listing" button next to "Back to listings" and "WordPress editor", opening the listing's public page in a new tab. Listings that are not publicly viewable yet (draft, pending, private) get a "Preview listing" button instead, and trashed listings get none.
- Free listing packages no longer require going through the WooCommerce checkout. When a user picks a package priced at 0 on the "Choose a package" step (new listing, Renew / Change Package, or Continue on an unfinished listing), the package is granted immediately and the listing is published (or set to pending, if approval is required) right away, instead of being sent to a checkout page with nothing to pay. Behind the scenes Listeo still creates a completed WooCommerce order for the package (visible in WooCommerce -> Orders, "created via listeo_free_package"), so everything that relied on the order keeps working unchanged: the package appears in the Listing Packages manager with its Order ID, cancelling or refunding that order revokes the package as before, the "Buy only once" restriction still recognizes the purchase, and WooCommerce order emails/reports include it. Only one-time packages are affected; free or trial subscription packages still go through checkout because WooCommerce Subscriptions has to create the subscription there. If the order cannot be completed automatically (for example a plugin forces new orders on hold, or a fees plugin adds a non-zero amount), the user is sent to the regular checkout as before, and a double-click or reload of the final step cannot grant the same free package twice. Developers: opt out with `add_filter( 'listeo_core_free_package_skip_checkout', '__return_false' )`; `listeo_core_package_is_free` filters the zero-price detection; `listeo_core_free_package_order_created` and `listeo_core_free_package_granted` fire around the automatic order.

Fixes
- Registration OTP validation now rejects missing, expired and malformed codes in both registration forms. A successfully used code is also removed after AJAX registration.
- Time-slot listings could be overbooked when an earlier slot in the same day was already full, or had already started. The slot list the booking widget reloads after a date is picked skips those slots, but it then renumbered the remaining ones from zero, while the server looks the slot up by its position in the listing's configured slot list. A guest picking, say, the third slot of the day therefore had their request checked against the capacity of a different slot: over its limit if that slot happened to have more places, refused if it had fewer. The booking itself was always saved with the hours the guest actually chose, so the only visible symptom was a slot taking more (or fewer) bookings than it should. The reloaded list now keeps each slot's configured position, which is what the initial page render and the slot carousel already used.
- Administrators and editors could not open the front end of a draft, expired or rejected listing. The moderator preview that exists so a listing can be checked before approving or rejecting it only allowed published, private, pending, pending-payment and preview listings, so every other status returned a 404 even for a user who can edit it. Developers: `listeo_moderator_preview_statuses` filters the allowed statuses.
- Links inside the wp-admin listing editor no longer break it. The editor embeds the frontend Add Listing form in a frame, and any link that pointed somewhere else - Booking Plus' "Manage <resources>" button in particular - loaded a whole themed frontend page inside the admin screen, after which the editor's Save button silently stopped working. Such links now open in a new tab, and links back to the listing form itself stay in the editor.
- Event listings that were created before the numeric event date fields existed never expired with the "expire after event date" option, because the expiry query reads a timestamp those listings do not have. The missing timestamps are now rebuilt automatically in small batches on the first admin page loads after the update, and a listing whose dates cannot be read is skipped instead of being retried on every load. Developers: `listeo_core_event_timestamp_backfill_batch` filters the batch size (default 50).
- "All Listings on Map" markers now use the category icon, like the regular map does. Every pin drawn from the pre-generated map data file showed the same generic location pin, ignoring the icon (font icon, uploaded SVG or pasted SVG) set on the listing's category, while the same listing showed its category icon when the map was set to "Current page of results". The map data files now carry the marker icons and the pins match on both settings, including the fallback order the rest of the theme uses (category icon, then the listing type's own category taxonomy, then the listing's own icon, then the default pin). Each icon is stored once per file and referenced by the listings that use it, so the files stay small even with detailed SVG icons. Editing a category's icon now also refreshes the map data automatically, and the files are rebuilt once after this update to pick up the icons. Developers: `listeo_map_manifest_marker_icon` filters the markup per listing.
- Review criteria requested without a listing context now use the configured global criteria, and stale legacy criteria no longer override the newer global, listing-type, or taxonomy settings.
- Renewing an expired listing with a newly purchased package no longer uses up two slots of that package. The listing matched both the "expired listing on this order" and the "package change" branches of the order handler, so it was approved twice and the package counter went up by two for a single listing (a 5-listing package had only 3 left after one renewal). It is now approved once; the renewal still uses exactly one slot, as intended. Packages with no listing limit were unaffected.
- Using "Continue" from the dashboard on an unfinished listing that already had one of your own packages selected, then submitting the preview, ended on a blank page even though the listing was published. The preview step advanced twice and skipped past the final "Done" screen whenever the "skip package step if user has one" option was off. The Done screen now shows as expected.
- The preview step's protection against double-clicking "Submit Listing" never worked (it looked for the wrong element type), so a fast double-click could send the submission twice. Repeated submits are now ignored while the first one is in flight. The buttons are dimmed instead of disabled, because a disabled button would drop its value from the request and the submission would silently do nothing.
- Security: values of "textarea" fields on the Listeo settings pages (notification texts, e-mail templates and similar) are now escaped when the settings form is rendered. A saved value containing HTML or script markup was previously inserted into the admin page as-is, so an account with settings access could plant a script that ran in every other administrator's browser when they opened that settings tab. Saved values are unchanged; they are only displayed safely.
- Security: the "Choose a package" step of the submit form now verifies that the listing ID in the request belongs to the current user (or an admin / team member with edit access), the same check the details and preview steps already performed. Previously a logged-in user could post a package selection for someone else's listing ID and, using one of their own packages, re-assign that listing's package, republish it or strip features it should keep.
- A customer who kept a listing page open could submit a booking for a time slot or hour that had already passed. Past times were only hidden in the booking widget when it was rendered, and neither the live availability check nor the submit handler rejected them on the server. Both now refuse a start time in the past with a clear message ("The selected time has already passed" for slots and time pickers, "The selected date has already passed" for rentals). Later times today, and today's date for rentals without the time picker, remain bookable; only start times that have already passed are rejected. Ticket/event bookings are not affected. Sites that intentionally record past bookings from the frontend can restore the old behavior with `add_filter( 'listeo_allow_past_bookings', '__return_true' )`.

= 2.0.49 =

Developer
- Commission calculation is now filterable and, importantly, stays consistent between the two places Listeo computes it: the commissions record (wallet balance / payout reports) and the actual Stripe Connect transfer to the owner. Two hooks are applied identically in both paths: `listeo_commission_rate` (adjust the per-order rate/value; now receives the order and a context array, e.g. `apply_filters('listeo_commission_rate', $value, $user_id, $order, $args)`) and a new `listeo_commission_amount` (adjust the final computed commission via a context array with keys order, user_id, commission_type, commission_rate, base_amount, calculation_method, context). This makes previously-impossible models such as "fixed fee PLUS percentage" (to cover Stripe's per-transaction cost on small tickets) achievable from a small custom plugin without editing core. Existing 2-argument `listeo_commission_rate` callbacks keep working. Also, `listeo_commission_base_amount` (exclude tax etc. from the commission base) is now honoured by the Stripe Connect payout too, not just the recorded commission — the payout/transfer amount itself still uses the real order total, only the percentage base is affected.

Improvements
- The dashboard Statistics page can now hide widgets that don't apply to your site. The "Booking Interactions" stat card now follows the existing "Disable Bookings module" setting (like the Booking & Revenue section already did), and a new "Hide contact click statistics" option (Listeo Core -> Settings -> General -> Dashboard Statistics) removes the "Contact Clicks" card and the "Contact Link Clicks on Listing Pages" chart. Useful for sites that don't use bookings or don't display contact details on listings, where these widgets always showed zero and confused listing owners. Developers can also control visibility per-request via the new listeo_analytics_show_booking_stats and listeo_analytics_show_contact_stats filters. (Suggested by a customer.)
- Deleting a booking from the front-end dashboards (owner's Bookings and guest's My Bookings) no longer erases the record from the database. The booking is now only hidden from the dashboard of the person who removed it, so the other party still sees it and admins keep the full history for reporting in wp-admin → Bookings. Each side hides its own copy independently; team members with the bookings scope (and admins) hide the owner-side copy, which also makes the front-end delete button work for them (previously it silently did nothing). Developers: rows are flagged via `_listeo_hidden_owner` / `_listeo_hidden_guest` keys in the bookings_meta table, and a new `listeo_booking_hidden` action fires with the booking id, the booking row and the acting user id.
- New "Database cleanup" tool at the bottom of wp-admin → Bookings: permanently deletes cancelled, expired and refunded bookings that ended more than 3/6/12/24 months ago (admin's choice), together with their bookings_meta rows, and also removes orphaned bookings_meta entries left behind by past deletions. This is now the way to actually purge old booking data — user-side "delete" only hides records.
- The Google Maps JavaScript API is now loaded the way Google recommends (with the loading=async parameter and an asynchronous script tag), which removes the "Google Maps JavaScript API has been loaded directly without loading=async" console warning and stops the API from blocking page rendering. Because the API now initializes in the background, every script that uses it (the Google address autocomplete on the search and submit forms, the admin listing-address geocoder, the "Find my location" reverse geocoding, and the Listeo POI add-on map) waits for a "maps ready" signal before starting instead of assuming the API is already there; on WordPress versions older than 6.3 the script tag stays as before and everything keeps working unchanged. Sites where a third-party plugin loads the Maps API are unaffected — the waiting logic falls back to detecting the API on its own. Developers: the API is enqueued via a new Listeo_Core::enqueue_google_maps_api() helper, and custom code that needs google.maps can use window.listeoOnGoogleMaps(callback) or the "listeo:google-maps-loaded" DOM event to run once the API is ready.
- Team member edit form: reorganized the member email, permissions, editable areas, and listing/resource assignments into clearer responsive rows and columns, with native spacing utilities for tighter label-to-control alignment while retaining Listeo's existing dashboard controls and styling.
- Team invitation registration: presents pending invitations in a focused, responsive onboarding card with a clear invitation header, locked-email explanation, and a dedicated “Register & Join Team” action, while retaining the existing editable registration form and validation flow.
- iCal calendars: the "Force update" setting can now be turned on/off per saved calendar directly from the owner's iCal import dialog. Each imported calendar now shows its current Force update state and can be toggled in place. Previously this could only be set when first adding a calendar and wasn't shown afterwards, so owners had to remove and re-add a calendar to change it — and calendars added before the option existed had it permanently off. (Force update is what makes the automatic 30-minute sync always re-import a feed, which is needed for all-day events and to bypass the calendar provider's "not modified" cache.) The iCal Manager admin list also now shows a "Forced" badge on calendars that have it enabled. (iCal Manager change is in the Listeo iCal Manager add-on.)

Fixes
- Pausing a Listing Package Subscription for a manual renewal no longer strips its listing's package metadata. The temporary `publish` to `expired` transition previously triggered the normal expiry cleanup hook, which removed `_package_id` and `_user_package_id` even though the subscription was only on hold and would be resumed after payment. Package links now remain intact throughout the on-hold period, while normal listing expiry and cancelled/expired subscriptions keep their existing cleanup behaviour.
- Cancelling a WooCommerce order now cancels its linked booking. Previously only "completed" and "refunded" order statuses were synced back to the booking, so an order cancelled from the shop side (by the customer in My Account, by an admin on the Orders screen, or by WooCommerce's automatic pending-order cleanup) left the booking active and its dates or event tickets kept counting against availability. The booking is now set to cancelled (releasing dates and tickets, with the usual cancellation emails), a booking that was already cancelled/refunded/expired is left untouched, and a payment that arrives for an already-cancelled booking no longer silently marks it paid — the order is placed on hold with an explanatory note for manual review, mirroring the existing expired-booking handling.
- Changing a booking's status to cancelled or expired from the wp-admin Bookings status dropdown now releases the booking's event tickets back to availability, and cancelling from there also cancels the linked WooCommerce order so the two stay in sync. The dropdown updates the row directly (bypassing the normal status-change pipeline), so ticket inventory was never released and cancelled bookings kept blocking ticket capacity. The release runs once, only when the booking leaves an active status.
- Listing types with booking disabled ("No Booking") but the Add-on Services module enabled no longer show booking-only controls in the Pricing & Bookable Services section of the Add Listing form (the "Bookable service" switch, Charge Type, and Allow/Max quantity fields). Services on such types are plain priced extras, so only Title, Description and Price are shown. Also, Booking Plus sections that older Forms Editor versions accidentally saved into a listing type's form configuration (e.g. Ticket Types or Service Constraints) are now ignored on load, so they stop appearing on listing types where Booking Plus no longer renders them. (Reported by a customer with a "No Booking" listing type.)
- Deleting a booking from wp-admin -> Bookings (single row or bulk) now also removes the booking's rows from the bookings_meta table, instead of leaving them behind as orphaned data. The new Database cleanup tool additionally purges orphans accumulated by past deletions.
- The internal add_booking_meta() helper's "unique" flag now actually prevents duplicate meta rows — its existence check compared against a quoted string literal instead of the booking_id column, so it never matched and always inserted.
- Fixed PHP "undefined array key" warnings in the bookings dashboard AJAX handler when loading the list without a status or guest filter selected.
- "Find my location" on the search form now fills in your town/municipality instead of a whole region on sites using the OpenStreetMap address provider (the default). The reverse geocoding asked Nominatim at the archive map's current zoom level (default 9), which returns county/region names ("O Condado, Pontevedra" instead of "Salvaterra de Miño") — and made results depend on how far the map happened to be zoomed out. The lookup now always runs at city-level precision, matching the accuracy the Google address provider always had. (Reported by a customer comparing their OSM site against the Google-based demo.)
- "Find my location" now tells the visitor when their location could not be detected (permission denied, timeout, or geolocation unavailable — common on mobile). Previously nothing happened at all and the map stayed at the site's default center, which looked like the visitor had been "located" in the wrong city. The message only appears on a manual click of the button — the optional automatic locate-on-page-load stays silent, so visitors who denied location access are not nagged on every page view.
- The "Find my location" button on the submit-listing form now moves the map pin, not just fills the coordinate fields. Clicking the location icon next to the Address field detected the visitor's position and wrote the latitude/longitude, but the draggable pin stayed where it was, so owners had to drag it manually. The submit map is a separate map from the search map, and the geolocate handler only repositioned the search-map marker; on the submit form (where there is no search map) it fell through to a path that wrote the coordinate fields without touching the submit pin. It now repositions the submit pin (and recenters/zooms the submit map) to the located coordinates, before the address-lookup step, so it works whether the site geocodes addresses with Google or OpenStreetMap. Unaffected pages (the search map, and the auto-locate on page load) are untouched. (Reported by a customer.)
- Zoom meeting invitation email settings now save and apply correctly. The six Zoom email settings fields (enable, subject and content for both the guest and the owner email) were stored under a doubled option name because their internal IDs already included the settings prefix that the framework adds again. As a result the owner ("host") Zoom email was never sent even with its checkbox ticked, and any customization of the Zoom email subject/content (including adding the {meeting_timezone} tag) was silently ignored and the built-in default was sent instead. The IDs are corrected so the saved settings match what the mailer reads. Note: because the option names change, please re-open Listeo Core -> Emails and re-save the Zoom Meeting Invitation section once (re-tick "send to owner" and re-enter any custom subject/content) so your settings take effect. The guest Zoom email was unaffected (it defaults to on). Also added {meeting_timezone} to the guest email's list of available tags (it was already supported, just not listed).
- Editing a listing that uses "dynamic features" (features shown based on the selected category) no longer loses previously selected features. On the edit form the feature checklist is only rendered for the currently selected category, so switching category could silently discard features saved under other categories — both on screen and when saving. The submit form now tracks the full set of selected features across category switches (seeded from the listing's saved features), sends them so re-rendered checkboxes stay ticked, and re-submits any selected feature whose category isn't currently displayed so it is preserved on save. Adding a new listing is unaffected. Additionally, when a listing type's category is set up as a dropdown (a "term select" field) rather than the default drilldown, the feature checklist now loads immediately when editing such a listing, instead of staying on "Please choose category..." until the category was manually re-selected. (Reported with a detailed diagnosis by a customer.)
- The admin "Expiration date" datepicker (and the ad "Start Date" picker) now shows dates in the site's own date format instead of always US month/day. These CMB2 fields defaulted to m/d/Y regardless of the WordPress Settings > General > Date Format, so on day-first (European) sites picking 14 August displayed "08/14/2026" even though the calendar itself was localized — confusing on Spanish/EU installs. The pickers now follow get_option('date_format'), so a site set to d/m/Y shows "14/08/2026". Display only — the stored value is a Unix timestamp and is unchanged, so existing listings are unaffected.
- iCal sync no longer floods debug.log with PHP 8.2 "Creation of dynamic property is deprecated" notices. The iCal event reader assigns properties dynamically from arbitrary calendar feed keys (last_modified, class, valarm, etc.); it is now marked #[\AllowDynamicProperties]. Cosmetic only — sync behaviour is unchanged.
- Event dates on listing cards and in the single-listing details box no longer flip to US month/day order on sites using a day/month date format. The date picker stores event dates in a numeric, locale-ordered form (e.g. "23/07/2026"), which the date parser was reading as US m/d/Y — silently turning 3 July into 7 March for days <= 12, and failing to display at all for days > 12. Both the card badge (listeo_render_event_card_date) and the details handler (formatDateTime) now parse the stored value using the picker's actual format first. The details-handler path is self-contained, so it no longer silently no-ops on installs whose Post Types class lacks the newer picker-format helper. The underlying saved dates were already correct — re-save affected event listings (open -> Update) to refresh the display.
- The booking-details popups on the dashboard booking calendars (owner and guest side) and on the wp-admin Bookings list now show the event date the guest actually booked instead of re-deriving it from the listing's stored event date. The stored value is saved in the site's display format, which didn't parse on every date format (e.g. month/day sites) — when parsing failed these views quietly showed TODAY's date, and for recurring events (Booking Plus) they always showed the first date of the series instead of the picked occurrence. The listing's event date is now only a fallback for legacy bookings without a stored date. (Same bug family as the WooCommerce payment-page date fix in the companion Listeo theme update.)
- Disabled listing types no longer keep their category taxonomy registered. A default listing type's separate "* Categories" taxonomy (e.g. Service Categories, Rentals Categories) was still registered — and still listed on the Categories admin page with its own submenu — after the type was set inactive or had its per-type Taxonomy option turned off, because the registration check only looked at active types and defaulted everything else to on. A type's category taxonomy is now registered only when the type is both active and has the Taxonomy option enabled. Existing category terms are left untouched (nothing is deleted); the menu and Categories page update on the next page load.

- "Upcoming events" ordering now keeps an event visible until it ENDS instead of hiding it the moment it starts. An event in progress (e.g. a festival running 18:00-24:00) previously disappeared from listings as soon as its start time passed, because the sort filtered by the event start timestamp. It now filters by the event end timestamp (falling back to the start time only when no end date is set), so currently-running events still appear. This applies everywhere the "Upcoming events" order is used — shortcode/search listings and taxonomy/archive pages (the main query). Listings with no event date are unaffected.
- Approved-but-unpaid booking orders are now created with the "Pending payment" status so customers can always pay. The order was created without an explicit status, so it inherited WooCommerce's default new-order status; on sites where a payment gateway or plugin filters that default to "On hold", the booking order became unpayable ("this order's status is On hold - it cannot be paid"). It is now forced to "pending" on creation. (The intentional "on hold" used for payments received after a booking expired is unchanged.)
- Newly added "extra service" rows in the submit-listing form no longer show their labels in English on translated sites. The first (server-rendered) service row was translatable, but rows added with "Add service" are built in JavaScript and fell back to hard-coded English because the labels were never passed to the script. The eight labels (Basic service info, Booking & availability settings, Bookable service, Multiply by hours, Multiply by guests & hours, Allow quantity, Customer can pick more, Max quantity) are now localized to the script using the same strings as the form template, so existing Loco/.po translations apply to dynamically added rows automatically.

- Paid listing claims that use a subscription package now create a proper subscription. The claim flow created the WooCommerce subscription as an empty shell (no line items, no schedule), so even after the claim order was paid the subscription showed "$0.00 / Via Manual Renewal" and never billed the package price. The order's line items, totals and billing schedule are now copied into the subscription, so paying the claim order activates a correctly-priced subscription. (Existing broken subscriptions from before this fix must be corrected manually.)

Improvements
- RTL: Listeo Core's frontend components now have right-to-left styling. The theme already shipped full RTL support, but the components rendered by the Core plugin (booking widget, submit-listing / pricing form, search dropdowns, file-upload fields, slot carousel and the booking price breakdown) had no direction-aware CSS, so they stayed left-to-right on Arabic/Hebrew/Farsi sites. A new frontend-rtl.css is loaded automatically only when the site language is RTL and mirrors those components. (Theme-level areas such as the mobile user menu continue to use the theme's own rtl.css.)

= 2.0.45 =

New Features
- Listeo Dashboard — new admin area to browse, install and manage Listeo add-ons and licensing (addons catalog + dashboard UI).
- New `listeo_listing_type_row_meta` hook so add-ons can show extra info on listing-type rows (used by Booking Plus for the resource-types badge).

Improvements
- Booking price breakdown in the booking widget can start collapsed and expands by clicking the "Total Cost" row (new option "Show booking price breakdown expanded by default").
- Accent-aware alphabetical ordering for search taxonomy dropdowns (filterable per field).
- UTM source/campaign parameters added to add-on links in the dashboard.
- Minor listing card price display refinement.

Fixes
- Recurring events no longer expire on their first occurrence date. Listing cards / search results now show the next upcoming occurrence (or a "Past event" badge once a series ends) instead of the original, now-past start date. This covers both card paths: the image date badge and the custom-fields list (get_custom_fields_for_list / details handler). Added extension points used by Booking Plus: `listeo_card_event_date` (image-badge date), `listeo_detail_event_date_value` (custom-fields date value, with new 'single'/'list' render context), `listeo_core_event_expiry_ids` (lets add-ons remove still-running recurring series from event-based expiry). The `listeo_details_event_fields` filter now also receives the render context as a 3rd argument. Event-date card-badge rendering centralized in the new `listeo_render_event_card_date()` helper.
- Removed two dead, never-loaded recurrence classes (class-listeo-core-event-recurrence.php and class-listeo-core-event-recurrence-new.php); recurrence is handled by Booking Plus.
- Coupons are now applied to the WooCommerce order for confirmed bookings — owner/seller coupons were rejected in programmatically-created orders, charging the full price.
- Removed the enqueue of a non-existent listeo-modern-admin.js that caused a 404 on admin settings pages.
- Booking price breakdown now shows the multiplier for extra services priced per hour, per day or per guest (e.g. "$6.00 × 3 hours"), matching the accommodation rate line instead of showing only the total. Applies to the classic widget and the Booking Plus popup (which reuses the same breakdown).
