#40884 closed defect (bug) (invalid)
Filtering media includes debug output
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.7.5 |
Component: | Media | Keywords: | |
Focuses: | ui, administration | Cc: |
Description
When filtering media items in the admin screen (for example, to show only unattached media), the HTML output starts with a print_r() of the WP_Query object for the matching media items; looks like a debug statement that was left in by mistake.
Change History (3)
#2
@
8 years ago
- Resolution set to invalid
- Status changed from new to closed
That.. is a very good question. I can't disable things on the site where I saw the issue at the moment, but I don't see it on a separate install I have running, so sounds like you're right and it's a plugin; didn't even think of that. Will try and debug which one's causing it and report it to them later. Thanks, @SergeyBiryukov.
Note: See
TracTickets for help on using
tickets.
Hi @Talvo, welcome to WordPress Trac! Thanks for the report.
Does it still happen on a clean install with all plugins disabled and a default theme (Twenty Seventeen) activated?
The only instance of
print_r()
in WordPress core is inwp-includes/atomlib.php
, but that file doesn't interact with Media Library in any way.