Changeset 28902 for trunk/src/wp-includes/taxonomy.php
- Timestamp:
- 06/29/2014 09:53:35 PM (12 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/taxonomy.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/taxonomy.php
r28753 r28902 347 347 $args = wp_parse_args( $args, $defaults ); 348 348 349 if ( strlen( $taxonomy ) > 32 ) 349 if ( strlen( $taxonomy ) > 32 ) { 350 _doing_it_wrong( __FUNCTION__, __( 'Taxonomies cannot exceed 32 characters in length' ), '4.0' ); 350 351 return new WP_Error( 'taxonomy_too_long', __( 'Taxonomies cannot exceed 32 characters in length' ) ); 352 } 351 353 352 354 if ( false !== $args['query_var'] && ! empty( $wp ) ) {
Note: See TracChangeset
for help on using the changeset viewer.