[wp-trac] [WordPress Trac] #17916: wp_register_style makes the RTL to be lost in some CSS files

WordPress Trac wp-trac at lists.automattic.com
Tue Jun 28 00:29:49 UTC 2011


#17916: wp_register_style makes the RTL to be lost in some CSS files
----------------------------+-----------------------------
 Reporter:  Cimmo           |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:
 Severity:  normal          |   Keywords:
----------------------------+-----------------------------
 In my plugin I have this include:
 wp_register_style("cimy_uef_register",
 $cuef_css_webpath."/cimy_uef_register.css", false, false);

 now independently where and when I use the above css, even if I never
 enqueue or print it... it basically forces the admin panel to be always
 left instead of the right.

 In particular it changes the admin panel menu #adminmenu to stick to the
 left, also other little things.
 The question is:
 why this happens even if the CSS is not included at all? Browsing the
 documentation quickly on that function I didn't find anything useful,
 please help me.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17916>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list