[wp-trac] [WordPress Trac] #10759: Bug: wp_register_style does not allow stylesheets with parameters
WordPress Trac
wp-trac at lists.automattic.com
Wed Sep 9 11:36:44 UTC 2009
#10759: Bug: wp_register_style does not allow stylesheets with parameters
--------------------------+-------------------------------------------------
Reporter: mark8barnes | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.9
Component: General | Version: 2.8.4
Severity: normal | Keywords: WP_Styles, wp_register_style, parameters
--------------------------+-------------------------------------------------
Sometimes its useful to use PHP to generate stylesheets. Unfortunately,
it's not possible to pass parameters to the stylesheets because
wp_register_style gets confused. For example:
`wp_register_style('sb_style', get_option('siteurl').'?sermon-browser-
style', false, $version);`
generates
`http://domain.com?sb_style&ver=1252494619`
rather than
`http://domain.com?sb_style&ver=1252494619`
The bug is presumably in WP_Styles
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10759>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list