Make WordPress Core

Opened 6 years ago

Closed 5 years ago

Last modified 5 years ago

#19527 closed defect (bug) (invalid)

Add New Category Problem While Posting

Reported by: jainprateek Owned by:
Milestone: Priority: normal
Severity: minor Version: 3.3
Component: Administration Keywords:
Focuses: Cc:


When adding new category, while you are making a post, If a category is added under a parent category, it doesn't show properly that the new category is under the parent category.

It has been added correctly, but it doesn't show properly the first time.

Change History (9)

#1 @jainprateek
6 years ago

Also, I could add the same category again and it would show up, but it does not get added to the Categories.

And, if i add a category with the same name, is shows some other category being added ( Something that is already present )

#2 @johnbillion
6 years ago

This is odd behaviour, but it's inline with how the checkboxes will appear once you save the post. All selected categories are shown at the top of the category list regardless of their hierarchy.

Related: #17317

#3 @SergeyBiryukov
6 years ago

  • Keywords ux-feedback added

#4 @DrewAPicture
5 years ago

  • Component changed from UI to Administration
  • Keywords close added
  • Resolution set to fixed
  • Status changed from new to closed

I believe this is expected behavior as @johnbillion mentioned.

#5 @DrewAPicture
5 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

#6 @c3mdigital
5 years ago

  • Keywords ux-feedback close removed
  • Resolution set to invalid
  • Status changed from reopened to closed

Category hierarchy tree is expected behavior.

#7 @helen
5 years ago

  • Milestone Awaiting Review deleted

#9 @DrewAPicture
5 years ago

We could probably put in a fix to illustrate the proper hierarchy, but as @johnbillion alluded, checked_ontop defaults to true wp_category_checklist() anyway, so the view is consistent with what you'd get after the post is saved.

Note: See TracTickets for help on using tickets.