Make WordPress Core

Changeset 11942


Ignore:
Timestamp:
09/17/2009 04:59:33 PM (15 years ago)
Author:
ryan
Message:

Don't run content_save_pre filter twice for XMLRPC posts. Props redsweater. fixes #10802

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xmlrpc.php

    r11850 r11942  
    20932093
    20942094        $post_title = $content_struct['title'];
    2095         $post_content = apply_filters( 'content_save_pre', $content_struct['description'] );
     2095        $post_content = $content_struct['description'];
    20962096
    20972097        $post_status = $publish ? 'publish' : 'draft';
     
    24602460
    24612461        $post_title = $content_struct['title'];
    2462         $post_content = apply_filters( 'content_save_pre', $content_struct['description'] );
     2462        $post_content = $content_struct['description'];
    24632463        $catnames = $content_struct['categories'];
    24642464
Note: See TracChangeset for help on using the changeset viewer.