Changeset 7380 for trunk/src/includes/common/widgets.php
- Timestamp:
- 12/05/2025 02:27:53 AM (6 months ago)
- File:
-
- 1 edited
-
trunk/src/includes/common/widgets.php (modified) (50 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/common/widgets.php
r7379 r7380 2 2 3 3 /** 4 * bbPress Widgets 4 * bbPress Widgets. 5 5 * 6 6 * Contains the forum list, topic list, reply list and login form widgets. … … 14 14 15 15 /** 16 * bbPress Login Widget 17 * 18 * Adds a widget which displays the login form 16 * bbPress Login Widget. 17 * 18 * Adds a widget which displays the login form. 19 19 * 20 20 * @since 2.0.0 bbPress (r2827) … … 23 23 24 24 /** 25 * bbPress Login Widget 26 * 27 * Registers the login widget 25 * bbPress Login Widget. 26 * 27 * Registers the login widget. 28 28 * 29 29 * @since 2.0.0 bbPress (r2827) … … 43 43 44 44 /** 45 * Register the widget 45 * Register the widget. 46 46 * 47 47 * @since 2.0.0 bbPress (r3389) … … 52 52 53 53 /** 54 * Displays the output, the login form 54 * Displays the output, the login form. 55 55 * 56 56 * @since 2.0.0 bbPress (r2827) 57 57 * 58 * @param array $args Arguments 59 * @param array $instance Instance 58 * @param array $args Arguments. 59 * @param array $instance Instance. 60 60 */ 61 61 public function widget( $args = array(), $instance = array() ) { … … 147 147 148 148 /** 149 * Update the login widget options 149 * Update the login widget options. 150 150 * 151 151 * @since 2.0.0 bbPress (r2827) 152 152 * 153 * @param array $new_instance The new instance options 154 * @param array $old_instance The old instance options 153 * @param array $new_instance The new instance options. 154 * @param array $old_instance The old instance options. 155 155 */ 156 156 public function update( $new_instance, $old_instance ) { … … 164 164 165 165 /** 166 * Output the login widget options form 166 * Output the login widget options form. 167 167 * 168 168 * @since 2.0.0 bbPress (r2827) 169 169 * 170 * @param $instance Instance 170 * @param $instance Instance. 171 171 */ 172 172 public function form( $instance = array() ) { … … 198 198 * @since 2.3.0 bbPress (r4802) 199 199 * 200 * @param $instance Instance 200 * @param $instance Instance. 201 201 */ 202 202 public function parse_settings( $instance = array() ) { … … 214 214 215 215 /** 216 * bbPress Views Widget 217 * 218 * Adds a widget which displays the view list 216 * bbPress Views Widget. 217 * 218 * Adds a widget which displays the view list. 219 219 * 220 220 * @since 2.0.0 bbPress (r3020) … … 223 223 224 224 /** 225 * bbPress View Widget 226 * 227 * Registers the view widget 225 * bbPress View Widget. 226 * 227 * Registers the view widget. 228 228 * 229 229 * @since 2.0.0 bbPress (r3020) … … 243 243 244 244 /** 245 * Register the widget 245 * Register the widget. 246 246 * 247 247 * @since 2.0.0 bbPress (r3389) … … 252 252 253 253 /** 254 * Displays the output, the view list 254 * Displays the output, the view list. 255 255 * 256 256 * @since 2.0.0 bbPress (r3020) 257 257 * 258 * @param array $args Arguments 259 * @param array $instance Instance 258 * @param array $args Arguments. 259 * @param array $instance Instance. 260 260 */ 261 261 public function widget( $args = array(), $instance = array() ) { … … 301 301 302 302 /** 303 * Update the view widget options 303 * Update the view widget options. 304 304 * 305 305 * @since 2.0.0 bbPress (r3020) 306 306 * 307 * @param array $new_instance The new instance options 308 * @param array $old_instance The old instance options 307 * @param array $new_instance The new instance options. 308 * @param array $old_instance The old instance options. 309 309 */ 310 310 public function update( $new_instance = array(), $old_instance = array() ) { … … 316 316 317 317 /** 318 * Output the view widget options form 318 * Output the view widget options form. 319 319 * 320 320 * @since 2.0.0 bbPress (r3020) 321 321 * 322 * @param $instance Instance 322 * @param $instance Instance. 323 323 */ 324 324 public function form( $instance = array() ) { … … 341 341 * @since 2.3.0 bbPress (r4802) 342 342 * 343 * @param $instance Instance 343 * @param $instance Instance. 344 344 */ 345 345 public function parse_settings( $instance = array() ) { … … 355 355 356 356 /** 357 * bbPress Search Widget 358 * 359 * Adds a widget which displays the forum search form 357 * bbPress Search Widget. 358 * 359 * Adds a widget which displays the forum search form. 360 360 * 361 361 * @since 2.3.0 bbPress (r4579) … … 364 364 365 365 /** 366 * bbPress Search Widget 367 * 368 * Registers the search widget 366 * bbPress Search Widget. 367 * 368 * Registers the search widget. 369 369 * 370 370 * @since 2.3.0 bbPress (r4579) … … 384 384 385 385 /** 386 * Register the widget 386 * Register the widget. 387 387 * 388 388 * @since 2.3.0 bbPress (r4579) … … 393 393 394 394 /** 395 * Displays the output, the search form 395 * Displays the output, the search form. 396 396 * 397 397 * @since 2.3.0 bbPress (r4579) … … 425 425 426 426 /** 427 * Update the widget options 427 * Update the widget options. 428 428 * 429 429 * @since 2.3.0 bbPress (r4579) 430 430 * 431 * @param array $new_instance The new instance options 432 * @param array $old_instance The old instance options 431 * @param array $new_instance The new instance options. 432 * @param array $old_instance The old instance options. 433 433 */ 434 434 public function update( $new_instance, $old_instance ) { … … 440 440 441 441 /** 442 * Output the search widget options form 442 * Output the search widget options form. 443 443 * 444 444 * @since 2.3.0 bbPress (r4579) 445 445 * 446 * @param $instance Instance 446 * @param $instance Instance. 447 447 */ 448 448 public function form( $instance ) { … … 465 465 * @since 2.3.0 bbPress (r4802) 466 466 * 467 * @param $instance Instance 467 * @param $instance Instance. 468 468 */ 469 469 public function parse_settings( $instance = array() ) { … … 479 479 480 480 /** 481 * bbPress Forum Widget 482 * 483 * Adds a widget which displays the forum list 481 * bbPress Forum Widget. 482 * 483 * Adds a widget which displays the forum list. 484 484 * 485 485 * @since 2.0.0 bbPress (r2653) … … 488 488 489 489 /** 490 * bbPress Forum Widget 491 * 492 * Registers the forum widget 490 * bbPress Forum Widget. 491 * 492 * Registers the forum widget. 493 493 * 494 494 * @since 2.0.0 bbPress (r2653) … … 508 508 509 509 /** 510 * Register the widget 510 * Register the widget. 511 511 * 512 512 * @since 2.0.0 bbPress (r3389) … … 517 517 518 518 /** 519 * Displays the output, the forum list 519 * Displays the output, the forum list. 520 520 * 521 521 * @since 2.0.0 bbPress (r2653) 522 522 * 523 * @param array $args Arguments 524 * @param array $instance Instance 523 * @param array $args Arguments. 524 * @param array $instance Instance. 525 525 */ 526 526 public function widget( $args, $instance ) { … … 592 592 593 593 /** 594 * Update the forum widget options 594 * Update the forum widget options. 595 595 * 596 596 * @since 2.0.0 bbPress (r2653) 597 597 * 598 * @param array $new_instance The new instance options 599 * @param array $old_instance The old instance options 598 * @param array $new_instance The new instance options. 599 * @param array $old_instance The old instance options. 600 600 */ 601 601 public function update( $new_instance, $old_instance ) { … … 613 613 614 614 /** 615 * Output the forum widget options form 615 * Output the forum widget options form. 616 616 * 617 617 * @since 2.0.0 bbPress (r2653) 618 618 * 619 * @param $instance Instance 619 * @param $instance Instance. 620 620 */ 621 621 public function form( $instance ) { … … 648 648 * @since 2.3.0 bbPress (r4802) 649 649 * 650 * @param $instance Instance 650 * @param $instance Instance. 651 651 */ 652 652 public function parse_settings( $instance = array() ) { … … 663 663 664 664 /** 665 * bbPress Topic Widget 666 * 667 * Adds a widget which displays the topic list 665 * bbPress Topic Widget. 666 * 667 * Adds a widget which displays the topic list. 668 668 * 669 669 * @since 2.0.0 bbPress (r2653) … … 672 672 673 673 /** 674 * bbPress Topic Widget 675 * 676 * Registers the topic widget 674 * bbPress Topic Widget. 675 * 676 * Registers the topic widget. 677 677 * 678 678 * @since 2.0.0 bbPress (r2653) … … 692 692 693 693 /** 694 * Register the widget 694 * Register the widget. 695 695 * 696 696 * @since 2.0.0 bbPress (r3389) … … 701 701 702 702 /** 703 * Displays the output, the topic list 703 * Displays the output, the topic list. 704 704 * 705 705 * @since 2.0.0 bbPress (r2653) … … 876 876 877 877 /** 878 * Update the topic widget options 878 * Update the topic widget options. 879 879 * 880 880 * @since 2.0.0 bbPress (r2653) 881 881 * 882 * @param array $new_instance The new instance options 883 * @param array $old_instance The old instance options 882 * @param array $new_instance The new instance options. 883 * @param array $old_instance The old instance options. 884 884 */ 885 885 public function update( $new_instance = array(), $old_instance = array() ) { … … 909 909 910 910 /** 911 * Output the topic widget options form 911 * Output the topic widget options form. 912 912 * 913 913 * @since 2.0.0 bbPress (r2653) 914 914 * 915 * @param $instance Instance 915 * @param $instance Instance. 916 916 */ 917 917 public function form( $instance = array() ) { … … 953 953 * @since 2.3.0 bbPress (r4802) 954 954 * 955 * @param $instance Instance 955 * @param $instance Instance. 956 956 */ 957 957 public function parse_settings( $instance = array() ) { … … 972 972 973 973 /** 974 * bbPress Statistics Widget 975 * 976 * Adds a widget which displays the forum statistics 974 * bbPress Statistics Widget. 975 * 976 * Adds a widget which displays the forum statistics. 977 977 * 978 978 * @since 2.3.0 bbPress (r4509) … … 981 981 982 982 /** 983 * bbPress Statistics Widget 984 * 985 * Registers the statistics widget 983 * bbPress Statistics Widget. 984 * 985 * Registers the statistics widget. 986 986 * 987 987 * @since 2.3.0 bbPress (r4509) … … 1001 1001 1002 1002 /** 1003 * Register the widget 1003 * Register the widget. 1004 1004 * 1005 1005 * @since 2.3.0 bbPress (r4509) … … 1010 1010 1011 1011 /** 1012 * Displays the output, the statistics 1012 * Displays the output, the statistics. 1013 1013 * 1014 1014 * @since 2.3.0 bbPress (r4509) 1015 1015 * 1016 * @param array $args Arguments 1017 * @param array $instance Instance 1016 * @param array $args Arguments. 1017 * @param array $instance Instance. 1018 1018 */ 1019 1019 public function widget( $args = array(), $instance = array() ) { … … 1040 1040 1041 1041 /** 1042 * Update the statistics widget options 1042 * Update the statistics widget options. 1043 1043 * 1044 1044 * @since 2.3.0 bbPress (r4509) 1045 1045 * 1046 * @param array $new_instance The new instance options 1047 * @param array $old_instance The old instance options 1046 * @param array $new_instance The new instance options. 1047 * @param array $old_instance The old instance options. 1048 1048 * 1049 1049 * @return array … … 1057 1057 1058 1058 /** 1059 * Output the statistics widget options form 1059 * Output the statistics widget options form. 1060 1060 * 1061 1061 * @since 2.3.0 bbPress (r4509) … … 1084 1084 * @since 2.3.0 bbPress (r4802) 1085 1085 * 1086 * @param $instance Instance 1086 * @param $instance Instance. 1087 1087 */ 1088 1088 public function parse_settings( $instance = array() ) { … … 1098 1098 1099 1099 /** 1100 * bbPress Replies Widget 1101 * 1102 * Adds a widget which displays the replies list 1100 * bbPress Replies Widget. 1101 * 1102 * Adds a widget which displays the replies list. 1103 1103 * 1104 1104 * @since 2.0.0 bbPress (r2653) … … 1107 1107 1108 1108 /** 1109 * bbPress Replies Widget 1110 * 1111 * Registers the replies widget 1109 * bbPress Replies Widget. 1110 * 1111 * Registers the replies widget. 1112 1112 * 1113 1113 * @since 2.0.0 bbPress (r2653) … … 1127 1127 1128 1128 /** 1129 * Register the widget 1129 * Register the widget. 1130 1130 * 1131 1131 * @since 2.0.0 bbPress (r3389) … … 1136 1136 1137 1137 /** 1138 * Displays the output, the replies list 1138 * Displays the output, the replies list. 1139 1139 * 1140 1140 * @since 2.0.0 bbPress (r2653) … … 1254 1254 1255 1255 /** 1256 * Update the reply widget options 1256 * Update the reply widget options. 1257 1257 * 1258 1258 * @since 2.0.0 bbPress (r2653) 1259 1259 * 1260 * @param array $new_instance The new instance options 1261 * @param array $old_instance The old instance options 1260 * @param array $new_instance The new instance options. 1261 * @param array $old_instance The old instance options. 1262 1262 */ 1263 1263 public function update( $new_instance = array(), $old_instance = array() ) { … … 1280 1280 1281 1281 /** 1282 * Output the reply widget options form 1282 * Output the reply widget options form. 1283 1283 * 1284 1284 * @since 2.0.0 bbPress (r2653) 1285 1285 * 1286 * @param $instance Instance 1286 * @param $instance Instance. 1287 1287 */ 1288 1288 public function form( $instance = array() ) { … … 1304 1304 * @since 2.3.0 bbPress (r4802) 1305 1305 * 1306 * @param $instance Instance 1306 * @param $instance Instance. 1307 1307 */ 1308 1308 public function parse_settings( $instance = array() ) {
Note: See TracChangeset
for help on using the changeset viewer.