From 01b7f5aaf4ae86c7df4a76904a7f14b56f4e85fb Mon Sep 17 00:00:00 2001
From: rboren <rboren@1a063a9b-81f0-0310-95a4-ce76da25c4cd>
Date: Tue, 1 Feb 2005 01:04:08 +0000
Subject: [PATCH] Add set method.

git-svn-id: http://svn.automattic.com/wordpress/trunk@2177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
---
 wp-includes/classes.php | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/wp-includes/classes.php b/wp-includes/classes.php
index e7073c11a3..7c9393ac15 100644
--- a/wp-includes/classes.php
+++ b/wp-includes/classes.php
@@ -195,6 +195,10 @@ class WP_Query {
 		return '';
 	}
 
+	function set($query_var, $value) {
+		$this->query_vars[$query_var] = $value;
+	}
+
 	function get_posts() {
 		global $wpdb, $pagenow, $request, $user_ID;