Changeset 4209
- Timestamp:
- 09/08/2012 11:03:42 PM (13 years ago)
- File:
- 1 edited
- trunk/bbp-includes/bbp-core-functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
trunk/bbp-includes/bbp-core-functions.php
r4198 r4209 271 271 */ 272 272 function bbp_has_errors() { 273 274 // Check for errors275 273 $has_errors = bbpress()->errors->get_error_codes() ? true : false; 276 274 277 // Filter return value 278 $has_errors = apply_filters( 'bbp_has_errors', $has_errors, bbpress()->errors ); 279 280 return $has_errors; 275 return apply_filters( 'bbp_has_errors', $has_errors, bbpress()->errors ); 281 276 } 282 277
Note: See TracChangeset for help on using the changeset viewer.