Make WordPress Core

Ticket #10802: NoContentFilter.patch

File NoContentFilter.patch, 705 bytes (added by redsweater, 15 years ago)
  • wptrunk/xmlrpc.php

    diff -r 5053267dfa3d wptrunk/xmlrpc.php
    a b  
    20922092                }
    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';
    20982098
     
    24592459                }
    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
    24652465                $post_category = array();