Changeset 25949 for trunk/src/wp-includes/script-loader.php
- Timestamp:
- 10/27/2013 05:50:38 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/script-loader.php
r25839 r25949 691 691 * 692 692 * @since 2.8 693 * 693 694 * @see wp_print_scripts() 694 695 */ … … 696 697 global $wp_scripts, $concatenate_scripts; 697 698 698 if ( ! did_action('wp_print_scripts') ) 699 do_action('wp_print_scripts'); 699 if ( ! did_action('wp_print_scripts') ) { 700 /** This action is documented in wp-includes/functions.wp-scripts.php */ 701 do_action( 'wp_print_scripts' ); 702 } 700 703 701 704 if ( !is_a($wp_scripts, 'WP_Scripts') ) … … 775 778 */ 776 779 function wp_print_head_scripts() { 777 if ( ! did_action('wp_print_scripts') ) 778 do_action('wp_print_scripts'); 780 if ( ! did_action('wp_print_scripts') ) { 781 /** This action is documented in wp-includes/functions.wp-scripts.php */ 782 do_action( 'wp_print_scripts' ); 783 } 779 784 780 785 global $wp_scripts;
Note: See TracChangeset
for help on using the changeset viewer.