Changeset 11282
- Timestamp:
- 05/11/2009 10:10:45 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r11252 r11282 798 798 * Sanitize every post field. 799 799 * 800 * If the context is 'raw', then the post object or array will just be returned.800 * If the context is 'raw', then the post object or array will . 801 801 * 802 802 * @since 2.3.0 … … 808 808 */ 809 809 function sanitize_post($post, $context = 'display') { 810 if ( 'raw' == $context )811 return $post;812 810 if ( is_object($post) ) { 813 811 if ( !isset($post->ID) )
Note: See TracChangeset
for help on using the changeset viewer.