| @@ -159,9 +159,9 @@ | ||
| 159 | 159 | * |
| 160 | 160 | * Hooked to bbp_activate, it is only called once when bbPress is activated. |
| 161 | 161 | * This is non-destructive, so existing settings will not be overridden. |
| 162 | 162 | * |
| 163 | - * @since 2.0.0 bbPress (r3421) | |
| 163 | + * @since 2.0.0 bbPress (r2786) | |
| 164 | 164 | */ |
| 165 | 165 | function bbp_add_options() { |
| 166 | 166 | |
| 167 | 167 | // Add default options |
| @@ -195,9 +195,9 @@ | ||
| 195 | 195 | /** |
| 196 | 196 | * Add filters to each bbPress option and allow them to be overloaded from |
| 197 | 197 | * inside the $bbp->options array. |
| 198 | 198 | * |
| 199 | - * @since 2.0.0 bbPress (r3451) | |
| 199 | + * @since 2.0.0 bbPress (r3452) | |
| 200 | 200 | */ |
| 201 | 201 | function bbp_setup_option_filters() { |
| 202 | 202 | |
| 203 | 203 | // Add filters to each bbPress option |
| @@ -214,9 +214,9 @@ | ||
| 214 | 214 | * Filter pre options and maybe overloaded from the $bbp->options array. |
| 215 | 215 | * |
| 216 | 216 | * This function should not be called directly. |
| 217 | 217 | * |
| 218 | - * @since 2.0.0 bbPress (r3451) | |
| 218 | + * @since 2.6.0 bbPress (r6544) | |
| 219 | 219 | * @access private |
| 220 | 220 | * |
| 221 | 221 | * @param bool $value Default value false |
| 222 | 222 | * @param string $option Name of the option |
| @@ -238,9 +238,9 @@ | ||
| 238 | 238 | * Filter default_options set them from inside the $bbp->options array. |
| 239 | 239 | * |
| 240 | 240 | * This function should not be called directly. |
| 241 | 241 | * |
| 242 | - * @since 2.6.0 bbPress (r3451) | |
| 242 | + * @since 2.6.0 bbPress (r6544) | |
| 243 | 243 | * @access private |
| 244 | 244 | * |
| 245 | 245 | * @param bool $value Optional. Default value false |
| 246 | 246 | * @return mixed false if not overloaded, mixed if set |
| @@ -263,9 +263,9 @@ | ||
| 263 | 263 | |
| 264 | 264 | /** |
| 265 | 265 | * Loads & caches bbPress options if a persistent cache is not being used. |
| 266 | 266 | * |
| 267 | - * @since 2.6.0 | |
| 267 | + * @since 2.6.0 bbPress (r6544) | |
| 268 | 268 | */ |
| 269 | 269 | function bbp_pre_load_options() { |
| 270 | 270 | |
| 271 | 271 | // Bail if using object cache or installing |
| @@ -324,9 +324,9 @@ | ||
| 324 | 324 | |
| 325 | 325 | /** |
| 326 | 326 | * Checks if favorites feature is enabled. |
| 327 | 327 | * |
| 328 | - * @since 2.0.0 bbPress (r2658) | |
| 328 | + * @since 2.0.0 bbPress (r2680) | |
| 329 | 329 | * |
| 330 | 330 | * @param bool $default Optional.Default value true |
| 331 | 331 | * @return bool Is favorites enabled or not |
| 332 | 332 | */ |
| @@ -338,9 +338,9 @@ | ||
| 338 | 338 | |
| 339 | 339 | /** |
| 340 | 340 | * Checks if subscription feature is enabled. |
| 341 | 341 | * |
| 342 | - * @since 2.0.0 bbPress (r2658) | |
| 342 | + * @since 2.0.0 bbPress (r2668) | |
| 343 | 343 | * |
| 344 | 344 | * @param bool $default Optional.Default value true |
| 345 | 345 | * @return bool Is subscription enabled or not |
| 346 | 346 | */ |
| @@ -352,9 +352,9 @@ | ||
| 352 | 352 | |
| 353 | 353 | /** |
| 354 | 354 | * Checks if engagements feature is enabled. |
| 355 | 355 | * |
| 356 | - * @since 2.6.0 bbPress (r6320) | |
| 356 | + * @since 2.6.0 bbPress (r6321) | |
| 357 | 357 | * |
| 358 | 358 | * @param bool $default Optional.Default value true |
| 359 | 359 | * @return bool Is engagements enabled or not |
| 360 | 360 | */ |
| @@ -366,9 +366,9 @@ | ||
| 366 | 366 | |
| 367 | 367 | /** |
| 368 | 368 | * Is content editing available when posting new topics & replies? |
| 369 | 369 | * |
| 370 | - * @since 2.6.0 bbPress (r6441) | |
| 370 | + * @since 2.6.0 bbPress (r6442) | |
| 371 | 371 | * |
| 372 | 372 | * @param bool $default Optional. Default value false |
| 373 | 373 | * @return bool Is content editing allowed? |
| 374 | 374 | */ |
| @@ -380,9 +380,9 @@ | ||
| 380 | 380 | |
| 381 | 381 | /** |
| 382 | 382 | * Is content throttling engaged when posting new topics & replies? |
| 383 | 383 | * |
| 384 | - * @since 2.6.0 bbPress (r6441) | |
| 384 | + * @since 2.6.0 bbPress (r6442) | |
| 385 | 385 | * |
| 386 | 386 | * @param bool $default Optional. Default value false |
| 387 | 387 | * @return bool Is content throttling allowed? |
| 388 | 388 | */ |
| @@ -394,9 +394,9 @@ | ||
| 394 | 394 | |
| 395 | 395 | /** |
| 396 | 396 | * Are topic tags allowed |
| 397 | 397 | * |
| 398 | - * @since 2.2.0 bbPress (r4097) | |
| 398 | + * @since 2.2.0 bbPress (r4098) | |
| 399 | 399 | * |
| 400 | 400 | * @param bool $default Optional. Default value true |
| 401 | 401 | * @return bool Are tags allowed? |
| 402 | 402 | */ |
| @@ -423,9 +423,9 @@ | ||
| 423 | 423 | |
| 424 | 424 | /** |
| 425 | 425 | * Are moderators allowed to edit users |
| 426 | 426 | * |
| 427 | - * @since 2.6.0 bbPress (r6562) | |
| 427 | + * @since 2.6.0 bbPress (r6563) | |
| 428 | 428 | * |
| 429 | 429 | * @param bool $default Optional. Default value true. |
| 430 | 430 | * |
| 431 | 431 | * @return bool Are moderators allowed to edit users? |
| @@ -438,9 +438,9 @@ | ||
| 438 | 438 | |
| 439 | 439 | /** |
| 440 | 440 | * Is forum-wide searching allowed |
| 441 | 441 | * |
| 442 | - * @since 2.4.0 bbPress (r4970) | |
| 442 | + * @since 2.4.0 bbPress (r4971) | |
| 443 | 443 | * |
| 444 | 444 | * @param bool $default Optional. Default value true |
| 445 | 445 | * @return bool Is forum-wide searching allowed? |
| 446 | 446 | */ |
| @@ -452,9 +452,9 @@ | ||
| 452 | 452 | |
| 453 | 453 | /** |
| 454 | 454 | * Are threaded replies allowed |
| 455 | 455 | * |
| 456 | - * @since 2.4.0 bbPress (r4964) | |
| 456 | + * @since 2.4.0 bbPress (r4963) | |
| 457 | 457 | * |
| 458 | 458 | * @param bool $default Optional. Default value false |
| 459 | 459 | * @return bool Are threaded replies allowed? |
| 460 | 460 | */ |
| @@ -480,9 +480,9 @@ | ||
| 480 | 480 | |
| 481 | 481 | /** |
| 482 | 482 | * Are topic and reply revisions allowed |
| 483 | 483 | * |
| 484 | - * @since 2.0.0 bbPress (r3412) | |
| 484 | + * @since 2.0.0 bbPress (r3416) | |
| 485 | 485 | * |
| 486 | 486 | * @param bool $default Optional. Default value true |
| 487 | 487 | * @return bool Are revisions allowed? |
| 488 | 488 | */ |
| @@ -494,9 +494,9 @@ | ||
| 494 | 494 | |
| 495 | 495 | /** |
| 496 | 496 | * Is the anonymous posting allowed? |
| 497 | 497 | * |
| 498 | - * @since 2.0.0 bbPress (r2659) | |
| 498 | + * @since 2.0.0 bbPress (r2617) | |
| 499 | 499 | * |
| 500 | 500 | * @param bool $default Optional. Default value |
| 501 | 501 | * @return bool Is anonymous posting allowed? |
| 502 | 502 | */ |
| @@ -537,9 +537,9 @@ | ||
| 537 | 537 | |
| 538 | 538 | /** |
| 539 | 539 | * Use the WordPress editor if available |
| 540 | 540 | * |
| 541 | - * @since 2.0.0 bbPress (r3386) | |
| 541 | + * @since 2.1.0 bbPress (r3586) | |
| 542 | 542 | * |
| 543 | 543 | * @param bool $default Optional. Default value true |
| 544 | 544 | * @return bool Use WP editor? |
| 545 | 545 | */ |
| @@ -551,9 +551,9 @@ | ||
| 551 | 551 | |
| 552 | 552 | /** |
| 553 | 553 | * Use WordPress's oEmbed API |
| 554 | 554 | * |
| 555 | - * @since 2.1.0 bbPress (r3752) | |
| 555 | + * @since 2.1.0 bbPress (r3753) | |
| 556 | 556 | * |
| 557 | 557 | * @param bool $default Optional. Default value true |
| 558 | 558 | * @return bool Use oEmbed? |
| 559 | 559 | */ |
| @@ -565,9 +565,9 @@ | ||
| 565 | 565 | |
| 566 | 566 | /** |
| 567 | 567 | * Get the current theme package ID |
| 568 | 568 | * |
| 569 | - * @since 2.1.0 bbPress (r3829) | |
| 569 | + * @since 2.1.0 bbPress (r3830) | |
| 570 | 570 | * |
| 571 | 571 | * @param string $default Optional. Default value 'default' |
| 572 | 572 | * @return string ID of the theme-package |
| 573 | 573 | */ |
| @@ -604,9 +604,9 @@ | ||
| 604 | 604 | /** |
| 605 | 605 | * Output the number of minutes a topic or reply can be edited after it's |
| 606 | 606 | * published. Used by `bbp_past_edit_lock()`. |
| 607 | 607 | * |
| 608 | - * @since 2.6.0 bbPress (r6868) | |
| 608 | + * @since 2.6.0 bbPress (r6869) | |
| 609 | 609 | * |
| 610 | 610 | * @param bool $default Optional. Default value 5 |
| 611 | 611 | */ |
| 612 | 612 | function bbp_edit_lock( $default = 5 ) { |
| @@ -615,9 +615,9 @@ | ||
| 615 | 615 | /** |
| 616 | 616 | * Return the number of minutes a topic or reply can be edited after it's |
| 617 | 617 | * published. Used by `bbp_past_edit_lock()`. |
| 618 | 618 | * |
| 619 | - * @since 2.6.0 bbPress (r6868) | |
| 619 | + * @since 2.6.0 bbPress (r6869) | |
| 620 | 620 | * |
| 621 | 621 | * @param bool $default Optional. Default value 5 |
| 622 | 622 | * @return int Is anonymous posting allowed? |
| 623 | 623 | */ |
| @@ -720,9 +720,9 @@ | ||
| 720 | 720 | * - 'meta' 2.6 and higher. Uses multiple postmeta keys. |
| 721 | 721 | * - 'user' Pre-2.6. Uses comma-separated string of IDs in usermeta. |
| 722 | 722 | * - 'term' Alternate. Uses taxonomy term relationships. |
| 723 | 723 | * |
| 724 | - * @since 2.6.0 bbPress (r6875) | |
| 724 | + * @since 2.6.0 bbPress (r6876) | |
| 725 | 725 | * |
| 726 | 726 | * @param bool $default Optional. Default value false |
| 727 | 727 | * @return string How to interact with engagements |
| 728 | 728 | */ |
| @@ -747,9 +747,9 @@ | ||
| 747 | 747 | |
| 748 | 748 | /** |
| 749 | 749 | * Return the root slug |
| 750 | 750 | * |
| 751 | - * @since 2.1.0 bbPress (r3759) | |
| 751 | + * @since 2.1.0 bbPress (r3760) | |
| 752 | 752 | * |
| 753 | 753 | * @param string $default Optional. Default value 'forums' |
| 754 | 754 | * @return string |
| 755 | 755 | */ |
| @@ -761,9 +761,9 @@ | ||
| 761 | 761 | |
| 762 | 762 | /** |
| 763 | 763 | * Are we including the root slug in front of forum pages? |
| 764 | 764 | * |
| 765 | - * @since 2.1.0 bbPress (r3759) | |
| 765 | + * @since 2.1.0 bbPress (r3760) | |
| 766 | 766 | * |
| 767 | 767 | * @param bool $default Optional. Default value true |
| 768 | 768 | * @return bool |
| 769 | 769 | */ |
| @@ -789,9 +789,9 @@ | ||
| 789 | 789 | |
| 790 | 790 | /** |
| 791 | 791 | * Maybe return the root slug, based on whether or not it's included in the url |
| 792 | 792 | * |
| 793 | - * @since 2.1.0 bbPress (r3759) | |
| 793 | + * @since 2.1.0 bbPress (r3760) | |
| 794 | 794 | * |
| 795 | 795 | * @param string $default Optional. Default value 'forums' |
| 796 | 796 | * @return string |
| 797 | 797 | */ |
| @@ -807,9 +807,9 @@ | ||
| 807 | 807 | |
| 808 | 808 | /** |
| 809 | 809 | * Return the single forum slug |
| 810 | 810 | * |
| 811 | - * @since 2.1.0 bbPress (r3759) | |
| 811 | + * @since 2.1.0 bbPress (r3760) | |
| 812 | 812 | * |
| 813 | 813 | * @param string $default Optional. Default value 'forum' |
| 814 | 814 | * @return string |
| 815 | 815 | */ |
| @@ -821,9 +821,9 @@ | ||
| 821 | 821 | |
| 822 | 822 | /** |
| 823 | 823 | * Return the topic archive slug |
| 824 | 824 | * |
| 825 | - * @since 2.1.0 bbPress (r3759) | |
| 825 | + * @since 2.1.0 bbPress (r3760) | |
| 826 | 826 | * |
| 827 | 827 | * @param string $default Optional. Default value 'topics' |
| 828 | 828 | * @return string |
| 829 | 829 | */ |
| @@ -835,9 +835,9 @@ | ||
| 835 | 835 | |
| 836 | 836 | /** |
| 837 | 837 | * Return the reply archive slug |
| 838 | 838 | * |
| 839 | - * @since 2.4.0 bbPress (r4925) | |
| 839 | + * @since 2.4.0 bbPress (r4926) | |
| 840 | 840 | * |
| 841 | 841 | * @param string $default Optional. Default value 'replies' |
| 842 | 842 | * @return string |
| 843 | 843 | */ |
| @@ -849,9 +849,9 @@ | ||
| 849 | 849 | |
| 850 | 850 | /** |
| 851 | 851 | * Return the single topic slug |
| 852 | 852 | * |
| 853 | - * @since 2.1.0 bbPress (r3759) | |
| 853 | + * @since 2.1.0 bbPress (r3760) | |
| 854 | 854 | * |
| 855 | 855 | * @param string $default Optional. Default value 'topic' |
| 856 | 856 | * @return string |
| 857 | 857 | */ |
| @@ -863,9 +863,9 @@ | ||
| 863 | 863 | |
| 864 | 864 | /** |
| 865 | 865 | * Return the topic-tag taxonomy slug |
| 866 | 866 | * |
| 867 | - * @since 2.1.0 bbPress (r3759) | |
| 867 | + * @since 2.1.0 bbPress (r3762) | |
| 868 | 868 | * |
| 869 | 869 | * @param string $default Optional. Default value 'topic-tag' |
| 870 | 870 | * @return string |
| 871 | 871 | */ |
| @@ -877,9 +877,9 @@ | ||
| 877 | 877 | |
| 878 | 878 | /** |
| 879 | 879 | * Return the single reply slug (used mostly for editing) |
| 880 | 880 | * |
| 881 | - * @since 2.1.0 bbPress (r3759) | |
| 881 | + * @since 2.1.0 bbPress (r3760) | |
| 882 | 882 | * |
| 883 | 883 | * @param string $default Optional. Default value 'reply' |
| 884 | 884 | * @return string |
| 885 | 885 | */ |
| @@ -891,9 +891,9 @@ | ||
| 891 | 891 | |
| 892 | 892 | /** |
| 893 | 893 | * Return the single user slug |
| 894 | 894 | * |
| 895 | - * @since 2.1.0 bbPress (r3759) | |
| 895 | + * @since 2.1.0 bbPress (r3760) | |
| 896 | 896 | * |
| 897 | 897 | * @param string $default Optional. Default value 'users' |
| 898 | 898 | * @return string |
| 899 | 899 | */ |
| @@ -905,9 +905,9 @@ | ||
| 905 | 905 | |
| 906 | 906 | /** |
| 907 | 907 | * Return the single user favorites slug |
| 908 | 908 | * |
| 909 | - * @since 2.2.0 bbPress (r4187) | |
| 909 | + * @since 2.2.0 bbPress (r4188) | |
| 910 | 910 | * |
| 911 | 911 | * @param string $default Optional. Default value 'favorites' |
| 912 | 912 | * @return string |
| 913 | 913 | */ |
| @@ -919,9 +919,9 @@ | ||
| 919 | 919 | |
| 920 | 920 | /** |
| 921 | 921 | * Return the single user subscriptions slug |
| 922 | 922 | * |
| 923 | - * @since 2.2.0 bbPress (r4187) | |
| 923 | + * @since 2.2.0 bbPress (r4188) | |
| 924 | 924 | * |
| 925 | 925 | * @param string $default Optional. Default value 'subscriptions' |
| 926 | 926 | * @return string |
| 927 | 927 | */ |
| @@ -947,9 +947,9 @@ | ||
| 947 | 947 | |
| 948 | 948 | /** |
| 949 | 949 | * Return the topic view slug |
| 950 | 950 | * |
| 951 | - * @since 2.1.0 bbPress (r3759) | |
| 951 | + * @since 2.1.0 bbPress (r3760) | |
| 952 | 952 | * |
| 953 | 953 | * @param string $default Optional. Default value 'view' |
| 954 | 954 | * @return string |
| 955 | 955 | */ |
| @@ -975,9 +975,9 @@ | ||
| 975 | 975 | |
| 976 | 976 | /** |
| 977 | 977 | * Return the edit slug |
| 978 | 978 | * |
| 979 | - * @since 2.6.2 bbPress (r6965) | |
| 979 | + * @since 2.6.2 bbPress (r6966) | |
| 980 | 980 | * |
| 981 | 981 | * @param string $default Optional. Default value 'edit' |
| 982 | 982 | * @return string |
| 983 | 983 | */ |
| @@ -991,9 +991,9 @@ | ||
| 991 | 991 | |
| 992 | 992 | /** |
| 993 | 993 | * Checks if there is a previous BuddyPress Forum configuration |
| 994 | 994 | * |
| 995 | - * @since 2.1.0 bbPress (r3790) | |
| 995 | + * @since 2.1.0 bbPress (r3791) | |
| 996 | 996 | * |
| 997 | 997 | * @param string $default Optional. Default empty string |
| 998 | 998 | * @return string The location of the bb-config.php file, if any |
| 999 | 999 | */ |