Changeset 6359 for trunk/src/includes/users/options.php
- Timestamp:
- 03/03/2017 09:28:09 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/users/options.php
r6358 r6359 22 22 // Default options 23 23 return apply_filters( 'bbp_get_default_user_options', array( 24 '_bbp_last_posted' => '0', // For checking flooding 25 '_bbp_topic_count' => '0', // Total topics per site 26 '_bbp_reply_count' => '0', // Total replies per site 27 '_bbp_favorites' => '', // Favorite topics per site 28 '_bbp_subscriptions' => '' // Subscribed topics per site 24 '_bbp_last_posted' => '0', // For checking flooding 25 '_bbp_topic_count' => '0', // Total topics per site 26 '_bbp_reply_count' => '0' // Total replies per site 29 27 ) ); 30 28 } … … 200 198 */ 201 199 function bbp_user_topic_count( $user_id = 0, $integer = false ) { 202 echo bbp_get_user_topic_count( $user_id, $integer);200 echo esc_html( bbp_get_user_topic_count( $user_id, $integer ) ); 203 201 } 204 202 /** … … 241 239 */ 242 240 function bbp_user_reply_count( $user_id = 0, $integer = false ) { 243 echo bbp_get_user_reply_count( $user_id, $integer);241 echo esc_html( bbp_get_user_reply_count( $user_id, $integer ) ); 244 242 } 245 243 /** … … 282 280 */ 283 281 function bbp_user_post_count( $user_id = 0, $integer = false ) { 284 echo bbp_get_user_post_count( $user_id, $integer);282 echo esc_html( bbp_get_user_post_count( $user_id, $integer ) ); 285 283 } 286 284 /**
Note: See TracChangeset
for help on using the changeset viewer.