Changeset 5320
- Timestamp:
- 03/12/2014 08:57:44 PM (12 years ago)
- File:
-
- 1 edited
-
trunk/src/includes/extend/akismet.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/extend/akismet.php
r5185 r5320 360 360 $post_data['user_agent'] = $_SERVER['HTTP_USER_AGENT']; 361 361 362 // Akismet Test Mode363 if ( akismet_test_mode() )364 $post_data['is_test'] = 'true';365 366 362 // Loop through _POST args and rekey strings 367 foreach ( $_POST as $key => $value ) 368 if ( is_string( $value ) ) 363 foreach ( $_POST as $key => $value ) { 364 if ( is_string( $value ) ) { 369 365 $post_data['POST_' . $key] = $value; 366 } 367 } 370 368 371 369 // Keys to ignore … … 386 384 387 385 // Ready... 388 foreach ( $post_data as $key => $data ) 386 foreach ( $post_data as $key => $data ) { 389 387 $query_string .= $key . '=' . urlencode( stripslashes( $data ) ) . '&'; 388 } 390 389 391 390 // Aim...
Note: See TracChangeset
for help on using the changeset viewer.