Opened 15 years ago
Closed 3 months ago
#15784 closed defect (bug) (worksforme)
Contributors can't easily view others' posts in a certain term
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 3.0 |
| Component: | Posts, Post Types | Keywords: | has-patch needs-testing needs-refresh |
| Focuses: | administration | Cc: |
Description
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)
Change History (11)
#2
in reply to:
↑ 1
@
15 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: http://core.trac.wordpress.org/ticket/15784 Pete Mall: http://core.trac.wordpress.org/ticket/15784#comment:1
I can't win.
#3
@
14 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? ).
#5
@
14 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.
#6
@
12 years ago
- Component changed from Administration to Posts, Post Types
- Focuses administration added
This ticket was mentioned in Slack in #core-test by sirlouen. View the logs.
3 months ago
#9
@
3 months ago
- Resolution set to worksforme
- Status changed from new to closed
Reproduction Report
Description
❌ This report can't validate that the issue can be reproduced.
Environment
- WordPress: 7.0-alpha-61215-src
- PHP: 8.2.29
- Server: nginx/1.29.3
- Database: mysqli (Server: 8.4.7 / Client: mysqlnd 8.2.29)
- Browser: Chrome 143.0.0.0
- OS: Windows 10/11
- Theme: Twenty Twenty-Five 1.4
- MU Plugins: None activated
- Plugins:
- Gutenberg 22.3.0
- Test Reports 1.2.1
- User Switching 1.11.1
Testing Instructions
- Create a couple of posts.
- Set some of those posts to a category, say,
example-category - Create a contributor user
- Switch to that contributor user
- Go to posts and add a query var like
/wp-admin/edit.php?category_name=example-category - 👌 Posts in that category are shown as expected
Actual Results
- ❌ This can't be reproduced
Additional Notes
- Given that this ticket is 15 years old is probably that it might has been solved at some point. Time to close it as
worksforme
This bug report sounds like you wrote it at 6:30 in the morning... which you did.