Changeset 6321 for trunk/wp-includes/post.php
- Timestamp:
- 11/07/2007 06:20:08 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r6306 r6321 410 410 411 411 function sanitize_post($post, $context = 'display') { 412 413 if ( 'raw' == $context ) 414 return $post; 415 412 416 // TODO: Use array keys instead of hard coded list 413 417 $fields = array('post_author', 'post_date', 'post_date_gmt', 'post_content', 'post_content_filtered', 'post_title', 'post_excerpt', 'post_status', 'post_type', 'comment_status', 'ping_status', 'post_password', 'post_name', 'to_ping', 'pinged', 'post_date', 'post_date_gmt', 'post_parent', 'menu_order', 'post_mime_type', 'post_category');
Note: See TracChangeset
for help on using the changeset viewer.