wp_editor issue with slashes and sanitizing output
-
I am using wp_editor and I want to allow to enter single or double quotes on text area. So, I am using strislashes.
if( isset( $_POST['content_area'])) $contingut = ( ($_POST['content_area'])); // needs sanitizing ??? ... $args = array( 'title' => $title, 'content_area' => $content_area, ) ; if (isset($_POST['Modify'])) { $result = $wpdb->update( $table, $args, array( 'title' => $title); } ... wp_editor( stripslashes($content), $editor_id, $settings );?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘wp_editor issue with slashes and sanitizing output’ is closed to new replies.