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>
This commit is contained in:
+3
@@ -0,0 +1,3 @@
|
||||
<svg width="18" height="17" viewBox="0 0 18 17" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path opacity="0.75" d="M16.7188 5.71875C17.0625 5.90625 17.0625 6.40625 16.7188 6.625L12.3438 9.4375L14.375 8.90625C14.75 8.8125 15.0938 9.1875 15 9.5625L14.5625 10.375L16.1875 11.7812C16.4375 12 16.4375 12.4062 16.1875 12.625L14.5625 14.0625L15 14.8438C15.0938 15.25 14.75 15.5938 14.375 15.5L9.34375 14.4688L8.84375 15.625C8.65625 16.0625 8.0625 16.0625 7.875 15.625L6.9375 13.5L9.03125 9.90625L2.6875 16.2188C2.5 16.4062 2.25 16.5 2 16.5C1.71875 16.5 1.46875 16.4062 1.28125 16.2188C0.875 15.8438 0.875 15.1875 1.28125 14.8125L5.0625 11L1.875 9.625C1.4375 9.4375 1.4375 8.84375 1.875 8.65625L3.03125 8.15625L2 3.125C1.90625 2.75 2.25 2.40625 2.65625 2.5L3.4375 2.9375L4.875 1.3125C5.09375 1.0625 5.5 1.0625 5.71875 1.3125L7.125 2.9375L7.9375 2.5C8.3125 2.40625 8.6875 2.75 8.59375 3.125L8.0625 5.15625L10.875 0.78125C11.0938 0.4375 11.5938 0.4375 11.7812 0.78125L12.5 1.9375L15.2812 1.625C15.625 1.59375 15.9062 1.875 15.875 2.21875L15.5625 5L16.7188 5.71875Z" fill="#9B64E8"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
Reference in New Issue
Block a user