Add set method.

git-svn-id: http://svn.automattic.com/wordpress/trunk@2177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rboren 2005-02-01 01:04:08 +00:00
parent 65950b5a8d
commit 01b7f5aaf4
1 changed files with 4 additions and 0 deletions

View File

@ -195,6 +195,10 @@ class WP_Query {
return ''; return '';
} }
function set($query_var, $value) {
$this->query_vars[$query_var] = $value;
}
function get_posts() { function get_posts() {
global $wpdb, $pagenow, $request, $user_ID; global $wpdb, $pagenow, $request, $user_ID;