Changeset 8094 for sites/trunk/wordcamp.org/public_html/wp-content/plugins/wc-post-types/inc/widgets.php
- Timestamp:
- 01/18/2019 01:20:51 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wc-post-types/inc/widgets.php
r6764 r8094 23 23 24 24 extract( $args ); 25 $title = apply_filters( 'widget_title', $instance['title'], $instance, $this->id_base ); 25 $title = ( isset( $instance['title'] ) ) ?: ''; 26 $title = apply_filters( 'widget_title', $title, $instance, $this->id_base ); 26 27 27 28 echo $before_widget; … … 129 130 130 131 $transient_key = 'wcpt-' . md5( $args['widget_id'] ); 132 $instance['title'] = ( isset( $instance['title'] ) ) ?: ''; 131 133 $instance['title'] = apply_filters( 'widget_title', $instance['title'], $instance, $this->id_base ); 132 134 … … 243 245 244 246 $transient_key = 'wcpt-' . md5( $args['widget_id'] ); 247 $instance['title'] = ( isset( $instance['title'] ) ) ?: ''; 245 248 $instance['title'] = apply_filters( 'widget_title', $instance['title'], $instance, $this->id_base ); 246 249 … … 361 364 362 365 $transient_key = 'wcpt-' . md5( $args['widget_id'] ); 366 $instance['title'] = ( isset( $instance['title'] ) ) ?: ''; 363 367 $instance['title'] = apply_filters( 'widget_title', $instance['title'], $instance, $this->id_base ); 364 368
Note: See TracChangeset
for help on using the changeset viewer.