Use default_email_category. Credit: Kitten.
git-svn-id: https://develop.svn.wordpress.org/trunk@1371 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
391e53ed84
commit
f4f0868e97
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user