WordPress.org

Make WordPress Core

Changeset 19832


Ignore:
Timestamp:
02/06/12 18:52:57 (3 years ago)
Author:
azaozz
Message:

Move an unsightly semicolon to where it belongs in wp_localize_script(), props tw2113, fixes #19830

File:
1 edited

Legend:

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

    r19593 r19832  
    144144 
    145145        if ( !empty($after) ) 
    146             $script .= "\n$after"; 
     146            $script .= "\n$after;"; 
    147147 
    148148        $data = $this->get_data( $handle, 'data' ); 
    149149 
    150150        if ( !empty( $data ) ) 
    151             $script = "$data;\n$script"; 
     151            $script = "$data\n$script"; 
    152152 
    153153        return $this->add_data( $handle, 'data', $script ); 
Note: See TracChangeset for help on using the changeset viewer.