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>
99 lines
2.3 KiB
CSS
Executable File
99 lines
2.3 KiB
CSS
Executable File
/**
|
|
* Common styles.
|
|
*/
|
|
.wpforms-edit-post-education-notice-body {
|
|
padding-left: 52px;
|
|
min-height: 40px;
|
|
margin: 0;
|
|
position: relative;
|
|
}
|
|
|
|
.wpforms-edit-post-education-notice-body p {
|
|
margin: 0;
|
|
}
|
|
|
|
.wpforms-edit-post-education-notice-body:before {
|
|
content: '';
|
|
display: block;
|
|
width: 40px;
|
|
height: 40px;
|
|
background-image: url("../../images/sullie-edit-post-education.svg");
|
|
background-size: 100%;
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
}
|
|
|
|
/**
|
|
* Classic editor styles.
|
|
*/
|
|
.wpforms-hidden {
|
|
display: none !important;
|
|
}
|
|
|
|
.wpforms-edit-post-education-notice {
|
|
position: relative;
|
|
background: #FFFFFF;
|
|
border: 1px solid #C3C4C7;
|
|
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
|
|
padding: 10px;
|
|
font-size: 14px;
|
|
line-height: 21px;
|
|
display: flex;
|
|
align-items: flex-start;
|
|
margin: 23px 0;
|
|
}
|
|
|
|
.wpforms-edit-post-education-notice .notice-dismiss {
|
|
position: static;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.wpforms-edit-post-education-notice:not(.wpforms-hidden) + #postdivrich {
|
|
margin-top: -20px;
|
|
}
|
|
|
|
/**
|
|
* Gutenberg editor styles.
|
|
*/
|
|
.is-distraction-free .interface-interface-skeleton__header:focus-within .wpforms-edit-post-education-notice .components-notice__actions,
|
|
.is-distraction-free .interface-interface-skeleton__header:focus-within .wpforms-edit-post-education-notice .components-notice__content {
|
|
transform: none !important;
|
|
}
|
|
|
|
.components-notice-list .wpforms-edit-post-education-notice {
|
|
background-color: #f0f6fc;
|
|
border-top: 0;
|
|
border-left: 4px solid #007cba;
|
|
border-bottom: 0;
|
|
border-right: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.components-notice-list .wpforms-edit-post-education-notice-body {
|
|
padding-right: 150px;
|
|
float: left;
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
.components-notice-list .wpforms-edit-post-education-notice-body {
|
|
float: none;
|
|
padding-right: 0;
|
|
}
|
|
.components-notice-list .components-notice__action.components-button.wpforms-edit-post-education-notice-guide-button {
|
|
margin-left: 52px;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.components-notice-list .components-notice__action.components-button.wpforms-edit-post-education-notice-guide-button {
|
|
position: absolute;
|
|
right: 60px;
|
|
top: 14px;
|
|
margin: 0;
|
|
}
|
|
.components-notice-list .wpforms-edit-post-education-notice.components-notice .components-notice__dismiss {
|
|
margin-top: 14px;
|
|
}
|
|
}
|