Changeset 5998 for trunk/wp-includes/category.php
- Timestamp:
- 08/31/2007 11:55:56 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/category.php
r5938 r5998 118 118 } 119 119 120 function sanitize_category($category, $context = 'display') { 121 return sanitize_term($category, 'category', $context); 122 } 123 124 function sanitize_category_field($field, $value, $cat_id, $context) { 125 return sanitize_term_field($field, $value, $cat_id, 'category', $context); 126 } 127 120 128 // Tags 121 129
Note: See TracChangeset
for help on using the changeset viewer.