Files
homeproz/wp-content/plugins/wp-mail-smtp/assets/vue/img/thumbs-up-hover.svg
T
root b6df4dbb92 Snapshot: MLS sync fixes, image refresh, plugin/theme updates
MLS plugin fixes from this session:
- Fix silent insert failures: location column NOT NULL was rejecting wpdb->insert calls,
  causing ~18k new properties since Dec 2025 to be lost. Inserts now build raw SQL
  with ST_PointFromText so the spatial column is populated atomically.
- Auto-refresh expired media URLs in MLS_Media_Handler::fetch_and_cache(), guarded by
  a property-level GET_LOCK so concurrent fetches share one API refresh.
- Normalize WP_Error to null in mls_get_property_image() so callers can rely on the
  documented string|null contract.
- Support comma-separated property_type filters in MLS_Query and MLS_Cluster so the
  homepage "View All Commercial" link (?property_type=Commercial+Sale,Land,Farm)
  actually filters correctly.
- Incremental sync now looks back 10 minutes past the latest modification timestamp
  as a safety margin against missed records.
- Smart sync exits silently (info-level, not warning) when a full sync is in progress.

Operational:
- New cron: weekly full sync Sundays at 3 AM (/usr/local/bin/mls-full-sync).
- New cron: hourly 2GB cap on mls-thumbnails/ and cache/transformed-images/
  (/usr/local/bin/mls-image-cache-cap).
- Logrotate config for wp-content/debug.log (2-day retention, daily rotation,
  delaycompress).

Repo policy:
- CLAUDE.md updated with explicit "commit everything except build artifacts" policy.
- .gitignore: untrack runtime image caches and debug.log rotations.

Other modifications in this snapshot are pre-existing in-flight theme/plugin/db_content_updates work.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-29 15:32:23 +00:00

1 line
1.7 KiB
XML
Executable File

<svg xmlns="http://www.w3.org/2000/svg" width="128" height="128" viewBox="0 0 128 128"><defs><style>.a-thumbsup{fill:#6ab255;stroke:#6ab255;stroke-width:5px;}.b-thumbsup{fill:#fff;}.c-thumbsup{stroke:none;}.d-thumbsup{fill:none;}</style></defs><g transform="translate(-311.123 -203.022)"><g class="a-thumbsup" transform="translate(311.123 203.022)"><circle class="c-thumbsup" cx="64" cy="64" r="64"/><circle class="d-thumbsup" cx="64" cy="64" r="61.5"/></g><path class="b-thumbsup" d="M-18.286-6.857a2.3,2.3,0,0,1-2.286,2.286,2.3,2.3,0,0,1-2.286-2.286,2.3,2.3,0,0,1,2.286-2.286A2.3,2.3,0,0,1-18.286-6.857ZM22.857-27.429c0,1.321-1,4.536-2.679,4.571a6.423,6.423,0,0,1,1.25,3.679,5.685,5.685,0,0,1-1.893,4.25,4.977,4.977,0,0,1,.643,2.464,5.319,5.319,0,0,1-2.321,4.5,12.249,12.249,0,0,1,.179,2C18.036-1.607,15.214,0,11.179,0H6.857C2.643,0-1.429-1.25-5.357-2.607c-1.929-.679-5.214-1.964-7.214-1.964h-1.143V-27.429h1.143c2.821,0,7.071-6.107,8.679-8.179.893-1.107,1.75-2.214,2.75-3.25C2.321-42.5,1.143-47.964,3.429-50.286c4.893,0,5.714,2.679,5.714,6.857,0,4.214-3.429,7.25-3.429,11.429H18.286A4.726,4.726,0,0,1,22.857-27.429Zm4.571-.036a9.271,9.271,0,0,0-9.143-9.107H12a15.228,15.228,0,0,0,1.714-6.857,13.717,13.717,0,0,0-1.25-6.643c-1.75-3.464-5.321-4.786-9.036-4.786A4.663,4.663,0,0,0,.214-53.536c-3.571,3.5-2.429,9.143-4.571,11.429-1.357,1.464-2.607,3-3.821,4.571-1.071,1.393-3.5,4.607-4.893,5.536h-9.786a4.557,4.557,0,0,0-4.571,4.571V-4.571A4.557,4.557,0,0,0-22.857,0h10.286A26.4,26.4,0,0,1-7.643,1.429c4.714,1.643,9.429,3.143,14.5,3.143h4.607c6.607,0,11.214-3.964,11.143-10.714A10.416,10.416,0,0,0,24.75-12.5a11.1,11.1,0,0,0-.107-1.536A10.445,10.445,0,0,0,26-19.179a9.523,9.523,0,0,0-.321-2.464A10.512,10.512,0,0,0,27.429-27.464Z" transform="translate(375.123 290.022)"/></g></svg>