Changeset 15601
- Timestamp:
- 09/09/2010 04:42:47 AM (14 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.wp-scripts.php
r15590 r15601 109 109 110 110 /** 111 * Remove an enqueued script. 112 * 113 * @since WP 3.1 114 * @see WP_Scripts::dequeue() For parameter information. 115 */ 116 function wp_dequeue_script( $handle ) { 117 global $wp_scripts; 118 if ( !is_a($wp_scripts, 'WP_Scripts') ) 119 $wp_scripts = new WP_Scripts(); 120 121 $wp_scripts->dequeue( $handle ); 122 } 123 124 /** 111 125 * Check whether script has been added to WordPress Scripts. 112 126 * -
trunk/wp-includes/functions.wp-styles.php
r14255 r15601 107 107 108 108 /** 109 * Remove an enqueued style. 110 * 111 * @since WP 3.1 112 * @see WP_Styles::dequeue() For parameter information. 113 */ 114 function wp_dequeue_style( $handle ) { 115 global $wp_styles; 116 if ( !is_a($wp_styles, 'WP_Styles') ) 117 $wp_styles = new WP_Styles(); 118 119 $wp_styles->dequeue( $handle ); 120 } 121 122 /** 109 123 * Check whether style has been added to WordPress Styles. 110 124 *
Note: See TracChangeset
for help on using the changeset viewer.