Changeset 3391250
- Timestamp:
- 11/06/2025 03:49:02 PM (4 months ago)
- Location:
- weather-write/trunk
- Files:
-
- 4 edited
-
assets/admin.css (modified) (7 diffs)
-
includes/class-admin.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
weather-write.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
weather-write/trunk/assets/admin.css
r3389240 r3391250 45 45 46 46 /* ---------- Tabs (sticky + animated underline) ---------- */ 47 . nav-tab-wrapper{47 .toplevel_page_weatherwrite .nav-tab-wrapper{ 48 48 position:sticky; top:32px; z-index:10; 49 49 margin-top:12px; padding:8px 8px 0; background:#fff; … … 51 51 box-shadow:0 1px 0 rgba(0,0,0,.03); 52 52 } 53 . nav-tab-wrapper .nav-tab{53 .toplevel_page_weatherwrite .nav-tab-wrapper .nav-tab{ 54 54 background:transparent; border:0; margin-right:6px; 55 55 color:var(--wwrt-muted); font-weight:700; … … 57 57 transition:color .15s ease; 58 58 } 59 . nav-tab-wrapper .nav-tab:hover{ color:var(--wwrt-primary-700); }60 . nav-tab-wrapper .nav-tab-active{ color:var(--wwrt-text); }61 . nav-tab-wrapper .nav-tab-active::after{59 .toplevel_page_weatherwrite .nav-tab-wrapper .nav-tab:hover{ color:var(--wwrt-primary-700); } 60 .toplevel_page_weatherwrite .nav-tab-wrapper .nav-tab-active{ color:var(--wwrt-text); } 61 .toplevel_page_weatherwrite .nav-tab-wrapper .nav-tab-active::after{ 62 62 content:""; position:absolute; left:10px; right:10px; bottom:-1px; height:3px; 63 63 background:var(--wwrt-primary); border-radius:2px; … … 160 160 161 161 /* Checkboxes / radios */ 162 input[type="checkbox"], input[type="radio"]{ accent-color:var(--wwrt-primary); } 162 .toplevel_page_weatherwrite input[type="checkbox"], 163 .toplevel_page_weatherwrite input[type="radio"]{ accent-color:var(--wwrt-primary); } 163 164 164 165 /* Day chips */ … … 205 206 .wwrt-actions{ display:flex; gap:10px; justify-content:flex-end; margin-top:12px; } 206 207 .wwrt-actions .button-primary, 207 . button.button-primary{208 .toplevel_page_weatherwrite .button.button-primary{ 208 209 background:var(--wwrt-primary); border-color:var(--wwrt-primary); color:#fff; 209 210 border-radius:999px; padding:9px 18px; font-weight:700; … … 212 213 } 213 214 .wwrt-actions .button-primary:hover, 214 . button.button-primary:hover{215 .toplevel_page_weatherwrite .button.button-primary:hover{ 215 216 background:var(--wwrt-primary-600); border-color:var(--wwrt-primary-600); 216 217 transform:translateY(-1px); … … 257 258 /* Removed broad indent to avoid excessive right-side spacing; consider per-group wrappers if deeper hierarchy is desired */ 258 259 .wwrt-actions .button-primary:focus, 259 . button.button-primary:focus{ box-shadow:var(--wwrt-focus); }260 .toplevel_page_weatherwrite .button.button-primary:focus{ box-shadow:var(--wwrt-focus); } 260 261 .wwrt-wrap .wp-core-ui .button, 261 262 .wwrt-wrap .wp-core-ui .button-secondary{ border-radius:10px; } -
weather-write/trunk/includes/class-admin.php
r3389248 r3391250 77 77 // Only load on our WeatherWrite top-level page 78 78 if ( 'toplevel_page_weatherwrite' !== $hook ) { 79 // Header content added above79 return; // Don't load CSS/JS on other admin pages 80 80 } 81 81 // Ensure media library is available for Images tab -
weather-write/trunk/readme.txt
r3391231 r3391250 4 4 Requires at least: 6.5 5 5 Tested up to: 6.8 6 Stable tag: 1.2. 76 Stable tag: 1.2.8 7 7 License: GPLv2 or later 8 8 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 87 87 88 88 == Changelog == 89 90 = 1.2.8 = 91 - CRITICAL FIX: Resolved CSS leakage affecting other WordPress plugins 92 - CRITICAL FIX: Added missing return statement in enqueue_admin_assets() preventing CSS from loading globally 93 - IMPROVEMENT: Scoped all nav-tab-wrapper styles to WeatherWrite pages only 94 - IMPROVEMENT: Scoped all button.button-primary styles to WeatherWrite pages only 95 - IMPROVEMENT: Scoped all checkbox/radio input styles to WeatherWrite pages only 96 - TECHNICAL: Added .toplevel_page_weatherwrite prefix to all global WordPress selectors 97 - TECHNICAL: CSS now loads exclusively on WeatherWrite admin pages, not across all of WordPress 98 - UX: Other plugins (SnappyWrite, WooCommerce, Yoast, etc.) no longer affected by WeatherWrite styling 99 - UX: Eliminated missing logos, altered buttons, and modified tab navigation in other plugins 100 - COMPATIBILITY: Plugin now follows WordPress best practices for admin CSS scoping 89 101 90 102 = 1.2.7 = -
weather-write/trunk/weather-write.php
r3391231 r3391250 3 3 * Plugin Name: Weather Write 4 4 * Description: Generate and publish weather-aware posts with summaries, charts, images, alerts, SEO, and more — fully automated or on-demand. 5 * Version: 1.2. 75 * Version: 1.2.8 6 6 * Author: Mike Freeman - WeatherWrite 7 7 * Plugin URI: https://www.weatherwrite.com/
Note: See TracChangeset
for help on using the changeset viewer.