Add set method.

git-svn-id: https://develop.svn.wordpress.org/trunk@2177 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2005-02-01 01:04:08 +00:00
parent 3213112f89
commit f4ae90174e
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;