Make WordPress Core

Opened 3 years ago

Last modified 3 years ago

#60861 assigned defect (bug)

Issue with Parent Term Selection on wp-admin/edit-tags.php Screen

Reported by: dextorlobo Owned by:
Priority: normal Milestone: Awaiting Review
Component: Taxonomy Version: 6.4.3
Severity: normal Keywords: has-patch
Cc: Focuses: javascript

Description

Description:
Currently, on the "wp-admin/edit-tags.php" screen, when we input a new term with a parent term using the select dropdown, upon submission, all fields are reset except for the parent term dropdown. This may lead to unintended assignment of the parent term and create potential issues when adding new terms.

Steps to reproduce

  1. Login to wordPress dashboard
  2. Go to Posts > Categories
  3. Enter term name, slug, description and select parent
  4. Click on "Add New Category"
  5. Upon successful submission, all the fields ( name, slug, and description ) are reset, except the "Parent Category" dropdown.

Attachments (1)

parent-category-issue.png​ (467.6 KB ) - added by dextorlobo 3 years ago.
Parent Category Issue

Download all attachments as: .zip

Change History (5)

#1 @freewebmentor
3 years ago

  • Keywords needs-patch added

Hi @dextorlobo Welcome to WordPress Core Trac!

This ticket was mentioned in ​Slack in #core-js by swapnilghone9. ​View the logs.


3 years ago

This ticket was mentioned in ​PR #6333 on ​WordPress/wordpress-develop by ​@dextorlobo.


3 years ago
#3

  • Keywords has-patch added; needs-patch removed

Currently, on the "wp-admin/edit-tags.php" screen, when we input a new term with a parent term using the select dropdown, upon submission, all fields are reset except for the parent term dropdown. This may lead to unintended assignment of the parent term and create potential issues when adding new terms.

Steps to reproduce

  • Login to wordPress dashboard
  • Go to Posts > Categories
  • Enter term name, slug, description and select parent
  • Click on "Add New Category"
  • Upon successful submission, all the fields ( name, slug, and description ) are reset, except the "Parent Category" dropdown.

Actual Result:
https://github.com/WordPress/wordpress-develop/assets/29377089/8dc0dd62-7500-47ff-8bff-8ab23667d281

Expected Result:
https://github.com/WordPress/wordpress-develop/assets/29377089/5058264e-6f0f-47f6-ad73-e5db64f0e427

Trac ticket: 60861

This ticket was mentioned in ​Slack in #core by dextorlobo. ​View the logs.


3 years ago

Note: See TracTickets for help on using tickets.