[wp-meta] [Making WordPress.org] #6809: Support Forums: Provide more contextual information in pending views
Making WordPress.org
noreply at wordpress.org
Tue Feb 28 23:22:54 UTC 2023
#6809: Support Forums: Provide more contextual information in pending views
----------------------------+---------------------
Reporter: Clorith | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Support Forums | Resolution:
Keywords: |
----------------------------+---------------------
Comment (by Clorith):
[attachment:"6809.patch"] implements the view from
[attachment:"meta-6809.JPG"] as a proposed solution.
A few points of interest;
The diff-viewer for whatever shows spaces (they are tab indentations :) )
`get_user_posting_history` uses two direct WPDB queries to fetch post
counts, although often not great, in this case the count queries are quite
self-contained with enough limiting parameters that this should in theory
be fine to use, particularly in a specialized view such as we are working
within.
The alternative would likely be to use `get_posts` for the counts as well,
which would have had a much larger memory footprint as a trade-off, which
would have a much larger overall negative impact I believe.
For those who do reviews: Is this the kind of view that would help make
things more efficient for you?
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/6809#comment:1>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list