b6df4dbb92
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>
2 lines
1.0 KiB
XML
Executable File
2 lines
1.0 KiB
XML
Executable File
<svg xmlns="http://www.w3.org/2000/svg" width="106" height="80" fill="none"><g clip-path="url(#a)"><path fill="#F4801F" d="m72.375 63.299.541-1.877c.643-2.232.405-4.29-.678-5.809-1.011-1.396-2.66-2.216-4.68-2.312l-38.213-.486a.743.743 0 0 1-.683-1.011 1.012 1.012 0 0 1 .885-.678l38.583-.506c4.554-.208 9.532-3.921 11.267-8.455l2.196-5.747a1.355 1.355 0 0 0 .061-.78 25.13 25.13 0 0 0-48.312-2.6 11.308 11.308 0 0 0-17.708 11.85A16.056 16.056 0 0 0 .172 63.313a.744.744 0 0 0 .734.642H71.48a.926.926 0 0 0 .895-.657Z"/><path fill="#F9AB41" d="M85.11 36.853c-.338 0-.692.01-1.063.03a.446.446 0 0 0-.162.036.592.592 0 0 0-.384.405l-1.518 5.19c-.648 2.232-.41 4.29.678 5.809a5.892 5.892 0 0 0 4.675 2.312l8.15.506a.728.728 0 0 1 .577.314.76.76 0 0 1 .086.693 1.011 1.011 0 0 1-.885.678l-8.465.506c-4.599.212-9.552 3.92-11.287 8.449L74.9 63.38a.455.455 0 0 0 .4.617h29.157a.782.782 0 0 0 .779-.592 20.92 20.92 0 0 0-10.822-24.36 20.916 20.916 0 0 0-9.294-2.192h-.01Z"/></g><defs><clipPath id="a"><path fill="#fff" d="M0 16.033h106v47.933H0z"/></clipPath></defs></svg>
|