| @@ -47,9 +47,9 @@ | ||
| 47 | 47 | * Searches in the child theme before parent theme so that themes which |
| 48 | 48 | * inherit from a parent theme can just overload one file. If the template is |
| 49 | 49 | * not found in either of those, it looks in the theme-compat folder last. |
| 50 | 50 | * |
| 51 | - * @since 2.1.0 bbPress (r3618) | |
| 51 | + * @since 2.1.0 bbPress (r3623) | |
| 52 | 52 | * |
| 53 | 53 | * @param string|array $template_names Template file(s) to search for, in order. |
| 54 | 54 | * @param bool $load If true the template file will be loaded if it is found. |
| 55 | 55 | * @param bool $require_once Whether to require_once or require. Default true. |
| @@ -116,9 +116,9 @@ | ||
| 116 | 116 | * will automatically attempt to locate a minified version of that file. |
| 117 | 117 | * |
| 118 | 118 | * See: https://bbpress.trac.wordpress.org/ticket/3218 |
| 119 | 119 | * |
| 120 | - * @since 2.6.0 | |
| 120 | + * @since 2.6.0 bbPress (r6862) | |
| 121 | 121 | * |
| 122 | 122 | * @param string $file |
| 123 | 123 | * |
| 124 | 124 | * @return boolean |
| @@ -165,9 +165,9 @@ | ||
| 165 | 165 | |
| 166 | 166 | /** |
| 167 | 167 | * Convert an enqueueable file path to a URL |
| 168 | 168 | * |
| 169 | - * @since 2.6.0 | |
| 169 | + * @since 2.6.0 bbPress (r6862) | |
| 170 | 170 | * @param string $file |
| 171 | 171 | * |
| 172 | 172 | * @return string |
| 173 | 173 | */ |
| @@ -192,9 +192,9 @@ | ||
| 192 | 192 | * Enqueue a script from the highest priority location in the template stack. |
| 193 | 193 | * |
| 194 | 194 | * Registers the style if file provided (does NOT overwrite) and enqueues. |
| 195 | 195 | * |
| 196 | - * @since 2.5.0 bbPress (r5180) | |
| 196 | + * @since 2.5.0 bbPress (r5181) | |
| 197 | 197 | * |
| 198 | 198 | * @param string $handle Name of the stylesheet. |
| 199 | 199 | * @param string|bool $file Relative path to stylesheet. Example: '/css/mystyle.css'. |
| 200 | 200 | * @param array $deps An array of registered style handles this stylesheet depends on. Default empty array. |
| @@ -237,9 +237,9 @@ | ||
| 237 | 237 | * Enqueue a script from the highest priority location in the template stack. |
| 238 | 238 | * |
| 239 | 239 | * Registers the style if file provided (does NOT overwrite) and enqueues. |
| 240 | 240 | * |
| 241 | - * @since 2.5.0 bbPress (r5180) | |
| 241 | + * @since 2.5.0 bbPress (r5181) | |
| 242 | 242 | * |
| 243 | 243 | * @param string $handle Name of the script. |
| 244 | 244 | * @param string|bool $file Relative path to the script. Example: '/js/myscript.js'. |
| 245 | 245 | * @param array $deps An array of registered handles this script depends on. Default empty array. |
| @@ -284,9 +284,9 @@ | ||
| 284 | 284 | * This allows for templates to live in places beyond just the parent/child |
| 285 | 285 | * relationship, to allow for custom template locations. Used in conjunction |
| 286 | 286 | * with bbp_locate_template(), this allows for easy template overrides. |
| 287 | 287 | * |
| 288 | - * @since 2.2.0 bbPress (r4323) | |
| 288 | + * @since 2.2.0 bbPress (r4324) | |
| 289 | 289 | * |
| 290 | 290 | * @param string $location_callback Callback function that returns the |
| 291 | 291 | * @param int $priority |
| 292 | 292 | */ |
| @@ -303,9 +303,9 @@ | ||
| 303 | 303 | |
| 304 | 304 | /** |
| 305 | 305 | * Deregisters a previously registered template stack location. |
| 306 | 306 | * |
| 307 | - * @since 2.3.0 bbPress (r4652) | |
| 307 | + * @since 2.3.0 bbPress (r4653) | |
| 308 | 308 | * |
| 309 | 309 | * @param string $location_callback Callback function that returns the |
| 310 | 310 | * @param int $priority |
| 311 | 311 | * @return bool Whether stack was removed |
| @@ -324,9 +324,9 @@ | ||
| 324 | 324 | /** |
| 325 | 325 | * Call the functions added to the 'bbp_template_stack' filter hook, and return |
| 326 | 326 | * an array of the template locations. |
| 327 | 327 | * |
| 328 | - * @since 2.2.0 bbPress (r4323) | |
| 328 | + * @since 2.2.0 bbPress (r4324) | |
| 329 | 329 | * @since 2.6.0 bbPress (r5944) Added support for `WP_Hook` |
| 330 | 330 | * |
| 331 | 331 | * @global array $wp_filter Stores all of the filters |
| 332 | 332 | * @global array $merged_filters Merges the filter hooks using this function. |
| @@ -453,9 +453,9 @@ | ||
| 453 | 453 | |
| 454 | 454 | /** |
| 455 | 455 | * Get the possible subdirectories to check for templates in |
| 456 | 456 | * |
| 457 | - * @since 2.1.0 bbPress (r3738) | |
| 457 | + * @since 2.1.0 bbPress (r3739) | |
| 458 | 458 | * |
| 459 | 459 | * @param array $templates Templates we are looking for |
| 460 | 460 | * @return array Possible subdirectories to look in |
| 461 | 461 | */ |
| @@ -472,9 +472,9 @@ | ||
| 472 | 472 | |
| 473 | 473 | /** |
| 474 | 474 | * Add template locations to template files being searched for |
| 475 | 475 | * |
| 476 | - * @since 2.1.0 bbPress (r3738) | |
| 476 | + * @since 2.3.0 bbPress (r4762) | |
| 477 | 477 | * |
| 478 | 478 | * @param array $stacks |
| 479 | 479 | * @return array() |
| 480 | 480 | */ |
| @@ -516,9 +516,9 @@ | ||
| 516 | 516 | * |
| 517 | 517 | * If it's a view page, WP_Query::bbp_is_view is set to true |
| 518 | 518 | * If it's a search page, WP_Query::bbp_is_search is set to true |
| 519 | 519 | * |
| 520 | - * @since 2.0.0 bbPress (r2688) | |
| 520 | + * @since 2.1.0 bbPress (r3646) | |
| 521 | 521 | * |
| 522 | 522 | * @param WP_Query $posts_query |
| 523 | 523 | */ |
| 524 | 524 | function bbp_parse_query( $posts_query ) { |