Changeset 6438 for trunk/src/includes/common/formatting.php
- Timestamp:
- 05/27/2017 05:04:31 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/common/formatting.php
r6380 r6438 23 23 */ 24 24 function bbp_kses_allowed_tags() { 25 return apply_filters( 'bbp_kses_allowed_tags', array( 25 26 // Filter & return 27 return (array) apply_filters( 'bbp_kses_allowed_tags', array( 26 28 27 29 // Links … … 528 530 529 531 // Filter & return 530 return apply_filters( 'bbp_number_not_negative', $not_less_than_zero, $int, $number );532 return (int) apply_filters( 'bbp_number_not_negative', $not_less_than_zero, $int, $number ); 531 533 } 532 534 … … 549 551 } 550 552 553 // Filter & return 551 554 return apply_filters( 'bbp_number_format', number_format( $number, $decimals, $dec_point, $thousands_sep ), $number, $decimals, $dec_point, $thousands_sep ); 552 555 } … … 570 573 } 571 574 575 // Filter & return 572 576 return apply_filters( 'bbp_number_format_i18n', number_format_i18n( $number, $decimals ), $number, $decimals ); 573 577 } … … 593 597 $new_time = mysql2date( $d, $time, $translate ); 594 598 599 // Filter & return 595 600 return apply_filters( 'bbp_convert_date', $new_time, $d, $translate, $time ); 596 601 } … … 711 716 } 712 717 718 // Filter & return 713 719 return apply_filters( 'bbp_get_time_since', $output, $older_date, $newer_date ); 714 720 }
Note: See TracChangeset
for help on using the changeset viewer.