[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:41:34 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
--------------------------+----------------------
Comment (by AppFIX-DE):
Replying to [comment:8 ocean90]:
> @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' );
> }}}
Thanks for your help. I will check it.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34208#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list