Comments: Trash blacklisted comments by default.
If trash is disabled, they wil continue to go into spam like they do now. props wonderboymusic, solarissmoke, MikeHansenMe. fixes #7051. Built from https://develop.svn.wordpress.org/trunk@34726 git-svn-id: http://core.svn.wordpress.org/trunk@34690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -673,7 +673,7 @@ function wp_allow_comment( $commentdata ) {
|
||||
$commentdata['comment_author_IP'],
|
||||
$commentdata['comment_agent']
|
||||
) ) {
|
||||
$approved = 'spam';
|
||||
$approved = EMPTY_TRASH_DAYS ? 'trash' : 'spam';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.4-alpha-34725';
|
||||
$wp_version = '4.4-alpha-34726';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
||||
Reference in New Issue
Block a user