Make WordPress Core


Ignore:
Timestamp:
07/31/2011 09:11:24 AM (14 years ago)
Author:
azaozz
Message:

Bring back wp_localize_script(), see #11520

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/deprecated.php

    r18464 r18490  
    26172617}
    26182618
    2619 /**
    2620  * Localizes a script.
    2621  *
    2622  * Localizes only if script has already been added.
    2623  *
    2624  * @since r16
    2625  * @deprecated WP 3.3
    2626  * @see wp_add_script_data()
    2627  */
    2628 function wp_localize_script( $handle, $object_name, $l10n ) {
    2629     _deprecated_function( __FUNCTION__, '3.3', 'wp_add_script_data()' );
    2630     return wp_add_script_data( $handle, $object_name, $l10n );
    2631 }
    2632 
Note: See TracChangeset for help on using the changeset viewer.