Make WordPress Core

Opened 3 years ago

Closed 18 months ago

Last modified 18 months 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)

comment:1 @jainprateek3 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 )

comment:2 @johnbillion3 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

comment:3 @SergeyBiryukov3 years ago

  • Keywords ux-feedback added

comment:4 @DrewAPicture2 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.

comment:5 @DrewAPicture2 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

comment:6 @c3mdigital18 months ago

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

Category hierarchy tree is expected behavior.

comment:7 @helen18 months ago

  • Milestone Awaiting Review deleted

comment:9 @DrewAPicture18 months 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.