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:
@@ -0,0 +1,10 @@
|
||||
<svg width="15" height="58" viewBox="0 0 15 58" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g clip-path="url(#clip0_0_260)">
|
||||
<path d="M8.25 10.7L4.5 8.2C3.09221 7.26193 1.9594 6.08775 1.18176 4.76059C0.404128 3.43343 0.000686646 1.98573 0 0.52V-3C0 -4.06087 -0.526784 -5.07828 -1.46447 -5.82843C-2.40215 -6.57857 -3.67392 -7 -5 -7C-6.32608 -7 -7.59785 -6.57857 -8.53553 -5.82843C-9.47322 -5.07828 -10 -4.06087 -10 -3L-10 61C-10 62.0609 -9.47322 63.0783 -8.53553 63.8284C-7.59785 64.5786 -6.32608 65 -5 65C-3.67392 65 -2.40215 64.5786 -1.46447 63.8284C-0.526784 63.0783 0 62.0609 0 61V57.48C0.000686646 56.0143 0.404128 54.5666 1.18176 53.2394C1.9594 51.9122 3.09221 50.7381 4.5 49.8L8.25 47.3C10.3633 45.8918 12.0635 44.1289 13.23 42.1364C14.3965 40.1438 15.0008 37.9703 15 35.77V22.23C15.0008 20.0297 14.3965 17.8562 13.23 15.8636C12.0635 13.8711 10.3633 12.1082 8.25 10.7Z" fill="#EBF3FC"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip0_0_260">
|
||||
<rect width="15" height="58" fill="white"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1009 B |
Reference in New Issue
Block a user