WordPress.org

Ready to get started?Download WordPress

Forums

Amendment to 'wp-includes\user.php' (1 post)

  1. Ryan Ball
    Member
    Posted 2 years ago #

    Could I make a request for an amendment to be made to the prepare_query() function within the user.php file?

    I would love to see the following code added in at line 446 which would allow the array returned from get_users() to be randomly ordered. Bringing it (almost) inline with get_posts() and get_pages().

    } elseif ( 'rand' == $qv['orderby'] ) {
    	$orderby = 'RAND()';

Topic Closed

This topic has been closed to new replies.

About this Topic