Make WordPress Core

Ticket #16125: widget-tagcloud.diff

File widget-tagcloud.diff, 902 bytes (added by GautamGupta, 14 years ago)
  • default-widgets.php

     
    10231023        <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>
    10241024        <p><label for="<?php echo $this->get_field_id('taxonomy'); ?>"><?php _e('Taxonomy:') ?></label>
    10251025        <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 ) :
    10271027                                $tax = get_taxonomy($taxonomy);
    10281028                                if ( !$tax->show_tagcloud || empty($tax->labels->name) )
    10291029                                        continue;