Make WordPress Core

Changeset 6218


Ignore:
Timestamp:
10/10/2007 06:51:12 PM (17 years ago)
Author:
ryan
Message:

Output localized strings before outputting js. Props mdawaffe. fixes #5177 for trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/script-loader.php

    r6213 r6218  
    180180                    $src = add_query_arg('ver', $ver, $src);
    181181                    $src = clean_url(apply_filters( 'script_loader_src', $src ));
     182                    $this->print_scripts_l10n( $handle );
    182183                    echo "<script type='text/javascript' src='$src'></script>\n";
    183                     $this->print_scripts_l10n( $handle );
    184184                }
    185185                $this->printed[] = $handle;
Note: See TracChangeset for help on using the changeset viewer.