Commit c6284a0
authored
Update class-wp-styles.php
### Summary
Adds support for loading `ltr.css` in RTL-based multilingual WordPress sites, mirroring the existing `rtl.css` behavior.
### Details
- Introduces `wp_style_add_data( $handle, 'ltr', 'replace' )` and `'suffix'` modes
- Uses `extra['ltr']` and `_css_href()` for consistent file resolution
- Applies `style_loader_tag` filter for extensibility
- Ensures compatibility with single-file enqueue behavior in WordPress Core
### Trac Ticket
See: https://core.trac.wordpress.org/ticket/641931 parent 9f3e07c commit c6284a0
1 file changed
+28
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
274 | 302 | | |
275 | 303 | | |
276 | 304 | | |
| |||
0 commit comments