← All changes
|
includes/my-wordpress/integrations/woocommerce-customer-window.php
+7
-1
1.0.1
→
1.1.11
View file →
| @@ -92,9 +92,15 @@ | ||
| 92 | 92 | // Rides the integration bundle that already ships the |
| 93 | 93 | // summary transport and the panel renderers — one more |
| 94 | 94 | // window, no second bundle. |
| 95 | 95 | 'script' => 'os-my-wordpress-woocommerce', |
| 96 | - 'style' => 'os-my-wordpress-woocommerce', | |
| 96 | + // `styles` (companion), NOT `style`: a window's own style | |
| 97 | + // injects when the window REGISTERS, which for this one means | |
| 98 | + // every shell boot on a store — exactly the eager cost the | |
| 99 | + // integration is built to avoid. As a companion it lands on | |
| 100 | + // first open, and since the Explorer declares the same handle, | |
| 101 | + // whichever window opens first pays it once for both. | |
| 102 | + 'styles' => array( 'os-my-wordpress-woocommerce' ), | |
| 97 | 103 | 'width' => 880, |
| 98 | 104 | 'height' => 700, |
| 99 | 105 | 'min_width' => 520, |
| 100 | 106 | 'min_height' => 420, |