Use default_email_category. Credit: Kitten.

git-svn-id: http://svn.automattic.com/wordpress/trunk@1371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rboren 2004-05-31 15:44:32 +00:00
parent 9275cb270d
commit bc0c6ed878

View File

@ -114,7 +114,7 @@ for ($i=1; $i <= $count; $i++) :
if ($post_title == '') $post_title = $subject;
if (empty($post_categories)) $post_categories[] = get_settings('default_category');
if (empty($post_categories)) $post_categories[] = get_settings('default_email_category');
$post_title = addslashes(trim($post_title));
$content = preg_replace("|\n([^\n])|", " $1", $content);