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/core/theme-compat.php

    r5909 r5951  
    3232 * extending this class, as is @link bbp_setup_theme_compat()
    3333 *
    34  * @since bbPress (r3506)
     34 * @since 2.0.0 bbPress (r3506)
    3535 */
    3636class BBP_Theme_Compat {
     
    5353     * Pass the $properties to the object on creation.
    5454     *
    55      * @since bbPress (r3926)
     55     * @since 2.1.0 bbPress (r3926)
     56     *
    5657     * @param array $properties
    5758     */
     
    6364     * Set a theme's property.
    6465     *
    65      * @since bbPress (r3926)
     66     * @since 2.1.0 bbPress (r3926)
     67     *
    6668     * @param string $property
    6769     * @param mixed $value
     
    7577     * Get a theme's property.
    7678     *
    77      * @since bbPress (r3926)
     79     * @since 2.1.0 bbPress (r3926)
     80     *
    7881     * @param string $property
    7982     * @param mixed $value
     
    9295 * Setup the default theme compat theme
    9396 *
    94  * @since bbPress (r3311)
     97 * @since 2.0.0 bbPress (r3311)
     98 *
    9599 * @param BBP_Theme_Compat $theme
    96100 */
     
    116120 * default and include their own bbPress compatibility layers for their themes.
    117121 *
    118  * @since bbPress (r3506)
     122 * @since 2.0.0 bbPress (r3506)
     123 *
    119124 * @uses apply_filters()
    120125 * @return string
     
    130135 * default and include their own bbPress compatibility layers for their themes.
    131136 *
    132  * @since bbPress (r3506)
     137 * @since 2.0.0 bbPress (r3506)
     138 *
    133139 * @uses apply_filters()
    134140 * @return string
     
    144150 * default and include their own bbPress compatibility layers for their themes.
    145151 *
    146  * @since bbPress (r3506)
     152 * @since 2.0.0 bbPress (r3506)
     153 *
    147154 * @uses apply_filters()
    148155 * @return string
     
    158165 * their own bbPress compatibility layers for their themes.
    159166 *
    160  * @since bbPress (r3032)
     167 * @since 2.0.0 bbPress (r3032)
     168 *
    161169 * @uses apply_filters()
    162170 * @return string
     
    172180 * their own bbPress compatibility layers for their themes.
    173181 *
    174  * @since bbPress (r3032)
     182 * @since 2.0.0 bbPress (r3032)
     183 *
    175184 * @uses apply_filters()
    176185 * @return string
     
    183192 * Gets true/false if page is currently inside theme compatibility
    184193 *
    185  * @since bbPress (r3265)
     194 * @since 2.0.0 bbPress (r3265)
     195 *
    186196 * @return bool
    187197 */
     
    199209 * Sets true/false if page is currently inside theme compatibility
    200210 *
    201  * @since bbPress (r3265)
     211 * @since 2.0.0 bbPress (r3265)
     212 *
    202213 * @param bool $set
    203214 * @return bool
     
    215226 * to override them, or see what files are being scanned for inclusion.
    216227 *
    217  * @since bbPress (r3311)
     228 * @since 2.0.0 bbPress (r3311)
    218229 */
    219230function bbp_set_theme_compat_templates( $templates = array() ) {
     
    229240 * to override it, or see what file is being included.
    230241 *
    231  * @since bbPress (r3311)
     242 * @since 2.0.0 bbPress (r3311)
    232243 */
    233244function bbp_set_theme_compat_template( $template = '' ) {
     
    243254 * if bbPress was able to find a more appropriate template.
    244255 *
    245  * @since bbPress (r3926)
     256 * @since 2.1.0 bbPress (r3926)
    246257 */
    247258function bbp_set_theme_compat_original_template( $template = '' ) {
     
    257268 * if bbPress was able to find a more appropriate template.
    258269 *
    259  * @since bbPress (r3926)
     270 * @since 2.1.0 bbPress (r3926)
    260271 */
    261272function bbp_is_theme_compat_original_template( $template = '' ) {
     
    272283 * Register a new bbPress theme package to the active theme packages array
    273284 *
    274  * @since bbPress (r3829)
     285 * @since 2.1.0 bbPress (r3829)
     286 *
    275287 * @param array $theme
    276288 */
     
    299311 * stop your average page template from complaining about it missing.
    300312 *
    301  * @since bbPress (r3108)
     313 * @since 2.0.0 bbPress (r3108)
     314 *
    302315 * @global WP_Query $wp_query
    303316 * @global object $post
     
    420433 * template part as needed.
    421434 *
    422  * @since bbPress (r3032)
     435 * @since 2.0.0 bbPress (r3032)
     436 *
    423437 * @param string $template
    424438 * @uses bbp_is_single_user() To check if page is single user
     
    805819 * Remove the canonical redirect to allow pretty pagination
    806820 *
    807  * @since bbPress (r2628)
     821 * @since 2.0.0 bbPress (r2628)
    808822 *
    809823 * @param string $redirect_url Redirect url
     
    863877 * global in the event they need to be restored later.
    864878 *
    865  * @since bbPress (r3251)
     879 * @since 2.0.0 bbPress (r3251)
     880 *
    866881 * @global WP_filter $wp_filter
    867882 * @global array $merged_filters
     
    915930 * bbp_remove_all_filters()
    916931 *
    917  * @since bbPress (r3251)
     932 * @since 2.0.0 bbPress (r3251)
     933 *
    918934 * @global WP_filter $wp_filter
    919935 * @global array $merged_filters
     
    966982 * Force comments_status to 'closed' for bbPress post types
    967983 *
    968  * @since bbPress (r3589)
     984 * @since 2.1.0 bbPress (r3589)
     985 *
    969986 * @param bool $open True if open, false if closed
    970987 * @param int $post_id ID of the post to check
Note: See TracChangeset for help on using the changeset viewer.