Some extra XSS protection. Redundant, but we should always escape late! see #11119
git-svn-id: https://develop.svn.wordpress.org/trunk@12169 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
27da9f3013
commit
292e5394a4
@ -582,7 +582,7 @@ var photostorage = false;
|
|||||||
echo '<p>';
|
echo '<p>';
|
||||||
if ( $selection )
|
if ( $selection )
|
||||||
_e('via ');
|
_e('via ');
|
||||||
echo "<a href='$url'>$title</a>.</p>";
|
printf( "<a href='%s'>%s</a>.</p>", esc_url( $url ), esc_html( $title ) );
|
||||||
}
|
}
|
||||||
?></textarea>
|
?></textarea>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user