Changeset 14633
- Timestamp:
- 05/14/2010 03:03:59 PM (14 years ago)
- Location:
- trunk/wp-admin/includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/media.php
r14618 r14633 380 380 381 381 function _media_button($title, $icon, $type) { 382 return "<a href='" . get_upload_iframe_src($type) . "' id='add_$type' class='thickbox' title='$title'><img src='" . esc_url( admin_url( $icon ) ) . "' alt='$title' /></a>";382 return "<a href='" . esc_url( get_upload_iframe_src($type) ) . "' id='add_$type' class='thickbox' title='$title'><img src='" . esc_url( admin_url( $icon ) ) . "' alt='$title' /></a>"; 383 383 } 384 384 -
trunk/wp-admin/includes/post.php
r14593 r14633 1144 1144 global $content_width, $_wp_additional_image_sizes; 1145 1145 1146 $set_thumbnail_link = '<p class="hide-if-no-js"><a title="' . esc_attr__( 'Set featured image' ) . '" href="' . get_upload_iframe_src('image') . '" id="set-post-thumbnail" class="thickbox">%s</a></p>';1146 $set_thumbnail_link = '<p class="hide-if-no-js"><a title="' . esc_attr__( 'Set featured image' ) . '" href="' . esc_url( get_upload_iframe_src('image') ) . '" id="set-post-thumbnail" class="thickbox">%s</a></p>'; 1147 1147 $content = sprintf($set_thumbnail_link, esc_html__( 'Set featured image' )); 1148 1148
Note: See TracChangeset
for help on using the changeset viewer.