Changeset 25553
- Timestamp:
- 09/21/2013 05:43:14 PM (11 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r25312 r25553 1474 1474 * 1475 1475 * @since 3.0.0 1476 * @access private 1477 * 1476 1478 * @param object $post_type_object 1477 1479 * @return object object with all the labels as member variables … … 1507 1509 */ 1508 1510 function _get_custom_object_labels( $object, $nohier_vs_hier_defaults ) { 1511 $object->labels = (array) $object->labels; 1509 1512 1510 1513 if ( isset( $object->label ) && empty( $object->labels['name'] ) ) -
trunk/src/wp-includes/taxonomy.php
r25551 r25553 439 439 440 440 function get_taxonomy_labels( $tax ) { 441 $tax->labels = (array) $tax->labels; 442 441 443 if ( isset( $tax->helps ) && empty( $tax->labels['separate_items_with_commas'] ) ) 442 444 $tax->labels['separate_items_with_commas'] = $tax->helps;
Note: See TracChangeset
for help on using the changeset viewer.