Changeset 34726
- Timestamp:
- 10/01/2015 01:48:14 AM (9 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/options-discussion.php
r34561 r34726 159 159 <th scope="row"><?php _e('Comment Blacklist'); ?></th> 160 160 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Comment Blacklist'); ?></span></legend> 161 <p><label for="blacklist_keys"><?php _e('When a comment contains any of these words in its content, name, URL, email, or IP, it will be marked as spam. One word or IP per line. It will match inside words, so “press” will match “WordPress”.'); ?></label></p>161 <p><label for="blacklist_keys"><?php _e('When a comment contains any of these words in its content, name, URL, email, or IP, it will be put in the trash. One word or IP per line. It will match inside words, so “press” will match “WordPress”.'); ?></label></p> 162 162 <p> 163 163 <textarea name="blacklist_keys" rows="10" cols="50" id="blacklist_keys" class="large-text code"><?php echo esc_textarea( get_option( 'blacklist_keys' ) ); ?></textarea> -
trunk/src/wp-includes/comment-functions.php
r34711 r34726 674 674 $commentdata['comment_agent'] 675 675 ) ) { 676 $approved = 'spam';676 $approved = EMPTY_TRASH_DAYS ? 'trash' : 'spam'; 677 677 } 678 678 }
Note: See TracChangeset
for help on using the changeset viewer.