Changeset 4996
- Timestamp:
- 06/23/2013 07:00:11 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
-
bbpress.php (modified) (2 diffs)
-
includes/common/shortcodes.php (modified) (1 diff)
-
includes/users/functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bbpress.php
r4993 r4996 247 247 $this->current_topic_tag_id = 0; // Current topic tag id 248 248 249 $this->forum_query = new stdClass(); // Main forum query250 $this->topic_query = new stdClass(); // Main topic query251 $this->reply_query = new stdClass(); // Main reply query252 $this->search_query = new stdClass(); // Main search query249 $this->forum_query = new WP_Query(); // Main forum query 250 $this->topic_query = new WP_Query(); // Main topic query 251 $this->reply_query = new WP_Query(); // Main reply query 252 $this->search_query = new WP_Query(); // Main search query 253 253 254 254 /** Theme Compat ******************************************************/ … … 259 259 /** Users *************************************************************/ 260 260 261 $this->current_user = new stdClass(); // Currently logged in user262 $this->displayed_user = new stdClass(); // Currently displayed user261 $this->current_user = new WP_User(); // Currently logged in user 262 $this->displayed_user = new WP_User(); // Currently displayed user 263 263 264 264 /** Misc **************************************************************/ -
trunk/includes/common/shortcodes.php
r4971 r4996 120 120 121 121 // Unset global queries 122 $bbp->forum_query = new stdClass;123 $bbp->topic_query = new stdClass;124 $bbp->reply_query = new stdClass;125 $bbp->search_query = new stdClass;122 $bbp->forum_query = new WP_Query(); 123 $bbp->topic_query = new WP_Query(); 124 $bbp->reply_query = new WP_Query(); 125 $bbp->search_query = new WP_Query(); 126 126 127 127 // Unset global ID's -
trunk/includes/users/functions.php
r4995 r4996 869 869 870 870 if ( $new_email['hash'] === $_GET['newuseremail'] ) { 871 $user = new stdClass();871 $user = new WP_User(); 872 872 $user->ID = $user_id; 873 873 $user->user_email = esc_html( trim( $new_email['newemail'] ) );
Note: See TracChangeset
for help on using the changeset viewer.