Opened 11 years ago
Closed 11 years ago
#27532 closed defect (bug) (fixed)
Display for Unattached Media showing all images (instead of just unattached)
Reported by: | Ipstenu | Owned by: | nacin |
---|---|---|---|
Milestone: | 3.9 | Priority: | highest omg bbq |
Severity: | blocker | Version: | 3.9 |
Component: | Media | Keywords: | has-patch |
Focuses: | Cc: |
Attachments (2)
Change History (9)
#3
@
11 years ago
- Priority changed from normal to highest omg bbq
- Severity changed from normal to minor
I can reproduce this as well. Definite regression. Blocker.
#4
@
11 years ago
- Keywords has-patch added
- Severity changed from minor to blocker
Introduced in [27373]: trunk/src/wp-admin/includes/post.php?rev=27690#L995.
$q['post_parent'] = 0
doesn't work as expected in WP::parse_request()
, because it's not declared as a public or a private query var. It ends up in $extra_query_vars
and is not passed to WP_Query::get_posts()
.
27532.patch fixes that, but we can probably just revert that part of [27373].
#5
@
11 years ago
The wp()
call comes from [2646], [3564], and [6910].
We could probably use query_posts()
directly instead: 27532.2.patch.
Still, not including post_parent
in $private_query_vars
seems like an omission.
Note: See
TracTickets for help on using
tickets.
Confirmed.