Make WordPress Core


Ignore:
Timestamp:
10/18/2014 08:10:47 PM (10 years ago)
Author:
SergeyBiryukov
Message:

Use proper functions for escaped translations.

pros jcastaneda.
fixes #30012.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/press-this.php

    r29334 r29961  
    150150
    151151            <p class="centered">
    152                 <input type="hidden" name="this_photo" value="<?php echo esc_attr($image); ?>" id="tb_this_photo" class="tb_this_photo" />
     152                <input type="hidden" name="this_photo" value="<?php echo esc_attr( $image ); ?>" id="tb_this_photo" class="tb_this_photo" />
    153153                <a href="#" class="select">
    154                     <img src="<?php echo esc_url($image); ?>" alt="<?php echo esc_attr(__('Click to insert.')); ?>" title="<?php echo esc_attr(__('Click to insert.')); ?>" />
     154                    <img src="<?php echo esc_url( $image ); ?>" alt="<?php esc_attr_e( 'Click to insert.' ); ?>" title="<?php esc_attr_e( 'Click to insert.' ); ?>" />
    155155                </a>
    156156            </p>
Note: See TracChangeset for help on using the changeset viewer.