[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
Fri Aug 12 22:43:59 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:  3.2
 Severity:  normal          |  Resolution:
 Keywords:                  |
----------------------------+------------------------------

Comment (by albertolau):

 Cimmo, i have the same problem. until they figure out a solution you can
 try doing all your wp_register_style in a hook that is after
 load_textdomain


 {{{
 function proof_of_concept_init(){
         wp_register_style( 'debug-handle',
 'doesntmatters/if/it/exists.css', array(),'1.0.0');
 }

 add_action('after_setup_theme','proof_of_concept_init');
 }}}

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


More information about the wp-trac mailing list