Opened 4 years ago
Closed 4 years ago
#9603 closed enhancement (fixed)
Orphaned code and markup in Recent Comments dashboard widget
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | low | Milestone: | 2.9 |
| Component: | Administration | Version: | 2.8 |
| Severity: | minor | Keywords: | has-patch tested |
| Cc: |
Description
Attached is a patch in which I've removed a div and its content (markup + code) that were being output for each comment listed in the "Recent Comments" admin dashboard widget. The output is being produced at the end of _wp_dashboard_recent_comments_row() in wp-admin/includes/dashboard.php. The div is hidden, and encapsulates various comment information.
The div and its id do not seem to be referenced in the code at all. The code was added in r9219 and appears to be the hidden bits related to doing in-place editing for the comments via "Quick Edit" links. r9717 removed the "Quick Edit" link, but not any related markup and code.
As the code in question is unnecessary, its removal should get rid of some processing and markup flab.
Attachments (1)
Change History (5)
comment:1
janeforshort — 4 years ago
- Keywords has-patch needs-testing added
- Milestone changed from 2.8 to 2.9
comment:2
coffee2code — 4 years ago
- Keywords tested added; needs-testing removed
still applies clean

Punting due to impending release. Will reconsider in upcoming release cycle.