WordPress.org

Making WordPress.org

Opened 3 years ago

Closed 2 years ago

#1966 closed enhancement (worksforme)

Can't see inline pending/unapproved/spam posts

Reported by: Ipstenu Owned by:
Milestone: Priority: normal
Component: Support Forums Keywords:
Cc:

Description

In bbpress 1 we could add &view=all to the end of a URL string and see everything in the thread that had been deleted or spammed, complete with special colors.

It would be nice to have this back, in order to supervise escalating behavior, double posts, etc etc.

Change History (8)

#1 @johnjamesjacoby
3 years ago

This should still work, though it's plausible we've whitelisted the post statuses that work here, meaning custom ones would need to be added to this whitelist.

#2 @Ipstenu
3 years ago

We should also have a nice button to 'view all' :D

#3 @netweb
3 years ago

@Ipstenu Apart from not having a button, does this work for you? There's currently trashed, spam, and pending replies in that topic.

#4 follow-up: @Ipstenu
3 years ago

It's working, but difficult to tell what post is trashed, spam, or pending. That's a theme issue though, not a functional one.

And there's a link!

2 replies (+ 8 hidden)

It's got the number wrong though...

#5 in reply to: ↑ 4 @netweb
3 years ago

Replying to Ipstenu:

2 replies (+ 8 hidden)

It's got the number wrong though...

We'll fix the counts in #1971

#6 follow-up: @Ipstenu
3 years ago

Okay so after some testing, I think I figured out what's gone weird.

With 'old' posts, this is not an issue. View all works perfectly. But in cases where the pending post is new, it may not show up for up to 15 minutes. I believe this means it's a cache busting issue. How horrific would it be for &view=all to be a bust cache? It maybe would want a no cache param tacked on as well? so..

  • The view all link should always show for mods, regardless of if there are any.
  • The view all link should magically bust cache

#7 in reply to: ↑ 6 @netweb
3 years ago

Replying to Ipstenu:

With 'old' posts, this is not an issue. View all works perfectly. But in cases where the pending post is new, it may not show up for up to 15 minutes. I believe this means it's a cache busting issue. How horrific would it be for &view=all to be a bust cache? It maybe would want a no cache param tacked on as well? so..

bbPress handles cache busting itself pretty well for these types of actions normally, but nothing normal is going on here, so to prevent dotorg from melting down or exploding a custom cache has been added, the side affect of that cache is certain moderation actions such as approving a topic/reply are not busting the cache.

We have the technology, actually it's @jmdodd, Jennifer is going to bypass the cache queries that are affected by this for moderators, that we hope should resolve this issue for moderators at least, for now. It might take a bit of time for the user to see their topic/reply show up once approved though.

Last edited 3 years ago by netweb (previous) (diff)

#8 @SergeyBiryukov
2 years ago

  • Resolution set to worksforme
  • Status changed from new to closed

As far as I can tell, viewing Pending/Spam/Archived posts in the topic appears to be working as expected.

There were some issues with archived posts not being reflected in the counts or in Last Post info: #1971, #2043, #2171, however they should be fixed by now.

Feel free to reopen if there's still an issue.

Note: See TracTickets for help on using tickets.