Changeset 5176
- Timestamp:
- 03/28/2017 01:13:16 AM (9 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory
- Files:
-
- 2 edited
-
class-template.php (modified) (1 diff)
-
shortcodes/class-screenshots.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-template.php
r5037 r5176 396 396 } 397 397 398 return esc_url ( $url );398 return esc_url_raw( $url ); 399 399 } 400 400 -
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-screenshots.php
r4765 r5176 32 32 foreach ( $screen_shots as $image ) { 33 33 $screen_shot = sprintf( '<a href="%1$s" rel="nofollow"><img class="screenshot" src="%1$s" alt="" /></a>', 34 Template::get_asset_url( $plugin, $image)34 esc_url( Template::get_asset_url( $plugin, $image ) ) 35 35 ); 36 36
Note: See TracChangeset
for help on using the changeset viewer.