Make WordPress Core


Ignore:
Timestamp:
08/01/2013 01:15:14 PM (11 years ago)
Author:
nacin
Message:

Pass pluginPath to MediaElement.js, fixing playback when ME.js is served through load-scripts.php.

props ocean90, wonderboymusic, azaozz.
fixes #24902.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/link-template.php

    r24844 r24940  
    20212021 *
    20222022 * @param string $path Optional. Path relative to the includes url.
     2023 * @param string $scheme Optional. Scheme to give the includes url context.
    20232024 * @return string Includes url link with optional path appended.
    20242025*/
    2025 function includes_url($path = '') {
    2026     $url = site_url() . '/' . WPINC . '/';
     2026function includes_url( $path = '', $scheme = null ) {
     2027    $url = site_url( '/' . WPINC . '/', $scheme );
    20272028
    20282029    if ( $path && is_string( $path ) )
Note: See TracChangeset for help on using the changeset viewer.