WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/10/2010 09:53:30 PM (8 years ago)
Author:
westi
Message:

Move the l10n helper function into a seperate js file so we can always output it first.
Fixes #15124.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class.wp-scripts.php

    r12559 r16282  
    184184            return true;
    185185
     186        if ( 0 === strpos( $src, '/wp-includes/js/l10n' ) )
     187            return false;
     188           
    186189        foreach ( (array) $this->default_dirs as $test ) {
    187190            if ( 0 === strpos($src, $test) )
Note: See TracChangeset for help on using the changeset viewer.