WordPress/wp-content/themes/twentyseventeen/inc
David A. Kennedy ca0274c2ce Bundled Themes: Allow category display in post preview even when only one category
The category is not shown in the preview. And because of how `themename_categorized_blog()` function in each theme returns false for 1 or fewer categories,  and in this case it won't show the new category.

The patch uses `is_preview()` to fix that in Twenty Fourteen, Fifteen and Seventeen.

Props lancewillett.

Fixes #39531.

Built from https://develop.svn.wordpress.org/trunk@40023


git-svn-id: http://core.svn.wordpress.org/trunk@39960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-01-27 22:09:42 +00:00
..
back-compat.php Importing Twenty Seventeen, our new default theme for 2017, set for 4.7. 2016-10-20 04:12:31 +00:00
color-patterns.php Twenty Seventeen: Correct `@param` entries for `twentyseventeen_custom_colors_css` filter. 2017-01-13 15:03:41 +00:00
custom-header.php Twenty Seventeen: Improves code readability and code standards in files 2016-12-16 22:08:47 +00:00
customizer.php Twenty Seventeen: Correct `@param` entry for `twentyseventeen_front_page_sections` filter. 2017-01-06 22:07:52 +00:00
icon-functions.php Twenty Seventeen: Correct `@param` entries for `twentyseventeen_content_width`, `twentyseventeen_custom_colors_saturation` and `twentyseventeen_social_links_icons` filters. 2017-01-06 22:08:33 +00:00
template-functions.php Twenty Seventeen: Correct `@param` entry for `twentyseventeen_front_page_sections` filter. 2017-01-06 22:07:52 +00:00
template-tags.php Bundled Themes: Allow category display in post preview even when only one category 2017-01-27 22:09:42 +00:00