[wp-trac] [WordPress Trac] #46350: If a term is '0' clicking on its "Count" value displays all posts

WordPress Trac noreply at wordpress.org
Tue Feb 26 15:12:09 UTC 2019


#46350: If a term is '0' clicking on its "Count" value displays all posts
--------------------------+-----------------------------
 Reporter:  jesin         |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Taxonomy      |    Version:  5.1
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 To replicate:

 * Create a post category named "0" (just the number without quotes).
 * Assign a few posts to this category.
 * Go to WP-Admin > Categories and the "Count" column in the "0" row will
 display the number of posts assigned to this category. Click on this
 number.

 Now instead of displaying posts with the category "0", all posts are
 displayed irrespective of the category.

 This issue isn't unique to post categories. It happens with custom
 taxonomies too.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46350>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list