Changeset 10821 for trunk/src/bp-forums/bp-forums-bbpress-sa.php
- Timestamp:
- 05/29/2016 07:08:27 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-forums/bp-forums-bbpress-sa.php
r10417 r10821 13 13 /** 14 14 * Bootstrap bbPress 1.x, and manipulate globals to integrate with BuddyPress. 15 * 16 * @since 1.1.0 15 17 * 16 18 * @return bool|null Returns false on failure. … … 157 159 * Get the current bbPress user. 158 160 * 161 * @since 1.1.0 162 * 159 163 * @return object $current_user Current user object from WordPress. 160 164 */ … … 163 167 /** 164 168 * Get userdata for a bbPress user. 169 * 170 * @since 1.1.0 165 171 * 166 172 * @param int $user_id User ID. … … 174 180 * Noop. 175 181 * 182 * @since 1.1.0 183 * 176 184 * @param array $users Array of users. 177 185 */ … … 180 188 /** 181 189 * The bbPress plugin needs this class for its usermeta manipulation. 190 * 191 * @since 1.1.0 182 192 */ 183 193 class BP_Forums_BB_Auth { 194 195 /** 196 * Update usermeta data. 197 * 198 * @since 1.1.0 199 * 200 * @param string $args Array of arguments. 201 * @return bool 202 */ 184 203 function update_meta( $args = '' ) { 185 204 $defaults = array( 'id' => 0, 'meta_key' => null, 'meta_value' => null, 'meta_table' => 'usermeta', 'meta_field' => 'user_id', 'cache_group' => 'users' ); … … 199 218 */ 200 219 if ( ! class_exists( 'BPDB' ) ) : 220 221 /** 222 * WPDB class extension. 223 * 224 * @since 1.1.0 225 */ 201 226 class BPDB extends WPDB { 202 227 var $db_servers = array(); … … 204 229 /** 205 230 * Constructor. 231 * 232 * @since 1.1.0 206 233 * 207 234 * @see WPDB::__construct() for description of parameters. … … 226 253 * supported by WordPress' minimum required MySQL version, so 227 254 * this is safe. 255 * 256 * @since 1.1.0 228 257 * 229 258 * @see WPDB::has_cap() for a description of parameters and … … 280 309 * Stub for escape_deep() compatibility. 281 310 * 311 * @since 1.1.0 312 * 282 313 * @see WPDB::escape_deep() for description of parameters and 283 314 * return values. … … 296 327 * 297 328 * The bbPress plugin needs this to convert vars. 329 * 330 * @since 1.1.0 298 331 * 299 332 * @param object $object Object to convert. … … 318 351 * Copied from wp-admin/includes/upgrade.php, this will take care of creating 319 352 * the bbPress stand-alone tables without loading a conflicting WP Admin. 353 * 354 * @since 1.5.0 320 355 * 321 356 * @see dbDelta() for a description of parameters and return value.
Note: See TracChangeset
for help on using the changeset viewer.