Changeset 36214 for trunk/src/wp-includes/taxonomy.php
- Timestamp:
- 01/07/2016 03:31:48 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/taxonomy.php
r36108 r36214 2580 2580 return new WP_Error( 'missing_parent', __( 'Parent term does not exist.' ) ); 2581 2581 } 2582 2582 2583 $args['name'] = $term; 2583 2584 $args['taxonomy'] = $taxonomy; 2585 2586 // Coerce null description to strings, to avoid database errors. 2587 $args['description'] = (string) $args['description']; 2588 2584 2589 $args = sanitize_term($args, $taxonomy, 'db'); 2585 2590
Note: See TracChangeset
for help on using the changeset viewer.