Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I am not sure if this is an issue with Wordpress, PHP or the Attachments Plugin.

I am using the Attachments plugin to save attachments to a post with some meta information. One of which is a caption which is a textarea.

When I put multiple lines separated by a newline character and press Publish, when the page comes up again the contents of the textarea display \n in the textarea (an actual backslash and the character n), instead of putting a line break.

I am not sure if this is a PHP configuration issue (maybe something to do with escaping database queries?), or a wordpress issue, or an issue just related to this plugin.

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.