← All changes
|
_inc/lib/admin-pages/class-jetpack-settings-react-page.php
+1
-2
16.3-a.5
→
16.3-a.7
View file →
| @@ -64,9 +64,8 @@ | ||
| 64 | 64 | /** |
| 65 | 65 | * Whether this request should load wp-build. |
| 66 | 66 | * |
| 67 | 67 | * An IDC-blocked page shows only the IDC banner, which the wp-build template would hide. |
| 68 | - * RTL stays on webpack too: wp-build inlines the route CSS with no RTL variant. | |
| 69 | 68 | * |
| 70 | 69 | * @since 16.3 |
| 71 | 70 | * |
| 72 | 71 | * @return bool |
| @@ -71,9 +70,9 @@ | ||
| 71 | 70 | * |
| 72 | 71 | * @return bool |
| 73 | 72 | */ |
| 74 | 73 | public function should_load_wp_build() { |
| 75 | - if ( ! is_admin() || ! self::is_wp_build_enabled() || is_rtl() ) { | |
| 74 | + if ( ! is_admin() || ! self::is_wp_build_enabled() ) { | |
| 76 | 75 | return false; |
| 77 | 76 | } |
| 78 | 77 | |
| 79 | 78 | // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reading the page slug only. |