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>
1 line
865 B
XML
Executable File
1 line
865 B
XML
Executable File
<svg xmlns="http://www.w3.org/2000/svg" width="111.855" height="111.855" viewBox="0 0 111.855 111.855"><defs><style>.a-arrow{fill:#b6b6b6;}</style></defs><path class="a-arrow" d="M5.257,3.426A4.667,4.667,0,0,1,12.072.653c8.022,5.479,15.546,11.279,23.116,17.358,2.551,2.048-.7,5.714-3.35,4.341-3.513-1.818-6.971-3.66-10.4-5.54a102.86,102.86,0,0,1,6.872,12.711,105.942,105.942,0,0,1,9.024,30.218,95.215,95.215,0,0,1-1.25,32.623c-1.715,8.051-4.7,23.074-12.589,27.348a2.2,2.2,0,0,1-3.267-1.875c-.366-4.506,2.394-8.761,3.933-12.912a93.085,93.085,0,0,0,4.115-14.714,89.208,89.208,0,0,0,.674-30.252,81.91,81.91,0,0,0-8.454-25.868,90.064,90.064,0,0,0-9.251-13.367l-.322,1.617c-.964,4.858-1.308,9.4-4.42,13.353-1.74,2.206-5.361.79-6.022-1.59-1.324-4.765.413-9.521,1.395-14.258C2.527,16.689,5.113,4.121,5.257,3.426Z" transform="translate(27.002 111.855) rotate(-135)"/></svg> |