Skip to:
Content

bbPress.org

Changeset 5515


Ignore:
Timestamp:
09/12/2014 04:52:06 AM (7 years ago)
Author:
netweb
Message:

PHPDdoc corrections for topic and reply pending status approve and unapprove functions. See #2645

Location:
trunk/src/includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/replies/functions.php

    r5506 r5515  
    18341834 * @param int $reply_id Reply id
    18351835 * @uses bbp_get_reply() To get the reply
     1836 * @uses bbp_get_pending_status_id() To get the pending status id
    18361837 * @uses do_action() Calls 'bbp_approve_reply' with the reply id
    1837  /* @uses add_post_meta() To add the previous status to a meta
    1838  /* @uses delete_post_meta() To delete the previous status meta
     1838 * @uses bbp_get_public_status_id() To get the public status id
     1839 * @uses remove_action() To remove the auto save post revision action
    18391840 * @uses wp_update_post() To update the reply with the new status
    18401841 * @uses do_action() Calls 'bbp_approved_reply' with the reply id
     
    18801881 * @param int $reply_id Reply id
    18811882 * @uses bbp_get_reply() To get the reply
     1883 * @uses bbp_get_pending_status_id() To get the pending status id
    18821884 * @uses do_action() Calls 'bbp_unapprove_reply' with the reply id
    1883  /* @uses get_post_meta() To get the previous status
    1884  /* @uses delete_post_meta() To delete the previous status meta
     1885 * @uses remove_action() To remove the auto save post revision action
    18851886 * @uses wp_update_post() To update the reply with the new status
    18861887 * @uses do_action() Calls 'bbp_unapproved_reply' with the reply id
  • trunk/src/includes/topics/functions.php

    r5503 r5515  
    16911691            bbp_update_reply_forum_id( $reply->ID, bbp_get_topic_forum_id( $destination_topic->ID ) );
    16921692
    1693             // Adjust reply position 
    1694             bbp_update_reply_position( $reply->ID ); 
     1693            // Adjust reply position
     1694            bbp_update_reply_position( $reply->ID );
    16951695
    16961696            // Adjust reply to values
     
    31863186 * @param int $topic_id Topic id
    31873187 * @uses bbp_get_topic() To get the topic
     3188 * @uses bbp_get_pending_status_id() To get the pending status id
    31883189 * @uses do_action() Calls 'bbp_approve_topic' with the topic id
    3189  /* @uses add_post_meta() To add the previous status to a meta
    3190  /* @uses delete_post_meta() To delete the previous status meta
     3190 * @uses bbp_get_public_status_id() To get the public status id
     3191 * @uses remove_action() To remove the auto save post revision action
    31913192 * @uses wp_update_post() To update the topic with the new status
    31923193 * @uses do_action() Calls 'bbp_approved_topic' with the topic id
     
    32323233 * @param int $topic_id Topic id
    32333234 * @uses bbp_get_topic() To get the topic
     3235 * @uses bbp_get_pending_status_id() To get the pending status id
    32343236 * @uses do_action() Calls 'bbp_unapprove_topic' with the topic id
    3235  /* @uses get_post_meta() To get the previous status
    3236  /* @uses delete_post_meta() To delete the previous status meta
     3237 * @uses remove_action() To remove the auto save post revision action
    32373238 * @uses wp_update_post() To update the topic with the new status
    32383239 * @uses do_action() Calls 'bbp_unapproved_topic' with the topic id
Note: See TracChangeset for help on using the changeset viewer.