@@ -50,7 +50,7 @@ function add_magic_quotes($array) {
5050 $ content = format_to_post ($ content );
5151 $ excerpt = balanceTags ($ _POST ['excerpt ' ]);
5252 $ excerpt = format_to_post ($ excerpt );
53- $ post_title = addslashes ( $ _POST ['post_title ' ]) ;
53+ $ post_title = $ _POST ['post_title ' ];
5454 $ post_categories = $ _POST ['post_category ' ];
5555 if (get_settings ('use_geo_positions ' )) {
5656 $ latstr = $ _POST ['post_latf ' ];
@@ -68,7 +68,7 @@ function add_magic_quotes($array) {
6868 if (empty ($ comment_status )) $ comment_status = get_settings ('default_comment_status ' );
6969 $ ping_status = $ _POST ['ping_status ' ];
7070 if (empty ($ ping_status )) $ ping_status = get_settings ('default_ping_status ' );
71- $ post_password = addslashes ( stripslashes ( $ _POST ['post_password ' ])) ;
71+ $ post_password = $ _POST ['post_password ' ];
7272
7373 if (empty ($ post_name ))
7474 $ post_name = sanitize_title ($ post_title );
@@ -278,7 +278,7 @@ function add_magic_quotes($array) {
278278 $ content = format_to_post ($ content );
279279 $ excerpt = balanceTags ($ _POST ['excerpt ' ]);
280280 $ excerpt = format_to_post ($ excerpt );
281- $ post_title = addslashes ( $ _POST ['post_title ' ]) ;
281+ $ post_title = $ _POST ['post_title ' ];
282282 if (get_settings ('use_geo_positions ' )) {
283283 $ latf = floatval ($ _POST ["post_latf " ]);
284284 $ lonf = floatval ($ _POST ["post_lonf " ]);
@@ -301,7 +301,7 @@ function add_magic_quotes($array) {
301301 $ ping_status = $ _POST ['ping_status ' ];
302302 if (empty ($ ping_status )) $ ping_status = 'closed ' ;
303303 //if (!$_POST['ping_status']) $ping_status = get_settings('default_ping_status');
304- $ post_password = addslashes ( $ _POST ['post_password ' ]) ;
304+ $ post_password = $ _POST ['post_password ' ];
305305 $ post_name = sanitize_title ($ _POST ['post_name ' ]);
306306 if (empty ($ post_name )) $ post_name = sanitize_title ($ post_title );
307307 $ trackback = $ _POST ['trackback_url ' ];
@@ -670,9 +670,6 @@ function add_magic_quotes($array) {
670670 $ newcomment_author = $ _POST ['newcomment_author ' ];
671671 $ newcomment_author_email = $ _POST ['newcomment_author_email ' ];
672672 $ newcomment_author_url = $ _POST ['newcomment_author_url ' ];
673- $ newcomment_author = addslashes ($ newcomment_author );
674- $ newcomment_author_email = addslashes ($ newcomment_author_email );
675- $ newcomment_author_url = addslashes ($ newcomment_author_url );
676673
677674 if (($ user_level > 4 ) && (!empty ($ _POST ['edit_date ' ]))) {
678675 $ aa = $ _POST ['aa ' ];
0 commit comments