Changeset 6573 for trunk/src/includes/admin/replies.php
- Timestamp:
- 06/16/2017 09:20:52 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/admin/replies.php
r6566 r6573 34 34 * 35 35 * @since 2.0.0 bbPress (r2515) 36 *37 * @uses BBP_Replies_Admin::setup_globals() Setup the globals needed38 * @uses BBP_Replies_Admin::setup_actions() Setup the hooks and actions39 * @uses BBP_Replies_Admin::setup_actions() Setup the help text40 36 */ 41 37 public function __construct() { … … 51 47 * 52 48 * @access private 53 *54 * @uses add_action() To add various actions55 * @uses add_filter() To add various filters56 * @uses bbp_get_forum_post_type() To get the forum post type57 * @uses bbp_get_topic_post_type() To get the topic post type58 * @uses bbp_get_reply_post_type() To get the reply post type59 49 */ 60 50 private function setup_actions() { … … 114 104 * 115 105 * @since 2.0.0 bbPress (r3119) 116 *117 * @uses get_current_screen()118 106 */ 119 107 public function edit_help() { … … 178 166 * 179 167 * @since 2.0.0 bbPress (r3119) 180 *181 * @uses get_current_screen()182 168 */ 183 169 public function new_help() { … … 333 319 * 334 320 * @since 2.0.0 bbPress (r2746) 335 *336 * @uses bbp_get_reply_post_type() To get the reply post type337 * @uses add_meta_box() To add the meta-box338 * @uses do_action() Calls 'bbp_reply_attributes_metabox'339 321 */ 340 322 public function attributes_metabox() { … … 355 337 * 356 338 * @since 2.0.0 bbPress (r2828) 357 *358 * @uses bbp_get_topic() To get the topic359 * @uses bbp_get_reply() To get the reply360 * @uses bbp_get_topic_post_type() To get the topic post type361 * @uses bbp_get_reply_post_type() To get the reply post type362 * @uses add_meta_box() To add the meta-box363 339 */ 364 340 public function author_metabox() { … … 398 374 * 399 375 * @param int $reply_id Reply id 400 * @uses current_user_can() To check if the current user is capable of401 * editing the reply402 * @uses do_action() Calls 'bbp_reply_attributes_metabox_save' with the403 * reply id and parent id404 376 * @return int Parent id 405 377 */ … … 457 429 * 458 430 * @since 2.0.0 bbPress (r2740) 459 *460 * @uses bbp_get_reply() To get the reply461 * @uses current_user_can() To check if the user is capable of editing462 * the reply463 * @uses wp_die() To die if the user isn't capable or the post wasn't464 * found465 * @uses check_admin_referer() To verify the nonce and check referer466 * @uses bbp_is_reply_spam() To check if the reply is marked as spam467 * @uses bbp_unspam_reply() To unmark the reply as spam468 * @uses bbp_spam_reply() To mark the reply as spam469 * @uses do_action() Calls 'bbp_toggle_reply_admin' with success, post470 * data, action and message471 * @uses add_query_arg() To add custom args to the url472 * @uses bbp_redirect() Redirect the page to custom url473 431 */ 474 432 public function toggle_reply() { … … 558 516 * 559 517 * @since 2.0.0 bbPress (r2740) 560 *561 * @uses bbp_get_reply() To get the reply562 * @uses bbp_get_reply_title() To get the reply title of the reply563 * @uses esc_html() To sanitize the reply title564 * @uses apply_filters() Calls 'bbp_toggle_reply_notice_admin' with565 * message, reply id, notice and is it a failure566 518 */ 567 519 public function toggle_reply_notice() { … … 675 627 * 676 628 * @param array $columns The columns 677 * @uses apply_filters() Calls 'bbp_admin_replies_column_headers' with 678 * the columns 629 * 679 630 * @return array $columns bbPress reply columns 680 631 */ … … 700 651 * @param string $column Column 701 652 * @param int $reply_id reply id 702 * @uses bbp_get_reply_topic_id() To get the topic id of the reply703 * @uses bbp_topic_title() To output the reply's topic title704 * @uses apply_filters() Calls 'reply_topic_row_actions' with an array705 * of reply topic actions706 * @uses bbp_get_topic_permalink() To get the topic permalink707 * @uses bbp_get_topic_forum_id() To get the forum id of the topic of708 * the reply709 * @uses bbp_get_forum_permalink() To get the forum permalink710 * @uses admin_url() To get the admin url of post.php711 * @uses apply_filters() Calls 'reply_topic_forum_row_actions' with an712 * array of reply topic forum actions713 * @uses bbp_reply_author_display_name() To output the reply author name714 * @uses get_the_date() Get the reply creation date715 * @uses get_the_time() Get the reply creation time716 * @uses esc_attr() To sanitize the reply creation time717 * @uses bbp_get_reply_last_active_time() To get the time when the reply was718 * last active719 * @uses do_action() Calls 'bbp_admin_replies_column_data' with the720 * column and reply id721 653 */ 722 654 public function column_data( $column, $reply_id ) { … … 816 748 * @param array $actions Actions 817 749 * @param array $reply Reply object 818 * @uses bbp_get_reply_post_type() To get the reply post type 819 * @uses bbp_reply_content() To output reply content 820 * @uses bbp_get_reply_url() To get the reply link 821 * @uses bbp_get_reply_title() To get the reply title 822 * @uses current_user_can() To check if the current user can edit or 823 * delete the reply 824 * @uses bbp_is_reply_spam() To check if the reply is marked as spam 825 * @uses get_post_type_object() To get the reply post type object 826 * @uses add_query_arg() To add custom args to the url 827 * @uses remove_query_arg() To remove custom args from the url 828 * @uses wp_nonce_url() To nonce the url 829 * @uses get_delete_post_link() To get the delete post link of the reply 750 * 830 751 * @return array $actions Actions 831 752 */ … … 898 819 * @since 2.0.0 bbPress (r2991) 899 820 * 900 * @uses bbp_get_reply_post_type() To get the reply post type901 * @uses bbp_get_topic_post_type() To get the topic post type902 * @uses bbp_dropdown() To generate a forum dropdown903 821 * @return bool False. If post type is not topic or reply 904 822 */ … … 934 852 * 935 853 * @param array $query_vars Query variables from {@link WP_Query} 936 * @uses is_admin() To check if it's the admin section937 * @uses bbp_get_topic_post_type() To get the topic post type938 * @uses bbp_get_reply_post_type() To get the reply post type939 854 * @return array Processed Query Vars 940 855 */ … … 958 873 * 959 874 * @global int $post_ID 960 * @uses bbp_get_topic_permalink()961 * @uses wp_post_revision_title()962 * @uses esc_url()963 * @uses add_query_arg()964 875 * 965 876 * @param array $messages … … 1057 968 * 1058 969 * @param WP_Screen $current_screen Current screen object 1059 * @uses BBP_Replies_Admin1060 970 */ 1061 971 function bbp_admin_replies( $current_screen ) {
Note: See TracChangeset
for help on using the changeset viewer.