WordPress.org

Make WordPress Core

Opened 4 years ago

Last modified 5 months ago

#35606 new defect (bug)

AllPosts page: contradiction in filtering by Category and category assigning to the post

Reported by: antonrinas Owned by:
Milestone: Priority: normal
Severity: minor Version: 4.4.1
Component: Posts, Post Types Keywords:
Focuses: Cc:
PR Number:

Description

STEPS TO REPRODUCE:

  1. Log in as administrator.
  2. Go to Posts->Categories.
  3. Add category: Name - "Test category", Slug - "test-category".
  4. Add category: Name - "Test subcategory", Slug - "test-subcategory", Parent - "Test category".
  5. Go to AllPosts page.
  6. Add new post: Title - "Test post", assign it to "Test category".
  7. Add new post: Title - "Test post for subcategory", assign it to "Test subcategory".
  8. Go to AllPosts page.
  9. Filter posts by category "Test category".

EXPECTED RESULT:
Post "Test post" is presented as a result of filtration.
ACTUAL RESULT:
Posts "Test post", "Test for subcategory" is presented as a result of filtration. If to follow this logic, post "Test post for subcategory" had to be assigned to "Test subcategory" and automatically to parent category in the moment of creation.
See attachment.

Attachments (2)

EditPost.jpg (71.5 KB) - added by antonrinas 4 years ago.
AllPosts5.jpg (118.3 KB) - added by antonrinas 4 years ago.

Download all attachments as: .zip

Change History (3)

@antonrinas
4 years ago

@antonrinas
4 years ago

#1 @antonrinas
4 years ago

  • Severity changed from normal to minor
Note: See TracTickets for help on using tickets.