Skip to:
Content

bbPress.org


Ignore:
Timestamp:
10/28/2015 04:07:50 AM (10 years ago)
Author:
netweb
Message:

Standardize @since PHPDoc tags style and format

This changeset updates the style and formatting of all of our @since instances for compatibility with phpDocumentor 2 and WP-Parser as we move toward implementing the bbPress developer code reference.

Props thebrandonallen
Fixes #2879

File:
1 edited

Legend:

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

    r5908 r5951  
    1818 * Allows all users to post links, quotes, code, formatting, lists, and images
    1919 *
    20  * @since bbPress (r4603)
     20 * @since 2.3.0 bbPress (r4603)
    2121 *
    2222 * @return array Associative array of allowed tags and attributes
     
    7777 * Custom kses filter for forum topics and replies, for filtering incoming data
    7878 *
    79  * @since bbPress (r4603)
     79 * @since 2.3.0 bbPress (r4603)
    8080 *
    8181 * @param string $data Content to filter, expected to be escaped with slashes
     
    8989 * Custom kses filter for forum topics and replies, for raw data
    9090 *
    91  * @since bbPress (r4603)
     91 * @since 2.3.0 bbPress (r4603)
    9292 *
    9393 * @param string $data Content to filter, expected to not be escaped
     
    103103 * Filter the topic or reply content and output code and pre tags
    104104 *
    105  * @since bbPress (r4641)
     105 * @since 2.3.0 bbPress (r4641)
    106106 *
    107107 * @param string $content Topic and reply content
     
    120120 * contains the correct editable content.
    121121 *
    122  * @since bbPress (r4641)
     122 * @since 2.3.0 bbPress (r4641)
    123123 *
    124124 * @param string $content Topic and reply content
     
    144144 * Filter the content and encode any bad HTML tags
    145145 *
    146  * @since bbPress (r4641)
     146 * @since 2.3.0 bbPress (r4641)
    147147 *
    148148 * @param string $content Topic and reply content
     
    187187 * Callback to encode the tags in topic or reply content
    188188 *
    189  * @since bbPress (r4641)
     189 * @since 2.3.0 bbPress (r4641)
    190190 *
    191191 * @param array $matches
     
    223223 * Callback to decode the tags in topic or reply content
    224224 *
    225  * @since bbPress (r4641)
     225 * @since 2.3.0 bbPress (r4641)
    226226 *
    227227 * @param array $matches
     
    252252 * Callback to replace empty HTML tags in a content string
    253253 *
    254  * @since bbPress (r4641)
     254 * @since 2.3.0 bbPress (r4641)
    255255 *
    256256 * @internal Used by bbp_encode_bad()
     
    268268 * Callback to replace normal HTML tags in a content string
    269269 *
    270  * @since bbPress (r4641)
     270 * @since 2.3.0 bbPress (r4641)
    271271 *
    272272 * @internal Used by bbp_encode_bad()
     
    286286 * Catches links so rel=nofollow can be added (on output, not save)
    287287 *
    288  * @since bbPress (r4865)
     288 * @since 2.3.0 bbPress (r4865)
     289 *
    289290 * @param string $text Post text
    290291 * @return string $text Text with rel=nofollow added to any links
     
    297298 * Adds rel=nofollow to a link
    298299 *
    299  * @since bbPress (r4865)
     300 * @since 2.3.0 bbPress (r4865)
     301 *
    300302 * @param array $matches
    301303 * @return string $text Link with rel=nofollow added
     
    318320 * pre and code tags.
    319321 *
    320  * @since bbPress (r4941)
     322 * @since 2.4.0 bbPress (r4941)
    321323 *
    322324 * @param string $text Content to convert URIs.
Note: See TracChangeset for help on using the changeset viewer.