Make WordPress Core

Opened 4 weeks ago

Last modified 4 weeks ago

#60861 assigned defect (bug)

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

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

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 4 weeks ago.
Parent Category Issue

Download all attachments as: .zip

Change History (5)

@dextorlobo
4 weeks ago

Parent Category Issue

#1 @freewebmentor
4 weeks 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.


4 weeks ago

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


4 weeks 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.


4 weeks ago

Note: See TracTickets for help on using tickets.