Support timestamp permalinks. Make wider use of is_single(). Bug 0000194.

git-svn-id: https://develop.svn.wordpress.org/trunk@1491 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2004-07-28 02:43:54 +00:00
parent d605d2aa6f
commit fdaf705b04
6 changed files with 17 additions and 9 deletions

View File

@@ -15,7 +15,7 @@ if (! $doing_trackback) {
require('wp-blog-header.php');
}
if ( (($p != '') && ($p != 'all')) || ($name != '') ) {
if (is_single()) {
$tb_id = $posts[0]->ID;
}