Make WordPress Core

Opened 4 years ago

Last modified 4 years ago

#48861 new defect (bug)

Twenty Seventeen inserts an empty .entry-footer content for custom post type posts with no taxonomy

Reported by: umchal's profile umchal Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Bundled Theme Keywords:
Focuses: Cc:


Hi there,

Just reporting that the Twenty Seventeen theme v2.2 checks whether the entry footer is empty in order to avoid a huge blank space.


                // We don't want to output .entry-footer if it will be empty, so make sure its not.
                if ( ( ( twentyseventeen_categorized_blog() && $categories_list ) || $tags_list ) || get_edit_post_link() ) {


However, this check fails for cases of posts of a custom post type with no taxonomy terms associated and a big empty space gets inserted at the bottom of the singular page.

$categories_list is not empty as the string value Uncategorized is assigned by get_the_category_list() (/wp-includes/category-template.php)

Change History (1)

#1 @mukesh27
4 years ago

  • Component changed from Themes to Bundled Theme
Note: See TracTickets for help on using tickets.