WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #10801


Ignore:
Timestamp:
09/17/2009 02:19:14 PM (9 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