Commit Graph

17 Commits

Author SHA1 Message Date
ryan
62afab8db3 Pinking shears
git-svn-id: http://svn.automattic.com/wordpress/trunk@19054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-24 19:13:23 +00:00
nacin
51ca772adf Call _doing_it_wrong() individually in wp_scripts and wp_styles functions. Partially reverts [18556], [18557], removes wp_styles_init(), wp_scripts_init(). fixes #11526.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-17 21:02:43 +00:00
azaozz
7140ac9bf4 Don't call debug_backtrace() in wp_scripts_init() and wp_styles_init(), props dd32, see #11526
git-svn-id: http://svn.automattic.com/wordpress/trunk@18557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-17 06:26:41 +00:00
azaozz
e5e90d732b Add _doing_it_wrong() when a plugin or theme accesses $wp_scripts or $wp_styles too early (also fixes localization), props SergeyBiryukov, fixes #11526
git-svn-id: http://svn.automattic.com/wordpress/trunk@18556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-17 05:48:13 +00:00
azaozz
23b9d7759a Introduce WP_Dependencies::get_data() method, change scripts and styles priority to follow the "natural" order in HTML, i.e. the last one wins, props scribu, see #11520
git-svn-id: http://svn.automattic.com/wordpress/trunk@18480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-28 18:24:00 +00:00
azaozz
21058cf460 Use json_encode() for adding script data (formerly l10n). Add the same functionality to WP_Styles for adding inline css after a stylesheet has been outputted. See #11520
git-svn-id: http://svn.automattic.com/wordpress/trunk@18464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-25 00:36:06 +00:00
markjaquith
ab8bf0a05e wp_dequeue_script() and wp_dequeue_style(). fixes #14815. props scribu
git-svn-id: http://svn.automattic.com/wordpress/trunk@15601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-09 04:42:47 +00:00
nacin
9d7ec92745 Have media default to 'all', not false, in wp_enqueue_style. props koopersmith, fixes #13056.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-27 20:04:23 +00:00
azaozz
7b40c7a03f WP_Dependencies: pass NULL to disable script and style version query strings, props scribu amattie, fixes #11315
git-svn-id: http://svn.automattic.com/wordpress/trunk@12558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-28 00:48:20 +00:00
westi
8a80bffbae phpDoc updates for functions.wp-styles.php. Merge from BackPress props CharlesClarkson.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-24 08:21:16 +00:00
azaozz
f4c520ff02 Fix typo in wp_style_is(), props Denis-de-Bernardy, fixes #10283 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-27 06:55:49 +00:00
westi
788ba1ea2a Expose the ability to find out if styles, scripts have already been queued. Fixes #6197 props jacobsantos
git-svn-id: http://svn.automattic.com/wordpress/trunk@10572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-15 11:04:42 +00:00
westi
21535e1cb8 Default media type to all. Fixes #8000 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-29 22:17:54 +00:00
ryan
3fc6097a5a phpdoc corrections from jacobsantos. see #7918
git-svn-id: http://svn.automattic.com/wordpress/trunk@9243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-18 20:46:30 +00:00
westi
6a527db989 phpdoc updates for wp-includes See #7550 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-27 10:06:18 +00:00
ryan
0c9006cc2d Typo fix
git-svn-id: http://svn.automattic.com/wordpress/trunk@8050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-04 20:21:02 +00:00
ryan
e9aa24cffb Style loader from mdawaffe. see #7011
git-svn-id: http://svn.automattic.com/wordpress/trunk@7970 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-21 05:56:04 +00:00