Ticket #3392: 3392.diff
File 3392.diff, 749 bytes (added by , 7 years ago) |
---|
-
wp-content/themes/wptv2/plugins/wordpresstv-anon-upload/anon-upload.php
213 213 $anon_post = get_default_post_to_edit( 'post' ); // without saving auto-draft 214 214 $anon_post = get_object_vars( $anon_post ); 215 215 216 $anon_post['post_title'] = 'Uploaded video';216 $anon_post['post_title'] = $this->sanitize_text( $_posted['wptv_video_title'] ); 217 217 $anon_post['post_excerpt'] = ''; 218 218 $anon_post['post_author'] = $this->drafts_author; 219 219 $anon_post['post_status'] = 'pending';