[wp-trac] [WordPress Trac] #21396: Categories widget reports categories without posts when they have custom posts
WordPress Trac
wp-trac at lists.automattic.com
Fri Jul 27 04:27:26 UTC 2012
#21396: Categories widget reports categories without posts when they have custom
posts
--------------------------+------------------------------
Reporter: pkwooster | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Widgets | Version: 3.4.1
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------------------
Description changed by SergeyBiryukov:
Old description:
> This problem may be related to
> http://core.trac.wordpress.org/ticket/14084, but this report is specific
> to the behaviour of the Categories Widget.
>
> - Create a custom post type eg. "Products"
> - Create a category eg. "Photographs"
> - Add some posts of type Products, assign them to category Photographs
> - go to the blog page and the Categories widget lists Photographs as a
> category
> - click on Photographs
> - the "Nothing Found" post is shown.
>
> There are no normal posts of category Photographs, but the widget lists a
> category that returns nothing. I would have expected the widget not to
> list a category that has no normal posts.
New description:
This problem may be related to #14084, but this report is specific to the
behaviour of the Categories Widget.
- Create a custom post type eg. "Products"
- Create a category eg. "Photographs"
- Add some posts of type Products, assign them to category Photographs
- go to the blog page and the Categories widget lists Photographs as a
category
- click on Photographs
- the "Nothing Found" post is shown.
There are no normal posts of category Photographs, but the widget lists a
category that returns nothing. I would have expected the widget not to
list a category that has no normal posts.
--
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21396#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list