Changeset 3202
- Timestamp:
- 05/20/2016 10:04:55 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/widgets/class-support.php
r3183 r3202 23 23 */ 24 24 public function widget( $args, $instance ) { 25 $title = apply_filters( 'widget_title', empty( $instance['title'] ) ? __( 'Support', 'wporg-plugins' ) : $instance['title'], $instance, $this->id_base ); 26 25 27 $post = get_post(); 26 28 $threads = get_post_meta( $post->ID, 'support_threads', true ) ?: 0; … … 42 44 43 45 echo $args['before_widget']; 44 ?>46 echo $args['before_title'] . $title . $args['after_title']; 45 47 46 <h4><?php _e( 'Support', 'wporg-plugins' ); ?></h4> 47 48 <?php if ( $resolutions ) : ?> 48 if ( $resolutions ) : ?> 49 49 <p> 50 50 <?php
Note: See TracChangeset
for help on using the changeset viewer.