Changeset 37786
- Timestamp:
- 06/21/2016 02:23:11 PM (9 years ago)
- Location:
- branches/4.3/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.3/src/wp-admin/includes/class-wp-media-list-table.php
r33270 r37786 362 362 <?php _media_states( $post ); ?> 363 363 </strong> 364 <p class="filename"><span class="screen-reader-text"><?php _e( 'File name:' ); ?> </span><?php echo wp_basename( $post->guid); ?></p>364 <p class="filename"><span class="screen-reader-text"><?php _e( 'File name:' ); ?> </span><?php echo esc_html( wp_basename( $post->guid ) ); ?></p> 365 365 <?php 366 366 } -
branches/4.3/src/wp-includes/post-template.php
r32892 r37786 1598 1598 * @param string|bool $text If string, will be link text. Default false. 1599 1599 */ 1600 return apply_filters( 'wp_get_attachment_link', "<a href=' $url'>$link_text</a>", $id, $size, $permalink, $icon, $text );1600 return apply_filters( 'wp_get_attachment_link', "<a href='" . esc_url( $url ) . "'>$link_text</a>", $id, $size, $permalink, $icon, $text ); 1601 1601 } 1602 1602
Note: See TracChangeset
for help on using the changeset viewer.