Changeset 5951 for trunk/src/includes/core/functions.php
- Timestamp:
- 10/28/2015 04:07:50 AM (10 years ago)
- File:
-
- 1 edited
-
trunk/src/includes/core/functions.php (modified) (41 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/core/functions.php
r5908 r5951 16 16 * Output the bbPress version 17 17 * 18 * @since bbPress (r3468) 18 * @since 2.0.0 bbPress (r3468) 19 * 19 20 * @uses bbp_get_version() To get the bbPress version 20 21 */ … … 25 26 * Return the bbPress version 26 27 * 27 * @since bbPress (r3468) 28 * @since 2.0.0 bbPress (r3468) 29 * 28 30 * @retrun string The bbPress version 29 31 */ … … 35 37 * Output the bbPress database version 36 38 * 37 * @since bbPress (r3468) 39 * @since 2.0.0 bbPress (r3468) 40 * 38 41 * @uses bbp_get_version() To get the bbPress version 39 42 */ … … 44 47 * Return the bbPress database version 45 48 * 46 * @since bbPress (r3468) 49 * @since 2.0.0 bbPress (r3468) 50 * 47 51 * @retrun string The bbPress version 48 52 */ … … 54 58 * Output the bbPress database version directly from the database 55 59 * 56 * @since bbPress (r3468) 60 * @since 2.0.0 bbPress (r3468) 61 * 57 62 * @uses bbp_get_version() To get the current bbPress version 58 63 */ … … 63 68 * Return the bbPress database version directly from the database 64 69 * 65 * @since bbPress (r3468) 70 * @since 2.0.0 bbPress (r3468) 71 * 66 72 * @retrun string The current bbPress version 67 73 */ … … 75 81 * Update a posts' forum meta ID 76 82 * 77 * @since bbPress (r3181)83 * @since 2.0.0 bbPress (r3181) 78 84 * 79 85 * @param int $post_id The post to update … … 94 100 * Update a posts' topic meta ID 95 101 * 96 * @since bbPress (r3181)102 * @since 2.0.0 bbPress (r3181) 97 103 * 98 104 * @param int $post_id The post to update … … 113 119 * Update a posts' reply meta ID 114 120 * 115 * @since bbPress (r3181)121 * @since 2.0.0 bbPress (r3181) 116 122 * 117 123 * @param int $post_id The post to update … … 132 138 * Update a posts' reply-to meta ID 133 139 * 134 * @since bbPress (r5735)140 * @since 2.6.0 bbPress (r5735) 135 141 * 136 142 * @param int $post_id The post to update … … 155 161 * Does nothing much other than return the {@link $bbp->views} variable 156 162 * 157 * @since bbPress (r2789)163 * @since 2.0.0 bbPress (r2789) 158 164 * 159 165 * @return array Views … … 166 172 * Register a bbPress view 167 173 * 168 * @since bbPress (r2789)174 * @since 2.0.0 bbPress (r2789) 169 175 * 170 176 * @param string $view View name … … 212 218 * Deregister a bbPress view 213 219 * 214 * @since bbPress (r2789)220 * @since 2.0.0 bbPress (r2789) 215 221 * 216 222 * @param string $view View name … … 234 240 * Run the view's query 235 241 * 236 * @since bbPress (r2789)242 * @since 2.0.0 bbPress (r2789) 237 243 * 238 244 * @param string $view Optional. View id … … 264 270 * Return the view's query arguments 265 271 * 266 * @since bbPress (r2789)272 * @since 2.0.0 bbPress (r2789) 267 273 * 268 274 * @param string $view View name … … 284 290 * Adds an error message to later be output in the theme 285 291 * 286 * @since bbPress (r3381)292 * @since 2.0.0 bbPress (r3381) 287 293 * 288 294 * @see WP_Error() … … 300 306 * Check if error messages exist in queue 301 307 * 302 * @since bbPress (r3381)308 * @since 2.0.0 bbPress (r3381) 303 309 * 304 310 * @see WP_Error() … … 321 327 * anywhere mentions might be used. 322 328 * 323 * @since bbPress (r4997) 329 * @since 2.4.0 bbPress (r4997) 330 * 324 331 * @return string Pattern to match usernames with 325 332 */ … … 331 338 * Searches through the content to locate usernames, designated by an @ sign. 332 339 * 333 * @since bbPress (r4323)340 * @since 2.2.0 bbPress (r4323) 334 341 * 335 342 * @param string $content The content … … 352 359 * Finds and links @-mentioned users in the content 353 360 * 354 * @since bbPress (r4323)361 * @since 2.2.0 bbPress (r4323) 355 362 * 356 363 * @uses bbp_find_mentions() To get usernames in content areas … … 387 394 * Return the public post status ID 388 395 * 389 * @since bbPress (r3504)396 * @since 2.0.0 bbPress (r3504) 390 397 * 391 398 * @return string … … 398 405 * Return the pending post status ID 399 406 * 400 * @since bbPress (r3581)407 * @since 2.1.0 bbPress (r3581) 401 408 * 402 409 * @return string … … 409 416 * Return the private post status ID 410 417 * 411 * @since bbPress (r3504)418 * @since 2.0.0 bbPress (r3504) 412 419 * 413 420 * @return string … … 420 427 * Return the hidden post status ID 421 428 * 422 * @since bbPress (r3504)429 * @since 2.0.0 bbPress (r3504) 423 430 * 424 431 * @return string … … 431 438 * Return the closed post status ID 432 439 * 433 * @since bbPress (r3504)440 * @since 2.0.0 bbPress (r3504) 434 441 * 435 442 * @return string … … 442 449 * Return the spam post status ID 443 450 * 444 * @since bbPress (r3504)451 * @since 2.0.0 bbPress (r3504) 445 452 * 446 453 * @return string … … 453 460 * Return the trash post status ID 454 461 * 455 * @since bbPress (r3504)462 * @since 2.0.0 bbPress (r3504) 456 463 * 457 464 * @return string … … 464 471 * Return the orphan post status ID 465 472 * 466 * @since bbPress (r3504)473 * @since 2.0.0 bbPress (r3504) 467 474 * 468 475 * @return string … … 477 484 * Return the unique ID for user profile rewrite rules 478 485 * 479 * @since bbPress (r3762) 486 * @since 2.1.0 bbPress (r3762) 487 * 480 488 * @return string 481 489 */ … … 487 495 * Return the unique ID for all edit rewrite rules (forum|topic|reply|tag|user) 488 496 * 489 * @since bbPress (r3762) 497 * @since 2.1.0 bbPress (r3762) 498 * 490 499 * @return string 491 500 */ … … 497 506 * Return the unique ID for all search rewrite rules 498 507 * 499 * @since bbPress (r4579)508 * @since 2.3.0 bbPress (r4579) 500 509 * 501 510 * @return string … … 508 517 * Return the unique ID for user topics rewrite rules 509 518 * 510 * @since bbPress (r4321) 519 * @since 2.2.0 bbPress (r4321) 520 * 511 521 * @return string 512 522 */ … … 518 528 * Return the unique ID for user replies rewrite rules 519 529 * 520 * @since bbPress (r4321) 530 * @since 2.2.0 bbPress (r4321) 531 * 521 532 * @return string 522 533 */ … … 528 539 * Return the unique ID for user caps rewrite rules 529 540 * 530 * @since bbPress (r4181) 541 * @since 2.2.0 bbPress (r4181) 542 * 531 543 * @return string 532 544 */ … … 538 550 * Return the unique ID for user caps rewrite rules 539 551 * 540 * @since bbPress (r4181) 552 * @since 2.2.0 bbPress (r4181) 553 * 541 554 * @return string 542 555 */ … … 548 561 * Return the unique ID for topic view rewrite rules 549 562 * 550 * @since bbPress (r3762) 563 * @since 2.1.0 bbPress (r3762) 564 * 551 565 * @return string 552 566 */ … … 560 574 * Get the id used for paginated requests 561 575 * 562 * @since bbPress (r4926) 576 * @since 2.4.0 bbPress (r4926) 577 * 563 578 * @return string 564 579 */ … … 571 586 * the subsequent page load. 572 587 * 573 * @since bbPress (r4198)588 * @since 2.2.0 bbPress (r4198) 574 589 */ 575 590 function bbp_delete_rewrite_rules() { … … 582 597 * Return true|false if this is a POST request 583 598 * 584 * @since bbPress (r4790) 599 * @since 2.3.0 bbPress (r4790) 600 * 585 601 * @return bool 586 602 */ … … 592 608 * Return true|false if this is a GET request 593 609 * 594 * @since bbPress (r4790) 610 * @since 2.3.0 bbPress (r4790) 611 * 595 612 * @return bool 596 613 */ … … 609 626 * in a future version, possibly to the site root. 610 627 * 611 * @since bbPress (r5658)628 * @since 2.6.0 bbPress (r5658) 612 629 * 613 630 * @uses wp_safe_redirect()
Note: See TracChangeset
for help on using the changeset viewer.