Opened 6 years ago
Last modified 6 years ago
#49694 new defect (bug)
All pages menu on admin panel has DOM errors
| Reported by: | iarovuo | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Future Release |
| Component: | Administration | Version: | 5.3.2 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | ui, administration |
Description
Opening All pages menu on admin panel, produces errors in console with
[DOM] Found 2 elements with non-unique id #post_parent
<redacted>/wp-admin/edit.php?post_type=page:1
Checking page content, indeed there are TWO id="post_parent" in the TBODY id=inlineedit, and other later in the TR id=bulk-edit
Bug appears with all plugins turned off, and fresh install as well.
Reproduce: Simply open the "All pages" menu on admin panel, and see the console for the DOM form errors.
Attachments (1)
Change History (4)
#2
@
6 years ago
Hi
The duplicated id post_parent, come from inline edit and bulk edit table in Pages admin area.
#3
@
6 years ago
- Keywords has-patch added; needs-patch removed
- Milestone Awaiting Review → Future Release
Thanks for the report @iarovuo!
49694.diff fixes this by distinguishing between the inline edit dropdown and the bulk edit dropdown.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
This bug is also in WP 5.4