Make WordPress Core

Opened 5 years ago

Last modified 19 months ago

#15784 new defect (bug)

Contributors can't easily view others' posts in a certain term

Reported by: nacin Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version: 3.0
Component: Posts, Post Types Keywords: has-patch needs-testing reporter-feedback
Focuses: administration Cc:


As a contributor, the default tab is 'Me', not 'All'. But you can go to 'All' and see a list of all posts.

At that time, you can also search for posts, and filter by category, date, etc. Those all work fine. You can also filter by category or tag by clicking a term in those columns, but this doesn't work -- all_posts=1 gets removed, and you end up seeing the 'Me' tab again.

You can manually append all_posts=1, but there's no way to actually filter by term viewing all posts via the UI.

Interestingly, the author query var works. That'd be bad if it didn't. But it doesn't append all_posts=1, so it's done internally.

Attachments (2)

15784.patch (1.3 KB) - added by dllh 4 years ago.
15784.2.patch (1.2 KB) - added by dllh 4 years ago.
slightly modified approach

Download all attachments as: .zip

Change History (8)

comment:1 follow-up: @PeteMall5 years ago

This bug report sounds like you wrote it at 6:30 in the morning... which you did.

comment:2 in reply to: ↑ 1 @nacin5 years ago

For the record, this is from our Skype window:

Andrew Nacin: This bug report sounds like I wrote it at 6:30 in the morning:
Pete Mall: http://core.trac.wordpress.org/ticket/15784#comment:1

I can't win.

@dllh4 years ago

comment:3 @dllh4 years ago

  • Cc daryl@… added
  • Keywords has-patch needs-testing added

15784.patch seems to resolve this issue by adding all_posts => 1 to the add_query_arg() call if isset( $_REQUESTall_posts? ).

comment:4 @dllh4 years ago

  • Keywords reporter-feedback added

@dllh4 years ago

slightly modified approach

comment:5 @dllh4 years ago

Based on discussion in irc, I've added in 15784.2.patch a slightly modified approach that uses post_status=all instead of checking for all_posts=1 in the url. Seems to have the same result, and the patch is a teensy bit simpler.

comment:6 @nacin19 months ago

  • Component changed from Administration to Posts, Post Types
  • Focuses administration added
Note: See TracTickets for help on using tickets.