Make WordPress Core

Changeset 2382


Ignore:
Timestamp:
02/25/2005 05:46:27 PM (20 years ago)
Author:
matt
Message:

Escape amps in links manager links - http://priyadi.net/archives/2005/02/25/wordpress-15-bugs/

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/links.php

    r2339 r2382  
    176176        }
    177177        $the_link = '#';
    178         if (($row->link_url != null) && ($row->link_url != '')) {
    179             $the_link = $row->link_url;
    180         }
     178        if ( !empty($row->link_url) )
     179            $the_link = wp_specialchars($row->link_url);
    181180        $rel = $row->link_rel;
    182181        if ($rel != '') {
Note: See TracChangeset for help on using the changeset viewer.