Changeset 6573 for trunk/src/includes/common/formatting.php
- Timestamp:
- 06/16/2017 09:20:52 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/common/formatting.php
r6438 r6573 108 108 * 109 109 * @param string $content Topic and reply content 110 * @return string Partially encoded dcontent110 * @return string Partially encoded content 111 111 */ 112 112 function bbp_code_trick( $content = '' ) { … … 125 125 * 126 126 * @param string $content Topic and reply content 127 * @return string Partially encoded dcontent127 * @return string Partially encoded content 128 128 */ 129 129 function bbp_code_trick_reverse( $content = '' ) { … … 149 149 * 150 150 * @param string $content Topic and reply content 151 * @return string Partially encoded dcontent151 * @return string Partially encoded content 152 152 */ 153 153 function bbp_encode_bad( $content = '' ) { … … 540 540 * @param string $number Number to format 541 541 * @param string $decimals Optional. Display decimals 542 * @uses apply_filters() Calls 'bbp_number_format' with the formatted values, 543 * number and display decimals bool 542 * 544 543 * @return string Formatted string 545 544 */ … … 562 561 * @param string $number Number to format 563 562 * @param string $decimals Optional. Display decimals 564 * @uses apply_filters() Calls 'bbp_number_format' with the formatted values, 565 * number and display decimals bool 563 * 566 564 * @return string Formatted string 567 565 */ … … 588 586 * format 589 587 * @param bool $translate Optional. Default is false. Whether to translate the 590 * result 591 * @uses mysql2date() To convert the format 592 * @uses apply_filters() Calls 'bbp_convert_date' with the time, date format 593 * and translate bool 588 * 594 589 * @return string Returns timestamp 595 590 */ … … 610 605 * difference ends. False for current time. 611 606 * @param int $gmt Optional. Whether to use GMT timezone. Default is false. 612 * @uses bbp_get_time_since() To get the formatted time613 607 */ 614 608 function bbp_time_since( $older_date, $newer_date = false, $gmt = false ) { … … 624 618 * difference ends. False for current time. 625 619 * @param int $gmt Optional. Whether to use GMT timezone. Default is false. 626 * @uses current_time() To get the current time in mysql format 627 * @uses human_time_diff() To get the time differene in since format 628 * @uses apply_filters() Calls 'bbp_get_time_since' with the time 629 * difference and time 620 * 630 621 * @return string Formatted time 631 622 */
Note: See TracChangeset
for help on using the changeset viewer.