Ticket #6980: general-template.php.diff
File general-template.php.diff, 1.1 KB (added by , 16 years ago) |
---|
-
wp-includes/general-template.php
343 343 $url = clean_url($url); 344 344 345 345 if ('link' == $format) 346 return"\t<link rel='archives' title='$title_text' href='$url' />\n";346 $return = "\t<link rel='archives' title='$title_text' href='$url' />\n"; 347 347 elseif ('option' == $format) 348 return"\t<option value='$url'>$before $text $after</option>\n";348 $return = "\t<option value='$url'>$before $text $after</option>\n"; 349 349 elseif ('html' == $format) 350 return"\t<li>$before<a href='$url' title='$title_text'>$text</a>$after</li>\n";350 $return = "\t<li>$before<a href='$url' title='$title_text'>$text</a>$after</li>\n"; 351 351 else // custom 352 return "\t$before<a href='$url' title='$title_text'>$text</a>$after\n"; 352 $return = "\t$before<a href='$url' title='$title_text'>$text</a>$after\n"; 353 354 return apply_filters("get_archives_link", $return, $url, $text, $format, $before, $after); 353 355 } 354 356 355 357