Skip to:
Content

bbPress.org


Ignore:
Timestamp:
06/16/2017 09:20:52 PM (7 years ago)
Author:
johnjamesjacoby
Message:

Documentation: Remove all @uses usages.

Per the WordPress inline documentation standards:

the @uses tag is not recommended to be used to indicate a used-by relationship, as this information can be derived through other means. These tags also are very likely to become out-of-date as our functions change over time.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/common/formatting.php

    r6438 r6573  
    108108 *
    109109 * @param string $content Topic and reply content
    110  * @return string Partially encodedd content
     110 * @return string Partially encoded content
    111111 */
    112112function bbp_code_trick( $content = '' ) {
     
    125125 *
    126126 * @param string $content Topic and reply content
    127  * @return string Partially encodedd content
     127 * @return string Partially encoded content
    128128 */
    129129function bbp_code_trick_reverse( $content = '' ) {
     
    149149 *
    150150 * @param string $content Topic and reply content
    151  * @return string Partially encodedd content
     151 * @return string Partially encoded content
    152152 */
    153153function bbp_encode_bad( $content = '' ) {
     
    540540 * @param string $number Number to format
    541541 * @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 *
    544543 * @return string Formatted string
    545544 */
     
    562561 * @param string $number Number to format
    563562 * @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 *
    566564 * @return string Formatted string
    567565 */
     
    588586 *                             format
    589587 * @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 *
    594589 * @return string Returns timestamp
    595590 */
     
    610605 *                            difference ends. False for current time.
    611606 * @param int $gmt Optional. Whether to use GMT timezone. Default is false.
    612  * @uses bbp_get_time_since() To get the formatted time
    613607 */
    614608function bbp_time_since( $older_date, $newer_date = false, $gmt = false ) {
     
    624618     *                            difference ends. False for current time.
    625619     * @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     *
    630621     * @return string Formatted time
    631622     */
Note: See TracChangeset for help on using the changeset viewer.