[wp-trac] [WordPress Trac] #34208: is_rtl() does not work in Plugin with own Themes
WordPress Trac
noreply at wordpress.org
Thu Oct 8 11:23:39 UTC 2015
#34208: is_rtl() does not work in Plugin with own Themes
--------------------------+----------------------
Reporter: AppFIX-DE | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Plugins | Version: 4.3.1
Severity: normal | Resolution: invalid
Keywords: | Focuses: rtl
--------------------------+----------------------
Changes (by ocean90):
* keywords: reporter-feedback =>
* status: new => closed
* resolution: => invalid
* milestone: Awaiting Review =>
Comment:
@AppFIX-DE: Please add `add_editor_style()` into a callback for the
`after_setup_theme` hook.
{{{
function trac34208_after_setup_theme() {
add_editor_style();
}
add_action( 'after_setup_theme', 'trac34208_after_setup_theme' );
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34208#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list