Changeset 9395 for trunk/src/bp-core/bp-core-moderation.php
- Timestamp:
- 01/21/2015 11:31:10 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-moderation.php
r9392 r9395 106 106 107 107 // Allow for bumping the max to include the user's URL 108 $num_links = apply_filters( 'comment_max_links_url', $num_links, $post['url'] ); 108 if ( ! empty( $post['url'] ) ) { 109 $num_links = apply_filters( 'comment_max_links_url', $num_links, $post['url'] ); 110 } 109 111 110 112 // Das ist zu viele links! … … 182 184 // Define local variable 183 185 $post = array(); 186 187 /** Blacklist *************************************************************/ 188 189 // Get the moderation keys 190 $blacklist = trim( get_option( 'blacklist_keys' ) ); 191 192 // Bail if blacklist is empty 193 if ( empty( $blacklist ) ) { 194 return true; 195 } 184 196 185 197 /** User Data *************************************************************/ … … 207 219 $post['content'] = $content; 208 220 209 /** Blacklist *************************************************************/210 211 // Get the moderation keys212 $blacklist = trim( get_option( 'blacklist_keys' ) );213 214 // Bail if blacklist is empty215 if ( empty( $blacklist ) ) {216 return true;217 }218 219 221 /** Words *****************************************************************/ 220 222
Note: See TracChangeset
for help on using the changeset viewer.