WordPress.org

Making WordPress.org

Changeset 10041


Ignore:
Timestamp:
07/09/2020 06:36:00 AM (17 months ago)
Author:
dd32
Message:

Handbooks: Correct the CSS/JS paths.

Props Nao.
See r9990.
Fixes #5313.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/handbook/inc/init.php

    r9990 r10041  
    2929
    3030    static public function enqueue_styles() {
    31         wp_enqueue_style( 'wporg-handbook-css', plugins_url( '/stylesheets/callout-boxes.css', __FILE__ ), array(), '20200121' );
     31        wp_enqueue_style( 'wporg-handbook-css', plugins_url( 'stylesheets/callout-boxes.css', WPORG_HANDBOOK_PLUGIN_FILE ), array(), '20200121' );
    3232    }
    3333
    3434    static public function enqueue_scripts() {
    35         wp_enqueue_script( 'wporg-handbook', plugins_url( '/scripts/handbook.js', __FILE__ ), array( 'jquery' ), '20150930' );
     35        wp_enqueue_script( 'wporg-handbook', plugins_url( 'scripts/handbook.js', WPORG_HANDBOOK_PLUGIN_FILE ), array( 'jquery' ), '20150930' );
    3636    }
    3737
Note: See TracChangeset for help on using the changeset viewer.