WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #10801


Ignore:
Timestamp:
09/17/09 14:19:14 (5 years ago)
Author:
ryan
Comment:

sanitize_post() sets a "filter" field in the passed object. We can check to see if filter is already set before filtering again.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10801 – Description

    initial v1  
    1  
    21When a post is saved using wp_insert_post, the post is first sanitized with sanitize_post, which applies the content_save_pre filter to the description of the post. 
    32