Skip to:
Content

bbPress.org

Changeset 4295


Ignore:
Timestamp:
11/02/2012 05:40:33 PM (13 years ago)
Author:
johnjamesjacoby
Message:

Shortcodes:

  • Fix incorrect post_type reference in shortcodes inline doc.
  • Fixes #2003.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/core/shortcodes.php

    r4249 r4295  
    328328        $forum_id = bbp_get_topic_forum_id( $topic_id );
    329329
    330         // Bail if ID passed is not a forum
     330        // Bail if ID passed is not a topic
    331331        if ( !bbp_is_topic( $topic_id ) )
    332332            return $content;
     
    410410        $forum_id = bbp_get_reply_forum_id( $reply_id );
    411411
    412         // Bail if ID passed is not a forum
     412        // Bail if ID passed is not a reply
    413413        if ( !bbp_is_reply( $reply_id ) )
    414414            return $content;
Note: See TracChangeset for help on using the changeset viewer.