WordPress/wp-content/themes/twentyfourteen/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 Customizer: Change instances of "Theme Customizer" to just "Customizer", as the Customizer isn't necessarily theme-specific. 2014-10-15 17:21:19 +00:00
custom-header.php Twenty Fourteen: Removes video header support 2016-11-14 17:17:31 +00:00
customizer.php Twenty Fourteen: Removes video header support 2016-11-14 17:17:31 +00:00
featured-content.php Spelling: Standardize on "front end"/"back end" (noun) and "front-end"/"back-end" (adjective). 2016-02-25 12:53:27 +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
widgets.php Customize: Require opt-in for selective refresh of widgets. 2016-03-21 21:59:29 +00:00