Ticket #2631: 2631.diff
File 2631.diff, 905 bytes (added by , 11 years ago) |
---|
-
src/includes/core/functions.php
140 140 /** 141 141 * Register a bbPress view 142 142 * 143 * @todo Implement feeds - See {@link http://trac.bbpress.org/ticket/1422}144 *145 143 * @since bbPress (r2789) 146 144 * 147 145 * @param string $view View name 148 146 * @param string $title View title 149 147 * @param mixed $query_args {@link bbp_has_topics()} arguments. 150 * @param bool $feed Have a feed for the view? Defaults to true. NOT IMPLEMENTED148 * @param bool $feed Have a feed for the view? Defaults to true. 151 149 * @param string $capability Capability that the current user must have 150 * 152 151 * @uses sanitize_title() To sanitize the view name 153 152 * @uses esc_html() To sanitize the view title 154 153 * @return array The just registered (but processed) view