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,35 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="49" height="48" fill="none">
|
||||
<path fill="#0074BF" d="M36.5 42h-6v6h6v-6Z" opacity=".5"/>
|
||||
<path fill="#0074BF" d="M30.5 42h-6v6h6v-6Zm-6 0h-6v6h6v-6Z" opacity=".7"/>
|
||||
<path fill="#0074BF" d="M18.5 42h-6v6h6v-6Z" opacity=".5"/>
|
||||
<path fill="#0082BF" d="M42.5 36h-6v6h6v-6Z" opacity=".7"/>
|
||||
<path fill="#0082BF" d="M36.5 36h-6v6h6v-6Z" opacity=".8"/>
|
||||
<path fill="#0082BF" d="M30.5 36h-6v6h6v-6Zm-6 0h-6v6h6v-6Z"/>
|
||||
<path fill="#0082BF" d="M18.5 36h-6v6h6v-6Z" opacity=".8"/>
|
||||
<path fill="#0082BF" d="M12.5 36h-6v6h6v-6Z" opacity=".7"/>
|
||||
<path fill="#008FBF" d="M48.5 30h-6v6h6v-6Z" opacity=".5"/>
|
||||
<path fill="#008FBF" d="M42.5 30h-6v6h6v-6Z" opacity=".8"/>
|
||||
<path fill="#008FBF" d="M36.5 30h-6v6h6v-6Zm-6 0h-6v6h6v-6Zm-6 0h-6v6h6v-6Zm-6 0h-6v6h6v-6Z"/>
|
||||
<path fill="#008FBF" d="M12.5 30h-6v6h6v-6Z" opacity=".8"/>
|
||||
<path fill="#008FBF" d="M6.5 30h-6v6h6v-6Z" opacity=".5"/>
|
||||
<path fill="#009DBF" d="M48.5 24h-6v6h6v-6Z" opacity=".7"/>
|
||||
<path fill="#009DBF" d="M42.5 24h-6v6h6v-6Zm-6 0h-6v6h6v-6Zm-6 0h-6v6h6v-6Zm-6 0h-6v6h6v-6Zm-6 0h-6v6h6v-6Zm-6 0h-6v6h6v-6Z"/>
|
||||
<path fill="#009DBF" d="M6.5 24h-6v6h6v-6Z" opacity=".7"/>
|
||||
<path fill="#00ABBF" d="M48.5 18h-6v6h6v-6Z" opacity=".7"/>
|
||||
<path fill="#00ABBF" d="M42.5 18h-6v6h6v-6Zm-6 0h-6v6h6v-6Zm-6 0h-6v6h6v-6Zm-6 0h-6v6h6v-6Zm-6 0h-6v6h6v-6Zm-6 0h-6v6h6v-6Z"/>
|
||||
<path fill="#00ABBF" d="M6.5 18h-6v6h6v-6Z" opacity=".7"/>
|
||||
<path fill="#00B9BF" d="M48.5 12h-6v6h6v-6Z" opacity=".5"/>
|
||||
<path fill="#00B9BF" d="M42.5 12h-6v6h6v-6Z" opacity=".8"/>
|
||||
<path fill="#00B9BF" d="M36.5 12h-6v6h6v-6Zm-6 0h-6v6h6v-6Zm-6 0h-6v6h6v-6Zm-6 0h-6v6h6v-6Z"/>
|
||||
<path fill="#00B9BF" d="M12.5 12h-6v6h6v-6Z" opacity=".8"/>
|
||||
<path fill="#00B9BF" d="M6.5 12h-6v6h6v-6Z" opacity=".5"/>
|
||||
<path fill="#00C6BF" d="M42.5 6h-6v6h6V6Z" opacity=".7"/>
|
||||
<path fill="#00C6BF" d="M36.5 6h-6v6h6V6Z" opacity=".8"/>
|
||||
<path fill="#00C6BF" d="M30.5 6h-6v6h6V6Zm-6 0h-6v6h6V6Z"/>
|
||||
<path fill="#00C6BF" d="M18.5 6h-6v6h6V6Z" opacity=".8"/>
|
||||
<path fill="#00C6BF" d="M12.5 6h-6v6h6V6Z" opacity=".7"/>
|
||||
<path fill="#00D4BF" d="M36.5 0h-6v6h6V0Z" opacity=".5"/>
|
||||
<path fill="#00D4BF" d="M30.5 0h-6v6h6V0Zm-6 0h-6v6h6V0Z" opacity=".7"/>
|
||||
<path fill="#00D4BF" d="M18.5 0h-6v6h6V0Z" opacity=".5"/>
|
||||
<path fill="#fff" d="m16.3 22.1 1.68-3.74c.6-.95.52-2.13-.14-2.8a2.15 2.15 0 0 0-.3-.23 1.83 1.83 0 0 0-1.53-.18c-.58.18-1.08.56-1.4 1.07 0 0-2.29 5.35-3.14 7.75-.86 2.4-.52 6.8 2.76 10.1 3.49 3.48 8.53 4.28 11.75 1.86.14-.07.26-.15.38-.25l9.9-8.28c.49-.4 1.2-1.22.57-2.15-.63-.92-1.8-.29-2.3.02l-5.7 4.15a.25.25 0 0 1-.35-.03l-.01-.01c-.15-.18-.17-.65.06-.84l8.74-7.42c.76-.68.86-1.67.25-2.35-.6-.67-1.54-.65-2.3.04l-7.88 6.16a.35.35 0 0 1-.49-.05v-.02c-.17-.18-.23-.47-.05-.65l8.92-8.64c.7-.66.75-1.77.1-2.46a1.74 1.74 0 0 0-2.47-.02l-9.12 8.56c-.22.21-.65 0-.7-.26a.28.28 0 0 1 .08-.26l6.98-7.94a1.72 1.72 0 1 0-2.34-2.52l-.08.08-10.6 11.7c-.38.37-.94.39-1.2.17a.4.4 0 0 1-.07-.56Z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.9 KiB |
Reference in New Issue
Block a user