Generate feed and trackback rules for pages. Bug 742.

git-svn-id: https://develop.svn.wordpress.org/trunk@2146 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2005-01-25 00:23:57 +00:00
parent 74a89fbfe6
commit fc67ae3e7d
2 changed files with 18 additions and 6 deletions

View File

@@ -48,7 +48,7 @@ if ( function_exists('mb_convert_encoding') ) { // For international trackbacks
$blog_name = mb_convert_encoding($blog_name, get_settings('blog_charset'), $charset);
}
if ( is_single() )
if ( is_single() || is_page() )
$tb_id = $posts[0]->ID;
if ( !$tb_id )