mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-12-06 12:51:58 +00:00
Pinking shears
git-svn-id: https://develop.svn.wordpress.org/trunk@22634 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -331,7 +331,7 @@ function register_taxonomy( $taxonomy, $object_type, $args = array() ) {
|
||||
);
|
||||
$args = wp_parse_args($args, $defaults);
|
||||
|
||||
if ( strlen( $taxonomy ) > 32 )
|
||||
if ( strlen( $taxonomy ) > 32 )
|
||||
return new WP_Error( 'taxonomy_too_long', __( 'Taxonomies cannot exceed 32 characters in length' ) );
|
||||
|
||||
if ( false !== $args['query_var'] && !empty($wp) ) {
|
||||
|
||||
Reference in New Issue
Block a user