Changeset 677 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/functions.php
- Timestamp:
- 06/05/2014 09:46:52 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/functions.php
r676 r677 344 344 wp_enqueue_script( 'wporg-developer-skip-link-focus-fix', get_template_directory_uri() . '/js/skip-link-focus-fix.js', array(), '20130115', true ); 345 345 346 if ( 'wp-parser-function' === get_post_type() || 'wp-parser-method' === get_post_type() ) {346 if ( post_type_has_source_code() ) { 347 347 wp_enqueue_script( 'wporg-developer-function-reference', get_template_directory_uri() . '/js/function-reference.js', array( 'jquery', 'syntaxhighlighter-core', 'syntaxhighlighter-brush-php' ), '20140515', true ); 348 348 wp_enqueue_style( 'syntaxhighlighter-core' );
Note: See TracChangeset
for help on using the changeset viewer.