Changeset 7380 for trunk/src/includes/admin/forums.php
- Timestamp:
- 12/05/2025 02:27:53 AM (6 months ago)
- File:
-
- 1 edited
-
trunk/src/includes/admin/forums.php (modified) (25 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/admin/forums.php
r7378 r7380 2 2 3 3 /** 4 * bbPress Forum Admin Class 4 * bbPress Forum Admin Class. 5 5 * 6 6 * @package bbPress … … 13 13 if ( ! class_exists( 'BBP_Forums_Admin' ) ) : 14 14 /** 15 * Loads bbPress forums admin area 15 * Loads bbPress forums admin area. 16 16 * 17 17 * @package bbPress … … 24 24 25 25 /** 26 * @var string The post type of this admin component 26 * @var string The post type of this admin component. 27 27 */ 28 28 private $post_type = ''; … … 31 31 32 32 /** 33 * The main bbPress forums admin loader 33 * The main bbPress forums admin loader. 34 34 * 35 35 * @since 2.0.0 bbPress (r2515) … … 41 41 42 42 /** 43 * Setup the admin hooks, actions and filters 43 * Setup the admin hooks, actions and filters. 44 44 * 45 45 * @since 2.0.0 bbPress (r2646) … … 77 77 78 78 /** 79 * Admin globals 79 * Admin globals. 80 80 * 81 81 * @since 2.0.0 bbPress (r2646) … … 90 90 91 91 /** 92 * Contextual help for bbPress forum edit page 92 * Contextual help for bbPress forum edit page. 93 93 * 94 94 * @since 2.0.0 bbPress (r3119) … … 157 157 158 158 /** 159 * Contextual help for bbPress forum edit page 159 * Contextual help for bbPress forum edit page. 160 160 * 161 161 * @since 2.0.0 bbPress (r3119) … … 221 221 222 222 /** 223 * Add the forum attributes meta-box 223 * Add the forum attributes meta-box. 224 224 * 225 225 * @since 2.0.0 bbPress (r2746) … … 237 237 238 238 /** 239 * Add the forum moderators meta-box 239 * Add the forum moderators meta-box. 240 240 * 241 241 * @since 2.6.0 bbPress … … 260 260 261 261 /** 262 * Add the subscriptions meta-box 262 * Add the subscriptions meta-box. 263 263 * 264 264 * Allows viewing of users who have subscribed to a forum. … … 290 290 291 291 /** 292 * Remove comments & discussion meta-boxes if comments are not supported 292 * Remove comments & discussion meta-boxes if comments are not supported. 293 293 * 294 294 * @since 2.6.0 bbPress (r6186) … … 302 302 303 303 /** 304 * Pass the forum attributes for processing 304 * Pass the forum attributes for processing. 305 305 * 306 306 * @since 2.0.0 bbPress (r2746) 307 307 * 308 * @param int $forum_id Forum id 309 * @return int Forum id 308 * @param int $forum_id Forum id. 309 * @return int Forum id. 310 310 */ 311 311 public function save_meta_boxes( $forum_id ) { … … 355 355 356 356 /** 357 * Toggle forum 358 * 359 * Handles the admin-side opening/closing of forums 357 * Toggle forum. 358 * 359 * Handles the admin-side opening/closing of forums. 360 360 * 361 361 * @since 2.6.0 bbPress (r5254) … … 428 428 429 429 /** 430 * Toggle forum notices 430 * Toggle forum notices. 431 431 * 432 432 * Display the success/error notices from … … 493 493 494 494 /** 495 * Returns an array of keys used to sort row actions 495 * Returns an array of keys used to sort row actions. 496 496 * 497 497 * @since 2.6.0 bbPress (r6771) … … 522 522 523 523 /** 524 * Returns an array of notice toggles 524 * Returns an array of notice toggles. 525 525 * 526 526 * @since 2.6.0 bbPress (r6396) … … 547 547 548 548 /** 549 * Returns an array of notice toggles 549 * Returns an array of notice toggles. 550 550 * 551 551 * @since 2.6.0 bbPress (r6396) … … 571 571 572 572 /** 573 * Manage the column headers for the forums page 573 * Manage the column headers for the forums page. 574 574 * 575 575 * @since 2.0.0 bbPress (r2485) 576 576 * 577 * @param array $columns The columns 578 * 579 * @return array $columns bbPress forum columns 577 * @param array $columns The columns. 578 * 579 * @return array $columns bbPress forum columns. 580 580 */ 581 581 public function column_headers( $columns ) { … … 609 609 610 610 /** 611 * Print extra columns for the forums page 611 * Print extra columns for the forums page. 612 612 * 613 613 * @since 2.0.0 bbPress (r2485) 614 614 * 615 * @param string $column Column 616 * @param int $forum_id Forum id 615 * @param string $column Column. 616 * @param int $forum_id Forum id. 617 617 */ 618 618 public function column_data( $column, $forum_id ) { … … 664 664 665 665 /** 666 * Forum Row actions 666 * Forum Row actions. 667 667 * 668 668 * Remove the quick-edit action link and display the description under 669 * the forum title and add the open/close links 669 * the forum title and add the open/close links. 670 670 * 671 671 * @since 2.0.0 bbPress (r2577) 672 672 * 673 * @param array $actions Actions 674 * @param object $forum Forum object 675 * 676 * @return array $actions Actions 673 * @param array $actions Actions. 674 * @param object $forum Forum object. 675 * 676 * @return array $actions Actions. 677 677 */ 678 678 public function row_actions( $actions = array(), $forum = false ) { … … 716 716 717 717 /** 718 * Sort row actions by key 718 * Sort row actions by key. 719 719 * 720 720 * @since 2.6.0 721 721 * 722 * @param array $actions 722 * @param array $actions. 723 723 * 724 724 * @return array … … 745 745 746 746 /** 747 * Custom user feedback messages for forum post type 747 * Custom user feedback messages for forum post type. 748 748 * 749 749 * @since 2.0.0 bbPress (r3080) … … 838 838 839 839 /** 840 * Setup bbPress Forums Admin 840 * Setup bbPress Forums Admin. 841 841 * 842 842 * This is currently here to make hooking and unhooking of the admin UI easy. … … 845 845 * @since 2.0.0 bbPress (r2596) 846 846 * 847 * @param WP_Screen $current_screen Current screen object 847 * @param WP_Screen $current_screen Current screen object. 848 848 */ 849 849 function bbp_admin_forums( $current_screen ) {
Note: See TracChangeset
for help on using the changeset viewer.