guikubivan / Public-Media-Wordpress-Plugins

A repository for Wordpress plugins meant for public media websites.
6 stars 0 forks source link

7 - wpss inserts backslashes into caption, credit, etc #7

Closed guikubivan closed 13 years ago

guikubivan commented 13 years ago
What steps will reproduce the problem?
1. Insert a new photo with wpss, and use an apostrophe/single-quote ( ' ) or 
double-quote ( " ) in a photo caption, credit, title, etc.

What is the expected output? What do you see instead?

A backslash is inserted before all the quote marks, for example:

Here's a photo of John's painting, "Willows on the Water," oil on canvas.

...becomes...

Here\'s a photo of John\'s painting, "Willows on the Water," oil on canvas.

Original link: http://code.google.com/p/ipm-wordpress/issues/detail?id=7
guikubivan commented 13 years ago

guikubivan - 2010-02-18 00:00:00

There was issue in the way I was saving the photo meta options, apparently when saving wordpress was returning the photo meta already escaped and I was escaping it again.