Ticket #16125: widget-tagcloud.diff
File widget-tagcloud.diff, 902 bytes (added by , 14 years ago) |
---|
-
default-widgets.php
1023 1023 <input type="text" class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" value="<?php if (isset ( $instance['title'])) {echo esc_attr( $instance['title'] );} ?>" /></p> 1024 1024 <p><label for="<?php echo $this->get_field_id('taxonomy'); ?>"><?php _e('Taxonomy:') ?></label> 1025 1025 <select class="widefat" id="<?php echo $this->get_field_id('taxonomy'); ?>" name="<?php echo $this->get_field_name('taxonomy'); ?>"> 1026 <?php foreach ( get_ object_taxonomies('post') as $taxonomy ) :1026 <?php foreach ( get_taxonomies() as $taxonomy ) : 1027 1027 $tax = get_taxonomy($taxonomy); 1028 1028 if ( !$tax->show_tagcloud || empty($tax->labels->name) ) 1029 1029 continue;