Changeset 1405 for trunk/wp-admin/post.php
- Timestamp:
- 06/11/2004 08:02:40 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/post.php
r1399 r1405 51 51 $excerpt = balanceTags($_POST['excerpt']); 52 52 $excerpt = format_to_post($excerpt); 53 $post_title = addslashes($_POST['post_title']);53 $post_title = $_POST['post_title']; 54 54 $post_categories = $_POST['post_category']; 55 55 if(get_settings('use_geo_positions')) { … … 69 69 $ping_status = $_POST['ping_status']; 70 70 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']; 72 72 73 73 if (empty($post_name)) … … 279 279 $excerpt = balanceTags($_POST['excerpt']); 280 280 $excerpt = format_to_post($excerpt); 281 $post_title = addslashes($_POST['post_title']);281 $post_title = $_POST['post_title']; 282 282 if(get_settings('use_geo_positions')) { 283 283 $latf = floatval($_POST["post_latf"]); … … 302 302 if (empty($ping_status)) $ping_status = 'closed'; 303 303 //if (!$_POST['ping_status']) $ping_status = get_settings('default_ping_status'); 304 $post_password = addslashes($_POST['post_password']);304 $post_password = $_POST['post_password']; 305 305 $post_name = sanitize_title($_POST['post_name']); 306 306 if (empty($post_name)) $post_name = sanitize_title($post_title); … … 671 671 $newcomment_author_email = $_POST['newcomment_author_email']; 672 672 $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);676 673 677 674 if (($user_level > 4) && (!empty($_POST['edit_date']))) {
Note: See TracChangeset
for help on using the changeset viewer.