Possibly a mistake in frontend-uploader.php
-
On line 298, is this wrong:
'post_content' => empty( $caption ) ? __( 'Unnamed', 'frontend-uploader' ) : $caption,
It prints the
caption
in description field in media files I upload instead ofpost_content
.
When I change into it prints correctly!'post_content' => empty( $caption ) ? __( 'Unnamed', 'frontend-uploader' ) : sanitize_text_field( $_POST['post_content'] );,
- The topic ‘Possibly a mistake in frontend-uploader.php’ is closed to new replies.