Changeset 10344 for sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-directory-compat.php
- Timestamp:
- 10/02/2020 07:29:32 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-directory-compat.php
r9853 r10344 420 420 $term = $terms[0]; 421 421 $object = $this->get_object( $term->slug ); 422 $title = sprintf( "[%s] %s", esc_html( $object->post_title ), esc_html( $title ) ); 422 if ( $object ) { 423 $title = sprintf( "[%s] %s", esc_html( $object->post_title ), esc_html( $title ) ); 424 } 423 425 } 424 426 }
Note: See TracChangeset
for help on using the changeset viewer.