WordPress/wp-content/themes/twentyfifteen/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 Twenty Fifteen: docs correction and cleanup. 2014-11-25 20:57:24 +00:00
custom-header.php Twenty Fifteen: Display sidebar background color with Header Image. 2015-07-06 17:27:26 +00:00
customizer.php Customize: Use selective refresh to preview changes to site title and tagline in core themes. 2016-03-01 22:18:26 +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