Changeset 57251 for trunk/src/wp-includes/taxonomy.php
- Timestamp:
- 01/08/2024 10:42:49 PM (9 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/taxonomy.php
r57239 r57251 2435 2435 $parent = (int) $args['parent']; 2436 2436 2437 // Sanitization could clean the name to an empty string that must be checked again. 2438 if ( '' === $name ) { 2439 return new WP_Error( 'invalid_term_name', __( 'Invalid term name.' ) ); 2440 } 2441 2437 2442 $slug_provided = ! empty( $args['slug'] ); 2438 2443 if ( ! $slug_provided ) {
Note: See TracChangeset
for help on using the changeset viewer.