PluginProbe
bbPress / 2.6.19
bbPress v2.6.19
2.6.19 2.6.18 2.6.17 trunk 2.0 2.0-beta-1 2.0-beta-2b 2.0-beta-3 2.0-beta-3b 2.0-rc-2 2.0-rc-3 2.0-rc-4 2.0-rc-5 2.0.1 2.0.2 2.0.3 2.1 2.1-beta-1 2.1-rc1 2.1-rc2 2.1-rc3 2.1-rc4 2.1.1 2.1.2 2.1.3 All 74 releases
← All changes | includes/core/abstraction.php +22 -22 2.6.17 → 2.6.19 View file →
@@ -22,9 +22,9 @@
22 22 * This exists outside of "/includes/admin/" because the converter may need to
23 23 * be setup to convert the passwords of users that were migrated from another
24 24 * forum platform.
25 25 *
26 - * @since 2.6.0 bbPress (r2596)
26 + * @since 2.6.0 bbPress (r6601)
27 27 */
28 28 function bbp_setup_admin() {
29 29 $bbp = bbpress();
30 30
@@ -50,9 +50,9 @@
50 50 * This exists outside of "/includes/admin/" because the converter may need to
51 51 * be setup to convert the passwords of users that were migrated from another
52 52 * forum platform.
53 53 *
54 - * @since 2.6.0 bbPress (r2596)
54 + * @since 2.6.0 bbPress (r6601)
55 55 */
56 56 function bbp_setup_converter() {
57 57 $bbp_admin = bbp_setup_admin();
58 58
@@ -79,9 +79,9 @@
79 79
80 80 /**
81 81 * Lookup and return a global variable
82 82 *
83 - * @since 2.5.8 bbPress (r5814)
83 + * @since 2.6.0 bbPress (r5826)
84 84 *
85 85 * @param string $name Name of global variable
86 86 * @param string $type Type of variable to check with `is_a()`
87 87 * @param mixed $default Default value to return if no global found
@@ -113,9 +113,9 @@
113 113
114 114 /**
115 115 * Get the `$wp_query` global without needing to declare it everywhere
116 116 *
117 - * @since 2.6.0 bbPress (r6582)
117 + * @since 2.6.0 bbPress (r6583)
118 118 *
119 119 * @return WP_Roles
120 120 */
121 121 function bbp_get_wp_query() {
@@ -139,9 +139,9 @@
139 139 * This function is abstracted to avoid global touches to the primary database
140 140 * class. bbPress supports WordPress's `$wpdb` global by default, and can be
141 141 * filtered to support other configurations if needed.
142 142 *
143 - * @since 2.5.8 bbPress (r5814)
143 + * @since 2.6.0 bbPress (r5826)
144 144 *
145 145 * @return object
146 146 */
147 147 function bbp_db() {
@@ -173,9 +173,9 @@
173 173 * database operation fails, or all attempts lose to concurrent writes. It is
174 174 * intended for uniquely keyed numeric count metadata; WordPress metadata tables
175 175 * do not enforce uniqueness during simultaneous first-time inserts.
176 176 *
177 - * @since 2.6.17
177 + * @since 2.6.17 bbPress (r7468)
178 178 *
179 179 * @see https://bbpress.trac.wordpress.org/ticket/3678
180 180 *
181 181 * @param string $meta_type Type of object metadata is for.
@@ -200,9 +200,9 @@
200 200 * Short-circuits bumping numeric metadata.
201 201 *
202 202 * Returning a non-null value prevents the normal metadata update.
203 203 *
204 - * @since 2.6.17
204 + * @since 2.6.17 bbPress (r7468)
205 205 *
206 206 * @param null|bool $check Whether to short-circuit the metadata update.
207 207 * @param string $meta_type Type of object metadata is for.
208 208 * @param int $object_id ID of the object metadata is for.
@@ -217,9 +217,9 @@
217 217
218 218 /**
219 219 * Filters the metadata types that support atomic count updates.
220 220 *
221 - * @since 2.6.17
221 + * @since 2.6.17 bbPress (r7468)
222 222 *
223 223 * @param array $meta_types Supported metadata types.
224 224 * @param string $meta_type Requested metadata type.
225 225 * @param int $object_id ID of the object metadata is for.
@@ -245,9 +245,9 @@
245 245
246 246 /**
247 247 * Filters the maximum number of conditional metadata write attempts.
248 248 *
249 - * @since 2.6.17
249 + * @since 2.6.17 bbPress (r7468)
250 250 *
251 251 * @param int $max_attempts Maximum number of attempts.
252 252 * @param string $meta_type Type of object metadata is for.
253 253 * @param int $object_id ID of the object metadata is for.
@@ -404,9 +404,9 @@
404 404 * This function is abstracted to avoid global touches to the primary rewrite
405 405 * rules class. bbPress supports WordPress's `$wp_rewrite` by default, but can
406 406 * be filtered to support other configurations if needed.
407 407 *
408 - * @since 2.5.8 bbPress (r5814)
408 + * @since 2.6.0 bbPress (r5826)
409 409 *
410 410 * @return object
411 411 */
412 412 function bbp_rewrite() {
@@ -422,9 +422,9 @@
422 422
423 423 /**
424 424 * Get the root URL
425 425 *
426 - * @since 2.5.8 bbPress (r5814)
426 + * @since 2.6.0 bbPress (r5823)
427 427 *
428 428 * @return string
429 429 */
430 430 function bbp_get_root_url() {
@@ -444,9 +444,9 @@
444 444
445 445 /**
446 446 * Get the slug used for paginated requests
447 447 *
448 - * @since 2.4.0 bbPress (r4926)
448 + * @since 2.4.0 bbPress (r4927)
449 449 *
450 450 * @return string
451 451 */
452 452 function bbp_get_paged_slug() {
@@ -466,9 +466,9 @@
466 466
467 467 /**
468 468 * Is the environment using pretty URLs?
469 469 *
470 - * @since 2.5.8 bbPress (r5814)
470 + * @since 2.6.0 bbPress (r5826)
471 471 *
472 472 * @global object $wp_rewrite The WP_Rewrite object
473 473 *
474 474 * @return bool
@@ -495,9 +495,9 @@
495 495 * This is a bit of an SEO hack, to guarantee that the first page in a loop will
496 496 * never have pagination appended to the end of it, regardless of what the other
497 497 * functions have decided for us.
498 498 *
499 - * @since 2.6.0 bbPress (r6678)
499 + * @since 2.6.0 bbPress (r6680)
500 500 *
501 501 * @param string $pagination_links The HTML links used for pagination
502 502 *
503 503 * @return string
@@ -521,9 +521,9 @@
521 521 /**
522 522 * A convenient wrapper for common calls to paginate_links(), complete with
523 523 * support for parameters that aren't used internally by bbPress.
524 524 *
525 - * @since 2.6.0 bbPress (r6679)
525 + * @since 2.6.0 bbPress (r6680)
526 526 *
527 527 * @param array $args
528 528 *
529 529 * @return string
@@ -585,9 +585,9 @@
585 585
586 586 /**
587 587 * Is this a large bbPress installation?
588 588 *
589 - * @since 2.6.0 bbPress (r6242)
589 + * @since 2.6.0 bbPress (r6243)
590 590 *
591 591 * @return bool True if more than 10000 users, false not
592 592 */
593 593 function bbp_is_large_install() {
@@ -620,9 +620,9 @@
620 620 * Switch to a site in a multisite installation.
621 621 *
622 622 * If not a multisite installation, no switching will occur.
623 623 *
624 - * @since 2.6.0 bbPress (r6733)
624 + * @since 2.6.0 bbPress (r6734)
625 625 *
626 626 * @param int $site_id
627 627 */
628 628 function bbp_switch_to_site( $site_id = 0 ) {
@@ -637,9 +637,9 @@
637 637 * Switch back to the original site in a multisite installation.
638 638 *
639 639 * If not a multisite installation, no switching will occur.
640 640 *
641 - * @since 2.6.0 bbPress (r6733)
641 + * @since 2.6.0 bbPress (r6734)
642 642 */
643 643 function bbp_restore_current_site() {
644 644
645 645 // Switch back to the original site
@@ -652,9 +652,9 @@
652 652
653 653 /**
654 654 * Generate a default intercept value.
655 655 *
656 - * @since 2.6.0
656 + * @since 2.6.0 bbPress (r6751)
657 657 *
658 658 * @staticvar mixed $rand Null by default, random string on first call
659 659 *
660 660 * @return string
@@ -685,9 +685,9 @@
685 685
686 686 /**
687 687 * Whether a value has been intercepted
688 688 *
689 - * @since 2.6.0
689 + * @since 2.6.0 bbPress (r6751)
690 690 *
691 691 * @param bool $value
692 692 */
693 693 function bbp_is_intercepted( $value = '' ) {
@@ -696,9 +696,9 @@
696 696
697 697 /**
698 698 * Allow interception of a method or function call.
699 699 *
700 - * @since 2.6.0
700 + * @since 2.6.0 bbPress (r6751)
701 701 *
702 702 * @param string $action Typically the name of the caller function
703 703 * @param array $args Typically the results of caller function func_get_args()
704 704 *
@@ -736,9 +736,9 @@
736 736
737 737 /**
738 738 * Get an empty datetime value.
739 739 *
740 - * @since 2.6.6 bbPress (r7094)
740 + * @since 2.6.6 bbPress (r7100)
741 741 *
742 742 * @return string
743 743 */
744 744 function bbp_get_empty_datetime() {