Changeset 32650 for trunk/src/wp-includes/default-widgets.php
- Timestamp:
- 05/29/2015 03:42:40 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/default-widgets.php
r32600 r32650 645 645 646 646 /** 647 * @staticvar bool $first_dropdown 648 * 647 649 * @param array $args 648 650 * @param array $instance 649 651 */ 650 652 public function widget( $args, $instance ) { 653 static $first_dropdown = true; 654 651 655 /** This filter is documented in wp-includes/default-widgets.php */ 652 656 $title = apply_filters( 'widget_title', empty( $instance['title'] ) ? __( 'Categories' ) : $instance['title'], $instance, $this->id_base ); … … 668 672 669 673 if ( $d ) { 670 static $first_dropdown = true;671 672 674 $dropdown_id = ( $first_dropdown ) ? 'cat' : "{$this->id_base}-dropdown-{$this->number}"; 673 675 $first_dropdown = false;
Note: See TracChangeset
for help on using the changeset viewer.