Correctly add args to strings that contain only a query string and not a full URI.

git-svn-id: https://develop.svn.wordpress.org/trunk@2227 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2005-02-06 03:40:08 +00:00
parent bd9b765b38
commit e90040e79b
9 changed files with 32 additions and 32 deletions

View File

@@ -31,7 +31,7 @@ function the_ID() {
function the_title($before = '', $after = '', $echo = true) {
$title = get_the_title();
if (!empty($title)) {
$title = apply_filters('the_title', $before . $title . $after);
$title = apply_filters('the_title', $before . $title . $after, $before, $after);
if ($echo)
echo $title;
else