Changeset 6322 for branches/2.3/wp-includes/post.php
- Timestamp:
- 11/07/2007 06:28:46 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.3/wp-includes/post.php
r6205 r6322 429 429 430 430 function sanitize_post($post, $context = 'display') { 431 432 if ( 'raw' == $context ) 433 return $post; 434 431 435 // TODO: Use array keys instead of hard coded list 432 436 $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.