Changeset 6531
- Timestamp:
- 06/12/2017 07:54:01 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/core/template-functions.php
r6503 r6531 173 173 174 174 // Enqueue the style 175 wp_enqueue_style( $handle, $located, $deps, $ver, $media ); 175 wp_register_style( $handle, $located, $deps, $ver, $media ); 176 177 // Register the style 178 wp_enqueue_style( $handle ); 176 179 } 177 180 … … 240 243 $located = str_replace( $content_dir, content_url(), $located ); 241 244 245 // Register the style 246 wp_register_script( $handle, $located, $deps, $ver, $in_footer ); 247 242 248 // Enqueue the style 243 wp_enqueue_script( $handle , $located, $deps, $ver, $in_footer);249 wp_enqueue_script( $handle ); 244 250 } 245 251
Note: See TracChangeset
for help on using the changeset viewer.