mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-04 22:57:20 +00:00
Deprecate sanitize_url() and clean_url() in favor of esc_url_raw() and esc_url()
git-svn-id: https://develop.svn.wordpress.org/trunk@11383 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
+1
-1
@@ -872,7 +872,7 @@ function wp_rss( $url, $num_items = -1 ) {
|
||||
foreach ( (array) $rss->items as $item ) {
|
||||
printf(
|
||||
'<li><a href="%1$s" title="%2$s">%3$s</a></li>',
|
||||
clean_url( $item['link'] ),
|
||||
esc_url( $item['link'] ),
|
||||
esc_attr( strip_tags( $item['description'] ) ),
|
||||
htmlentities( $item['title'] )
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user