Opened 9 months ago
Closed 9 months ago
#64201 closed defect (bug) (fixed)
Remove comments column for Media list view
| Reported by: | knutsp | Owned by: | westonruter |
|---|---|---|---|
| Priority: | normal | Milestone: | 7.0 |
| Component: | Media | Version: | 6.4 |
| Severity: | trivial | Keywords: | has-screenshots has-patch |
| Cc: | Focuses: | ui, administration |
Description (last modified by )
In case empty( get_option('wp_attachment_pages_enabled') ) remove the then unnecessary 'comments' column.
This is a follow-up to #57913.
Attachments (1)
Change History (11)
#1
follow-up:
↓ 3
@
9 months ago
- Description modified (diff)
- Keywords needs-patch has-screenshots added
- Milestone Awaiting Review → Future Release
This ticket was mentioned in PR #10471 on WordPress/wordpress-develop by @akshat2802.
9 months ago
#2
- Keywords has-patch added; needs-patch removed
PR for Trac ticket: https://core.trac.wordpress.org/ticket/64201
This PR removes the “Comments” column from the Media Library when attachment pages are disabled.
When the wp_attachment_pages_enabled option is empty or evaluates to false, attachments no longer have dedicated front-end pages. In such cases, displaying the “Comments” column in the Media Library becomes redundant, since comments are not accessible or visible on attachment pages.
#### Benefits:
- Prevents confusion for users by hiding irrelevant UI
- Keeps the Media Library interface cleaner
- Aligns with the expected behaviour when attachment pages are disabled
#3
in reply to: ↑ 1
@
9 months ago
Replying to westonruter:
@knutsp The screenshot media-library-list-view-with-comments.png shows what you're referring to, correct?
Correct.
@westonruter commented on PR #10471:
9 months ago
#6
I'll commit this after the 6.9 branch is created for the RC1 on Tuesday.
#7
@
9 months ago
I tested locally and found comments columns and the issue is still persist
Follow the below Image :
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
@knutsp The screenshot media-library-list-view-with-comments.png shows what you're referring to, correct?