Changeset 7960
- Timestamp:
- 05/20/2008 04:44:01 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.5/wp-includes/general-template.php
r7562 r7960 344 344 345 345 if ('link' == $format) 346 return"\t<link rel='archives' title='$title_text' href='$url' />\n";346 $link_html = "\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 $link_html = "\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 $link_html = "\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 $link_html = "\t$before<a href='$url' title='$title_text'>$text</a>$after\n"; 353 354 $link_html = apply_filters( "get_archives_link", $link_html ); 355 356 return $link_html; 353 357 } 354 358
Note: See TracChangeset
for help on using the changeset viewer.