Changeset 5015 for sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/plugins/wordpresstv-anon-upload/anon-upload.php
- Timestamp:
- 02/28/2017 12:35:50 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/plugins/wordpresstv-anon-upload/anon-upload.php
r1725 r5015 56 56 // Normal users won't see the honeypot field, so if there's a value in it, then we can assume the submission is spam from a bot 57 57 if ( ! isset( $_POST['wptv_honey'] ) || ! empty( $_POST['wptv_honey'] ) ) { 58 if ( function_exists( 'bump_stats_extras' ) ) { 59 bump_stats_extras( 'wptv-spam', 'honeypot_trapped_anon_upload' ); 60 } 58 bump_stats_extras( 'wptv-spam', 'honeypot_trapped_anon_upload' ); 61 59 62 60 return $this->error( 13 ); … … 160 158 161 159 function error( $msg ) { 160 bump_stats_extras( 'wptv-errors', 'video-upload-failed' ); 162 161 $this->errors = $msg; 163 162
Note: See TracChangeset
for help on using the changeset viewer.