Changeset 20864 for trunk/wp-includes/theme.php
- Timestamp:
- 05/24/2012 03:29:51 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/theme.php
r20852 r20864 1590 1590 */ 1591 1591 function _wp_customize_loader_localize() { 1592 $l10n = array( 'url' => admin_url( 'admin.php' ) ); 1593 1594 if ( is_admin() ) 1595 $l10n[ 'back' ] = sprintf( __( '← Return to %s' ), get_admin_page_title() ); 1596 1597 wp_localize_script( 'customize-loader', 'wpCustomizeLoaderL10n', $l10n ); 1592 wp_localize_script( 'customize-loader', 'wpCustomizeLoaderL10n', array( 1593 'url' => admin_url( 'admin.php' ), 1594 ) ); 1598 1595 } 1599 1596 add_action( 'admin_enqueue_scripts', '_wp_customize_loader_localize' );
Note: See TracChangeset
for help on using the changeset viewer.