Skip to:
Content

bbPress.org


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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.