]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/class-wp-customize-control.php
Wordpress 3.6
[autoinstalls/wordpress.git] / wp-includes / class-wp-customize-control.php
index d24a5f2e7c4e7b6096a06e7aa1f3047834d9058f..fde8561584e9cb1f9c2cc2e68a3227c3baf0a525 100644 (file)
@@ -384,7 +384,7 @@ class WP_Customize_Color_Control extends WP_Customize_Control {
                <label>
                        <span class="customize-control-title"><?php echo esc_html( $this->label ); ?></span>
                        <div class="customize-control-content">
-                               <input class="color-picker-hex" type="text" maxlength="7" placeholder="<?php esc_attr_e( 'Hex Value' ); ?>"<?php echo $default_attr ?> />
+                               <input class="color-picker-hex" type="text" maxlength="7" placeholder="<?php esc_attr_e( 'Hex Value' ); ?>"<?php echo $default_attr; ?> />
                        </div>
                </label>
                <?php
@@ -593,9 +593,7 @@ class WP_Customize_Image_Control extends WP_Customize_Upload_Control {
         */
        public function tab_upload_new() {
                if ( ! _device_can_upload() ) {
-                       ?>
-                       <p><?php _e('The web browser on your device cannot be used to upload files. You may be able to use the <a href="http://wordpress.org/extend/mobile/">native app for your device</a> instead.'); ?></p>
-                       <?php
+                       echo '<p>' . sprintf( __('The web browser on your device cannot be used to upload files. You may be able to use the <a href="%s">native app for your device</a> instead.'), 'http://wordpress.org/mobile/' ) . '</p>';
                } else {
                        ?>
                        <div class="upload-dropzone">