Changeset 6573 for trunk/src/includes/admin/forums.php
- Timestamp:
- 06/16/2017 09:20:52 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/admin/forums.php
r6559 r6573 34 34 * 35 35 * @since 2.0.0 bbPress (r2515) 36 *37 * @uses BBP_Forums_Admin::setup_globals() Setup the globals needed38 * @uses BBP_Forums_Admin::setup_actions() Setup the hooks and actions39 * @uses BBP_Forums_Admin::setup_help() Setup the help text40 36 */ 41 37 public function __construct() { … … 50 46 * 51 47 * @access private 52 *53 * @uses add_action() To add various actions54 * @uses add_filter() To add various filters55 * @uses bbp_get_forum_post_type() To get the forum post type56 * @uses bbp_get_topic_post_type() To get the topic post type57 * @uses bbp_get_reply_post_type() To get the reply post type58 48 */ 59 49 private function setup_actions() { … … 103 93 * 104 94 * @since 2.0.0 bbPress (r3119) 105 *106 * @uses get_current_screen()107 95 */ 108 96 public function edit_help() { … … 163 151 * 164 152 * @since 2.0.0 bbPress (r3119) 165 *166 * @uses get_current_screen()167 153 */ 168 154 public function new_help() { … … 221 207 * 222 208 * @since 2.0.0 bbPress (r2746) 223 *224 * @uses bbp_get_forum_post_type() To get the forum post type225 * @uses add_meta_box() To add the meta-box226 * @uses do_action() Calls 'bbp_forum_attributes_metabox'227 209 */ 228 210 public function attributes_metabox() { … … 241 223 * 242 224 * @since 2.6.0 bbPress 243 *244 * @uses bbp_get_forum_post_type() To get the forum post type245 * @uses add_meta_box() To add the meta-box246 * @uses do_action() Calls 'bbp_forum_attributes_metabox'247 225 */ 248 226 public function moderators_metabox() { … … 270 248 * 271 249 * @since 2.6.0 bbPress (r6197) 272 *273 * @uses add_meta_box() To add the meta-box274 250 */ 275 251 public function subscriptions_metabox() { … … 314 290 * 315 291 * @param int $forum_id Forum id 316 * @uses current_user_can() To check if the current user is capable of317 * editing the forum318 * @uses bbp_get_forum() To get the forum319 * @uses bbp_is_forum_closed() To check if the forum is closed320 * @uses bbp_is_forum_category() To check if the forum is a category321 * @uses bbp_is_forum_private() To check if the forum is private322 * @uses bbp_close_forum() To close the forum323 * @uses bbp_open_forum() To open the forum324 * @uses bbp_categorize_forum() To make the forum a category325 * @uses bbp_normalize_forum() To make the forum normal (not category)326 * @uses bbp_privatize_forum() To mark the forum as private327 * @uses bbp_publicize_forum() To mark the forum as public328 * @uses do_action() Calls 'bbp_forum_attributes_metabox_save' with the329 * forum id330 292 * @return int Forum id 331 293 */ … … 379 341 * 380 342 * @since 2.6.0 bbPress (r5254) 381 *382 * @uses bbp_get_forum() To get the forum383 * @uses current_user_can() To check if the user is capable of editing384 * the forum385 * @uses wp_die() To die if the user isn't capable or the post wasn't386 * found387 * @uses check_admin_referer() To verify the nonce and check referer388 * @uses bbp_is_forum_open() To check if the forum is open389 * @uses bbp_close_forum() To close the forum390 * @uses bbp_open_forum() To open the forum391 * @uses do_action() Calls 'bbp_toggle_forum_admin' with success, post392 * data, action and message393 * @uses add_query_arg() To add custom args to the url394 * @uses bbp_redirect() Redirect the page to custom url395 343 */ 396 344 public function toggle_forum() { … … 467 415 * 468 416 * @since 2.6.0 bbPress (r5254) 469 *470 * @uses bbp_get_forum() To get the forum471 * @uses bbp_get_forum_title() To get the forum title of the forum472 * @uses esc_html() To sanitize the forum title473 * @uses apply_filters() Calls 'bbp_toggle_forum_notice_admin' with474 * message, forum id, notice and is it a failure475 417 */ 476 418 public function toggle_forum_notice() { … … 569 511 * 570 512 * @param array $columns The columns 571 * @uses apply_filters() Calls 'bbp_admin_forums_column_headers' with 572 * the columns 513 * 573 514 * @return array $columns bbPress forum columns 574 515 */ … … 603 544 * @param string $column Column 604 545 * @param int $forum_id Forum id 605 * @uses bbp_forum_topic_count() To output the forum topic count606 * @uses bbp_forum_reply_count() To output the forum reply count607 * @uses get_the_date() Get the forum creation date608 * @uses get_the_time() Get the forum creation time609 * @uses esc_attr() To sanitize the forum creation time610 * @uses bbp_get_forum_last_active_time() To get the time when the forum was611 * last active612 * @uses do_action() Calls 'bbp_admin_forums_column_data' with the613 * column and forum id614 546 */ 615 547 public function column_data( $column, $forum_id ) { … … 666 598 * @param array $actions Actions 667 599 * @param array $forum Forum object 668 * @uses bbp_get_public_status_id() To get the published forum id's669 * @uses bbp_get_private_status_id() To get the private forum id's670 * @uses bbp_get_hidden_status_id() To get the hidden forum id's671 * @uses bbp_get_closed_status_id() To get the closed forum id's672 * @uses wp_nonce_url() To nonce the url673 * @uses bbp_is_forum_open() To check if a forum is open674 * @uses bbp_forum_content() To output forum description675 600 * @return array $actions Actions 676 601 */ … … 705 630 * 706 631 * @global int $post_ID 707 * @uses bbp_get_forum_permalink()708 * @uses wp_post_revision_title()709 * @uses esc_url()710 * @uses add_query_arg()711 632 * 712 633 * @param array $messages … … 804 725 * 805 726 * @param WP_Screen $current_screen Current screen object 806 * @uses BBP_Forums_Admin807 727 */ 808 728 function bbp_admin_forums( $current_screen ) {
Note: See TracChangeset
for help on using the changeset viewer.