Skip to:
Content

bbPress.org

Ticket #2631: 2631.diff

File 2631.diff, 905 bytes (added by netweb, 11 years ago)
  • src/includes/core/functions.php

     
    140140/**
    141141 * Register a bbPress view
    142142 *
    143  * @todo Implement feeds - See {@link http://trac.bbpress.org/ticket/1422}
    144  *
    145143 * @since bbPress (r2789)
    146144 *
    147145 * @param string $view View name
    148146 * @param string $title View title
    149147 * @param mixed $query_args {@link bbp_has_topics()} arguments.
    150  * @param bool $feed Have a feed for the view? Defaults to true. NOT IMPLEMENTED
     148 * @param bool $feed Have a feed for the view? Defaults to true.
    151149 * @param string $capability Capability that the current user must have
     150 *
    152151 * @uses sanitize_title() To sanitize the view name
    153152 * @uses esc_html() To sanitize the view title
    154153 * @return array The just registered (but processed) view