Ticket #16310: tax-labels.patch
File tax-labels.patch, 920 bytes (added by , 14 years ago) |
---|
-
wp-includes/post.php
1170 1170 * @since 3.0.0 1171 1171 */ 1172 1172 function _get_custom_object_labels( $object, $nohier_vs_hier_defaults ) { 1173 1174 $object->labels = (array) $object->labels; 1173 1175 1174 1176 if ( isset( $object->label ) && empty( $object->labels['name'] ) ) 1175 1177 $object->labels['name'] = $object->label; -
wp-includes/taxonomy.php
390 390 */ 391 391 392 392 function get_taxonomy_labels( $tax ) { 393 $tax->labels = (array) $tax->labels; 394 393 395 if ( isset( $tax->helps ) && empty( $tax->labels['separate_items_with_commas'] ) ) 394 396 $tax->labels['separate_items_with_commas'] = $tax->helps; 395 397