I want to change the taxonomy key length to support keys greater than 32 chars. I have adopted a custom WooCommerce store where some WP core files wp-includes/taxonomy.php have been edited to change if ( strlen( $taxonomy ) > 32 )
to if ( strlen( $taxonomy ) > 255 )
. Is there a way I can abstract this away from the core files but still allow for the key length to be greater than 32?
Aucun commentaire:
Enregistrer un commentaire