mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Escape links by default. Props alexkingorg. see #13051
git-svn-id: https://develop.svn.wordpress.org/trunk@14347 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -147,7 +147,7 @@ function install_dashboard() {
|
||||
$tags = array();
|
||||
foreach ( (array)$api_tags as $tag )
|
||||
$tags[ $tag['name'] ] = (object) array(
|
||||
'link' => esc_url( admin_url('plugin-install.php?tab=search&type=tag&s=' . urlencode($tag['name'])) ),
|
||||
'link' => admin_url('plugin-install.php?tab=search&type=tag&s=' . urlencode($tag['name'])),
|
||||
'name' => $tag['name'],
|
||||
'id' => sanitize_title_with_dashes($tag['name']),
|
||||
'count' => $tag['count'] );
|
||||
|
||||
Reference in New Issue
Block a user