Make WordPress Core


Ignore:
Timestamp:
03/10/2015 09:19:14 PM (10 years ago)
Author:
ocean90
Message:

Customizer: Add title attributes to iframes.

props afercia.
fixes #31202.

File:
1 edited

Legend:

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

    r31597 r31704  
    390390    $scripts->add( 'customize-controls', "/wp-admin/js/customize-controls$suffix.js", array( 'customize-base' ), false, 1 );
    391391    did_action( 'init' ) && $scripts->localize( 'customize-controls', '_wpCustomizeControlsL10n', array(
    392         'activate'  => __( 'Save & Activate' ),
    393         'save'      => __( 'Save & Publish' ),
    394         'saveAlert' => __( 'The changes you made will be lost if you navigate away from this page.' ),
    395         'saved'     => __( 'Saved' ),
    396         'cancel'    => __( 'Cancel' ),
    397         'close'     => __( 'Close' ),
    398         'cheatin'   => __( 'Cheatin’ uh?' ),
     392        'activate'           => __( 'Save & Activate' ),
     393        'save'               => __( 'Save & Publish' ),
     394        'saveAlert'          => __( 'The changes you made will be lost if you navigate away from this page.' ),
     395        'saved'              => __( 'Saved' ),
     396        'cancel'             => __( 'Cancel' ),
     397        'close'              => __( 'Close' ),
     398        'cheatin'            => __( 'Cheatin’ uh?' ),
     399        'previewIframeTitle' => __( 'Site Preview' ),
     400        'loginIframeTitle'   => __( 'Session expired' ),
    399401
    400402        // Used for overriding the file types allowed in plupload.
Note: See TracChangeset for help on using the changeset viewer.