Files
homeproz/wp-content/plugins/wp-mail-smtp/assets/images/flyout-menu/life-ring.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
714 B
XML
Executable File

<svg width="20" height="20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M10 0C4.476 0 0 4.516 0 10c0 5.524 4.476 10 10 10 5.484 0 10-4.476 10-10 0-5.484-4.516-10-10-10zm6.976 4.839-2.54 2.54a5.574 5.574 0 0 0-1.815-1.814l2.54-2.54c.565.402 1.412 1.25 1.815 1.814zM10 13.87c-2.177 0-3.871-1.694-3.871-3.871A3.846 3.846 0 0 1 10 6.129 3.872 3.872 0 0 1 13.871 10 3.846 3.846 0 0 1 10 13.871zM4.798 3.024l2.54 2.54A5.574 5.574 0 0 0 5.525 7.38l-2.54-2.54c.403-.565 1.25-1.412 1.814-1.815zM2.984 15.202l2.54-2.54a5.573 5.573 0 0 0 1.815 1.814l-2.54 2.54c-.565-.403-1.412-1.25-1.815-1.814zm12.177 1.814-2.54-2.54a5.574 5.574 0 0 0 1.814-1.815l2.54 2.54c-.402.565-1.25 1.412-1.814 1.815z" fill="#fff"/></svg>