Changeset 14614 for trunk/wp-includes/default-widgets.php
- Timestamp:
- 05/14/2010 12:34:04 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/default-widgets.php
r14607 r14614 1004 1004 } else { 1005 1005 $tax = get_taxonomy($current_taxonomy); 1006 $title = $tax->label ;1006 $title = $tax->labels->name; 1007 1007 } 1008 1008 } … … 1033 1033 <?php foreach ( get_object_taxonomies('post') as $taxonomy ) : 1034 1034 $tax = get_taxonomy($taxonomy); 1035 if ( !$tax->show_tagcloud || empty($tax->label ) )1035 if ( !$tax->show_tagcloud || empty($tax->labels->name) ) 1036 1036 continue; 1037 1037 ?> 1038 <option value="<?php echo esc_attr($taxonomy) ?>" <?php selected($taxonomy, $current_taxonomy) ?>><?php echo $tax->label ?></option>1038 <option value="<?php echo esc_attr($taxonomy) ?>" <?php selected($taxonomy, $current_taxonomy) ?>><?php echo $tax->labels->name; ?></option> 1039 1039 <?php endforeach; ?> 1040 1040 </select></p><?php
Note: See TracChangeset
for help on using the changeset viewer.