Opened 8 years ago
Closed 7 years ago
#2594 closed enhancement (fixed)
Plugin Directory: List pending plugins on 'add' page
Reported by: | Ipstenu | Owned by: | tellyworth |
---|---|---|---|
Milestone: | Plugin Directory v3.0 | Priority: | normal |
Component: | Plugin Directory | Keywords: | has-patch commit has-screenshots |
Cc: |
Description
It would be nice to see the statuses of submitted plugins on the ADD page. This may help people stop submitting the same one multiple times when they've missed emails.
Example (below the Blue Box of X plugins waiting review)
Yellow Box: You have X plugins in the review queue, Y are being actively reviewed.
- Plugin 1 - Awaiting Review
- Plugin 2 - Being Reviewed
Please wait at least 7 business days before asking for an update status from plugins@…
X is how many plugins YOU own that are draft & pending.
Y is how many plugins are in PENDING.
Attachments (4)
Change History (14)
#3
follow-up:
↓ 4
@
8 years ago
Can we make use of WP_Query
in get_submitted_plugins()
rather than using direct SQL?
#4
in reply to:
↑ 3
;
follow-up:
↓ 6
@
8 years ago
Replying to dd32:
Can we make use of
WP_Query
inget_submitted_plugins()
rather than using direct SQL?
That was my initial attempt, but it didn't work due to Plugin_Directory::pre_get_posts()
altering the same query. Maybe it should bail early if not $wp_query->is_main_query()
? I'm not sure how that affects the API or other parts.
2594.3.patch does that and switches Upload::get_submitted_plugins()
to get_posts()
.
This ticket was mentioned in Slack in #meta by tellyworth. View the logs.
8 years ago
#6
in reply to:
↑ 4
@
8 years ago
Replying to SergeyBiryukov:
That was my initial attempt, but it didn't work due to
Plugin_Directory::pre_get_posts()
altering the same query. Maybe it should bail early if not$wp_query->is_main_query()
?
The same issue now happens in #2787, see comment:7:ticket:2787.
2594.patch implements the feature and fixes
_n()
usage for the existing string while we're at it.