Changeset 23353
- Timestamp:
- 01/28/2013 04:17:05 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r23320 r23353 1990 1990 */ 1991 1991 function sanitize_post_field($field, $value, $post_id, $context) { 1992 $int_fields = array('ID', 'post_parent', 'menu_order' );1992 $int_fields = array('ID', 'post_parent', 'menu_order', 'post_author', 'comment_count'); 1993 1993 if ( in_array($field, $int_fields) ) 1994 1994 $value = (int) $value;
Note: See TracChangeset
for help on using the changeset viewer.