Making WordPress.org

Ticket #4517: 4517.patch

File 4517.patch, 1.2 KB (added by imath, 5 years ago)
  • wordpress.org/public_html/wp-content/themes/pub/wporg-developer/functions.php

    diff --git wordpress.org/public_html/wp-content/themes/pub/wporg-developer/functions.php wordpress.org/public_html/wp-content/themes/pub/wporg-developer/functions.php
    index cd15c4a98..d882cef92 100644
    function theme_scripts_styles() { 
    356356        wp_enqueue_script( 'wporg-developer-navigation', get_template_directory_uri() . '/js/navigation.js', array(), '20181209', true );
    357357        wp_enqueue_script( 'wporg-developer-skip-link-focus-fix', get_template_directory_uri() . '/js/skip-link-focus-fix.js', array(), '20130115', true );
    358358        wp_enqueue_script( 'wporg-developer-search', get_template_directory_uri() . '/js/search.js', array(), '20150430', true );
    359         wp_enqueue_script( 'wporg-developer-chapters', get_stylesheet_directory_uri() . '/js/chapters.js', array( 'jquery' ), '20190603' );
     359        wp_enqueue_script( 'wporg-developer-chapters', get_template_directory_uri() . '/js/chapters.js', array( 'jquery' ), '20190603' );
    360360        wp_enqueue_script( 'wporg-developer-menu', get_template_directory_uri() . '/js/menu.js', array( 'jquery' ), '20180201', true );
    361361}
    362362