Make WordPress Core


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

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

Merges [24940] to the 3.6 branch.

props ocean90, wonderboymusic, azaozz.
fixes #24902.

Location:
branches/3.6
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3.6

  • branches/3.6/wp-includes/link-template.php

    r24783 r24941  
    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.