Make WordPress Core


Ignore:
Timestamp:
01/06/2005 10:51:44 PM (21 years ago)
Author:
saxmatt
Message:

Cleaning up filters and format-to-post

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/post.php

    r2050 r2059  
    3131    $post_pingback = intval($_POST['post_pingback']);
    3232    $content = apply_filters('content_save_pre', $_POST['content']);
    33     $content = format_to_post($content);
    3433    $excerpt = apply_filters('excerpt_save_pre',$_POST['excerpt']);
    35     $excerpt = format_to_post($excerpt);
    3634    $post_title = $_POST['post_title'];
    3735    $post_categories = $_POST['post_category'];
     
    237235    if (!$post_categories) $post_categories[] = 1;
    238236    $content = apply_filters('content_save_pre', $_POST['content']);
    239     $content = format_to_post($content);
    240237    $excerpt = apply_filters('excerpt_save_pre', $_POST['excerpt']);
    241     $excerpt = format_to_post($excerpt);
    242238    $post_title = $_POST['post_title'];
    243239    $prev_status = $_POST['prev_status'];
     
    608604    }
    609605    $content = apply_filters('comment_save_pre', $_POST['content']);
    610     $content = format_to_post($content);
    611606
    612607    $result = $wpdb->query("
Note: See TracChangeset for help on using the changeset viewer.