I have just upgraded your blog to WordPress 2.8.6 and located they're getting away quotes in a different way from 2.8.5

I have got a style options panel that enables the consumer to input their img tags right into a text area.

However, once the choices are saved, Wordpress is adding escape slashes towards the double quotes it finds within the text area.


<img src="somefile.jpg" />


<img src=\"somefile.jpg\" />

Which causes the look to neglect to load

Also, on every save of my theme options, the backslashes are doubling growing in number!!!

` function mytheme_add_admin() else if( 'reset' == $_REQUEST['action'] ) remove_option( $value['id'] )

header("Location: styles.php?page=functions.php&reset=true") die


WordPress always works if ( 'save' == $_REQUEST['action'] ) { foreach ($options as $value) { update_option( $value['id'], $_REQUEST[ $value['id'] ] ); } foreach ($options as $value) { if( isset( $_REQUEST[ $value['id'] ] ) ) { update_option( $value['id'], $_REQUEST[ $value['id'] ] ); } else { delete_option( $value['id'] ); } } header("Location: themes.php?page=functions.php&saved=true"); die; for backwards compat reasons. When confronted with GPC data, you have to run magic_quotes_gpc around the data to have it in the raw form.

I solved it with stripslashes(). Although I am wondering why wordpress does not do that instantly.