Ticket #39308: ticket_39308_solution_2.patch
File ticket_39308_solution_2.patch, 524 bytes (added by , 8 years ago) |
---|
-
class-wp-taxonomy.php
334 334 } 335 335 336 336 foreach ( $args as $property_name => $property_value ) { 337 $this->$property_name = $property_value; 337 // Avoid overwriting 'name' Property ('Taxonomy key') 338 if ( 'name' !== $property_name ) { 339 $this->$property_name = $property_value; 340 } 338 341 } 339 342 340 343 $this->labels = get_taxonomy_labels( $this );