WordPress/wp-content/themes
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
..
twentyeleven Bundled Themes: Bump versions and update theme tags. 2016-07-31 16:37:32 +00:00
twentyfifteen Bundled Themes: Allow category display in post preview even when only one category 2017-01-27 22:09:42 +00:00
twentyfourteen Bundled Themes: Allow category display in post preview even when only one category 2017-01-27 22:09:42 +00:00
twentyseventeen Bundled Themes: Allow category display in post preview even when only one category 2017-01-27 22:09:42 +00:00
twentyten Bundled Themes: Bump versions and update theme tags. 2016-07-31 16:37:32 +00:00
twentythirteen Default Themes: Update version numbers and readme files for 4.7 release 2016-12-04 23:27:41 +00:00
twentytwelve Default Themes: Update version numbers and readme files for 4.7 release 2016-12-04 23:27:41 +00:00
index.php Remove closing PHP tags from the rest of index.php files in wp-content, for consistency with wp-content/index.php. 2014-06-05 15:59:14 +00:00