[wp-trac] [WordPress Trac] #41350: Support for random order in WP_Term_Query::query()
WordPress Trac
noreply at wordpress.org
Mon Oct 2 20:45:39 UTC 2017
#41350: Support for random order in WP_Term_Query::query()
-------------------------------------------------+-------------------------
Reporter: camthor | Owner:
Type: feature request | SergeyBiryukov
Priority: normal | Status: closed
Component: Taxonomy | Milestone:
Severity: normal | Version: 4.8
Keywords: good-first-bug has-patch has-unit- | Resolution: wontfix
tests | Focuses:
-------------------------------------------------+-------------------------
Comment (by camthor):
So this is already closed? I don't quite understand the argument to
prevent wrong coding practices on the API level. There is plenty of
possibilities where server performance can be negativly affected, and I
don't see why rand() for terms crosses that line, while rand() for posts
doesn't. If the code is badly designed, it is better to improve it, rather
than "locking away" resource intensive functions from the people. Somehow
it feels strange to me to promote Wordpress as "open" if we at the same
time "incapacitate" the programmers because they could possibly do
something wrong. After all, if a plugin is a resource hog, all you need to
do is deactivate it.
OK, that's just my 2 cents, since I started the ticket. I will, of course,
accept your decision, you have far more experience than I. :-)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41350#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list