1767 | | // RTL CSS |
1768 | | $rtl_styles = array( |
1769 | | // wp-admin |
1770 | | 'common', 'forms', 'admin-menu', 'dashboard', 'list-tables', 'edit', 'revisions', 'media', 'themes', 'about', 'nav-menus', |
1771 | | 'widgets', 'site-icon', 'l10n', 'install', 'wp-color-picker', 'customize-controls', 'customize-widgets', 'customize-nav-menus', 'customize-preview', |
1772 | | 'ie', 'login', |
1773 | | // wp-includes |
1774 | | 'buttons', 'admin-bar', 'wp-auth-check', 'editor-buttons', 'media-views', 'wp-pointer', |
1775 | | 'wp-jquery-ui-dialog', |
1776 | | // deprecated |
1777 | | 'deprecated-media', 'farbtastic', |
1778 | | ); |
1779 | | |
1780 | | foreach ( $rtl_styles as $rtl_style ) { |
1781 | | $styles->add_data( $rtl_style, 'rtl', 'replace' ); |
1782 | | if ( $suffix ) { |
1783 | | $styles->add_data( $rtl_style, 'suffix', $suffix ); |
1784 | | } |
1785 | | } |
1786 | | |
| 1810 | |
| 1811 | // RTL CSS |
| 1812 | $rtl_styles = array( |
| 1813 | // wp-admin |
| 1814 | 'common', 'forms', 'admin-menu', 'dashboard', 'list-tables', 'edit', 'revisions', 'media', 'themes', 'about', 'nav-menus', |
| 1815 | 'widgets', 'site-icon', 'l10n', 'install', 'wp-color-picker', 'customize-controls', 'customize-widgets', 'customize-nav-menus', 'customize-preview', |
| 1816 | 'ie', 'login', |
| 1817 | // wp-includes |
| 1818 | 'buttons', 'admin-bar', 'wp-auth-check', 'editor-buttons', 'media-views', 'wp-pointer', |
| 1819 | 'wp-jquery-ui-dialog', |
| 1820 | // package styles |
| 1821 | 'wp-block-library-theme', 'wp-edit-blocks', 'wp-block-library', 'wp-components', 'wp-edit-post', 'wp-editor', 'wp-format-library', |
| 1822 | 'wp-list-reusable-blocks', 'wp-nux', |
| 1823 | // deprecated |
| 1824 | 'deprecated-media', 'farbtastic', |
| 1825 | ); |
| 1826 | |
| 1827 | foreach ( $rtl_styles as $rtl_style ) { |
| 1828 | $styles->add_data( $rtl_style, 'rtl', 'replace' ); |
| 1829 | if ( $suffix ) { |
| 1830 | $styles->add_data( $rtl_style, 'suffix', $suffix ); |
| 1831 | } |
| 1832 | } |