[wp-trac] [WordPress Trac] #15828: Alphabetized My Sites
WordPress Trac
wp-trac at lists.automattic.com
Tue Apr 5 02:22:04 UTC 2011
#15828: Alphabetized My Sites
-------------------------------------+-----------------------------
Reporter: scep | Owner: jakub.tyrcha
Type: enhancement | Status: accepted
Priority: normal | Milestone: Future Release
Component: Multisite | Version:
Severity: minor | Resolution:
Keywords: has-patch needs-testing |
-------------------------------------+-----------------------------
Changes (by jakub.tyrcha):
* keywords: => has-patch needs-testing
* owner: => jakub.tyrcha
* status: new => accepted
Comment:
I don't think the original idea is a good solution - get_blogs_of_user is
called in several places and doing a sort outside of this function doesn't
make any good. Instead, I propose to introduce internal sorting - it looks
much better and does a better job. Patch attached. Also, I improved it to
allow sorting by every variable, not only the blogname.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15828#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list