[wp-trac] [WordPress Trac] #24008: Widgets title improvement

WordPress Trac noreply at wordpress.org
Tue Apr 9 18:12:17 UTC 2013


#24008: Widgets title improvement
-----------------------------+-------------------------
 Reporter:  alexvorn2        |       Type:  enhancement
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  Widgets
  Version:                   |   Severity:  normal
 Keywords:                   |
-----------------------------+-------------------------
 we have now:

 {{{

 $title = apply_filters( 'widget_title', empty( $instance['title'] ) ? __(
 'Categories' ) : $instance['title'], $instance, $this->id_base );
 }}}


 why not to use?


 {{{
 $title = apply_filters( 'widget_title', empty( $instance['title'] ) ?
 $this->name : $instance['title'], $instance, $this->id_base );
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/24008>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list