[wp-trac] [WordPress Trac] #34208: is_rtl() does not work in Plugin with own Themes
WordPress Trac
noreply at wordpress.org
Thu Oct 8 10:45:23 UTC 2015
#34208: is_rtl() does not work in Plugin with own Themes
-------------------------------+------------------------------
Reporter: AppFIX-DE | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Plugins | Version: 4.3.1
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses: rtl
-------------------------------+------------------------------
Comment (by AppFIX-DE):
@ocean90
@mark-k
In this Plugin you can use two themes at the same time. If you put
domain.de it show Theme A and if you put domain.de/?system=app it show
Theme B. And if i install the Plugin the function work but he can't find
the function is_rtl() and i get a white screen in the backend.
If i change the wp-includes/theme.php "if ( is_rtl() )" to "if (
function_exists( 'is_rtl' ) && is_rtl() )" it's work.
I think it's a Bug from Wordpress side.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34208#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list