Skip to:
Content

bbPress.org


Ignore:
Timestamp:
06/12/2017 02:21:34 PM (9 years ago)
Author:
johnjamesjacoby
Message:

Documentation: Don't use reply's, because it looks weird and is poor English grammar.

Prefer more descriptive documentation instead.

File:
1 edited

Legend:

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

    r6499 r6526  
    838838 * @uses bbp_update_reply_topic_id() To update the reply topic id
    839839 * @uses bbp_update_reply_to() To update the reply to id
    840  * @uses bbp_update_reply_walker() To update the reply's ancestors' counts
     840 * @uses bbp_update_reply_walker() To update the ancestor counts of a reply
    841841 */
    842842function bbp_update_reply( $reply_id = 0, $topic_id = 0, $forum_id = 0, $anonymous_data = array(), $author_id = 0, $is_edit = false, $reply_to = 0 ) {
     
    10631063 * @uses bbp_get_reply_id() To get the reply id
    10641064 * @uses bbp_get_forum_id() To get the forum id
    1065  * @uses get_post_ancestors() To get the reply's forum
     1065 * @uses get_post_ancestors() To get the ancestors of a reply
    10661066 * @uses get_post_field() To get the post type of the post
    10671067 * @uses update_post_meta() To update the reply forum id meta
    10681068 * @uses apply_filters() Calls 'bbp_update_reply_forum_id' with the forum id
    10691069 *                        and reply id
    1070  * @return bool Reply's forum id
     1070 * @return bool The forum id of the reply
    10711071 */
    10721072function bbp_update_reply_forum_id( $reply_id = 0, $forum_id = 0 ) {
     
    11131113 * @uses bbp_get_reply_id() To get the reply id
    11141114 * @uses bbp_get_topic_id() To get the topic id
    1115  * @uses get_post_ancestors() To get the reply's topic
     1115 * @uses get_post_ancestors() To get the ancestors of a reply
    11161116 * @uses get_post_field() To get the post type of the post
    11171117 * @uses update_post_meta() To update the reply topic id meta
    11181118 * @uses apply_filters() Calls 'bbp_update_reply_topic_id' with the topic id
    11191119 *                        and reply id
    1120  * @return bool Reply's topic id
     1120 * @return bool The topic id of the reply
    11211121 */
    11221122function bbp_update_reply_topic_id( $reply_id = 0, $topic_id = 0 ) {
     
    11551155
    11561156/*
    1157  * Update the reply's meta data with its reply to id
     1157 * Update the meta data with its parent reply-to id, of a reply
    11581158 *
    11591159 * @since 2.4.0 bbPress (r4944)
     
    11651165 * @uses apply_filters() Calls 'bbp_update_reply_to' with the reply id and
    11661166 *                        and reply to id
    1167  * @return bool Reply's parent reply id
     1167 * @return bool The parent reply id of the reply
    11681168 */
    11691169function bbp_update_reply_to( $reply_id = 0, $reply_to = 0 ) {
     
    13431343    /** Topic to Move From ***************************************************/
    13441344
    1345     // Get the reply's current topic
     1345    // Get the current topic a reply is in
    13461346    $source_topic = bbp_get_topic( $move_reply->post_parent );
    13471347
Note: See TracChangeset for help on using the changeset viewer.