Make WordPress Core


Ignore:
Timestamp:
05/02/2010 10:53:59 PM (16 years ago)
Author:
ryan
Message:

Escape links by default. Props alexkingorg. see #13051

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/plugin-install.php

    r14228 r14347  
    148148        foreach ( (array)$api_tags as $tag )
    149149            $tags[ $tag['name'] ] = (object) array(
    150                                     'link' => esc_url( admin_url('plugin-install.php?tab=search&type=tag&s=' . urlencode($tag['name'])) ),
     150                                    'link' => admin_url('plugin-install.php?tab=search&type=tag&s=' . urlencode($tag['name'])),
    151151                                    'name' => $tag['name'],
    152152                                    'id' => sanitize_title_with_dashes($tag['name']),
Note: See TracChangeset for help on using the changeset viewer.