Manual property enhancements: MLS status sync, agent clone, description formatting

- Manual properties linked to MLS now inherit status (Active/Pending/Closed) and
  days_on_market from the MLS listing dynamically
- Properties not in MLS default to Closed status
- Clone feature now auto-populates listing agent by matching MLS ID to Agent CPT
- Description formatter detects embedded headers (unpunctuated text after sentences)
  and splits them into separate paragraphs

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
root
2026-01-23 21:28:44 +00:00
parent c2d5b2248d
commit 57b752f54e
60 changed files with 5323 additions and 189 deletions
@@ -0,0 +1,39 @@
# MLS Grid SSL Verification Skip
**Date**: 2026-01-06
**Type**: Server Configuration (wp-config.php)
Note: This is not a database change, but a server-level configuration change. Documented here for production sync purposes.
## Issue
MLS Grid's media CDN (`media.mlsgrid.com`) has an expired SSL certificate, causing all image fetches to fail with SSL handshake errors. This resulted in 404 errors for property images on the site.
## Solution
Enable the `MLS_SKIP_SSL_VERIFY` option that was added in commit `0fd8b71`.
## Change Required
Add to `wp-config.php` (after MLS Grid API settings):
```php
// Skip SSL verification for MLS Grid media (their cert is expired)
define( 'MLS_SKIP_SSL_VERIFY', true );
```
## Security Note
This disables SSL certificate verification only for MLS Grid media downloads. This is acceptable because:
1. The data being fetched is public property images (not sensitive)
2. The alternative is completely broken image functionality
3. This should be reverted once MLS Grid renews their certificate
## Verification
After applying, test an image URL:
```bash
curl -I "https://[site]/mls-image/[listing_key]/1/thumb/?sig=[signature]"
```
Should return `HTTP 200` with `content-type: image/webp`.