mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 09:07:59 +01:00
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:
parent
9275cb270d
commit
bc0c6ed878
@ -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