mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Add set method.
git-svn-id: https://develop.svn.wordpress.org/trunk@2177 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user