[wp-hackers] Working $allowed_keys

David House dmhouse at gmail.com
Sat Sep 3 17:15:21 GMT 2005


On 03/09/05, Kaf Oseo <kaf at szub.net> wrote:
> "Allowed keys" for orderby var really should include 'modified'. But
> since it doesn't... Beside an edit to classes.php, can I override or
> append to the $allowed_keys array under get_posts in WP_Query class?

Your best bet for the long run is to file a bug report. Sadly, that
would likely only get included in the next major release.

-- 
-David House, dmhouse at gmail.com, http://xmouse.ithium.net


More information about the wp-hackers mailing list