Changeset 11383 for trunk/wp-admin/includes/plugin-install.php
- Timestamp:
- 05/18/2009 04:00:33 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/plugin-install.php
r11362 r11383 139 139 foreach ( (array)$api_tags as $tag ) 140 140 $tags[ $tag['name'] ] = (object) array( 141 'link' => clean_url( admin_url('plugin-install.php?tab=search&type=tag&s=' . urlencode($tag['name'])) ),141 'link' => esc_url( admin_url('plugin-install.php?tab=search&type=tag&s=' . urlencode($tag['name'])) ), 142 142 'name' => $tag['name'], 143 143 'id' => sanitize_title_with_dashes($tag['name']), … … 274 274 </div> 275 275 <?php 276 $url = clean_url($_SERVER['REQUEST_URI']);276 $url = esc_url($_SERVER['REQUEST_URI']); 277 277 if ( ! empty($term) ) 278 278 $url = add_query_arg('s', $term, $url); … … 428 428 $class = ( $section_name == $section ) ? ' class="current"' : ''; 429 429 $href = add_query_arg( array('tab' => $tab, 'section' => $section_name) ); 430 $href = clean_url($href);430 $href = esc_url($href); 431 431 $san_title = esc_attr(sanitize_title_with_dashes($title)); 432 432 echo "\t<li><a name='$san_title' target='' href='$href'$class>$title</a></li>\n";
Note: See TracChangeset
for help on using the changeset viewer.