Changeset 11383 for trunk/wp-admin/includes/theme-install.php
- Timestamp:
- 05/18/2009 04:00:33 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/theme-install.php
r11380 r11383 310 310 ?> 311 311 <a class='thickbox thickbox-preview screenshot' 312 href='<? echo clean_url($preview_link); ?>'312 href='<? echo esc_url($preview_link); ?>' 313 313 title='<?php echo esc_attr(sprintf(__('Preview “%s”'), $name)); ?>'> 314 <img src='<?php echo clean_url($theme->screenshot_url); ?>' width='150' />314 <img src='<?php echo esc_url($theme->screenshot_url); ?>' width='150' /> 315 315 </a> 316 316 <h3><?php echo $name ?></h3> … … 375 375 <div class="alignleft actions"><?php do_action('install_themes_table_header'); ?></div> 376 376 <?php 377 $url = clean_url($_SERVER['REQUEST_URI']);377 $url = esc_url($_SERVER['REQUEST_URI']); 378 378 if ( ! empty($term) ) 379 379 $url = add_query_arg('s', $term, $url); … … 503 503 504 504 <div class='available-theme'> 505 <img src='<?php echo clean_url($api->screenshot_url) ?>' width='300' class="theme-preview-img" />505 <img src='<?php echo esc_url($api->screenshot_url) ?>' width='300' class="theme-preview-img" /> 506 506 <h3><?php echo $api->name; ?></h3> 507 507 <p><?php printf(__('by %s'), $api->author); ?></p>
Note: See TracChangeset
for help on using the changeset viewer.