Skip to:
Content

bbPress.org

Changeset 7337


Ignore:
Timestamp:
07/02/2025 03:21:58 PM (5 months ago)
Author:
johnjamesjacoby
Message:

Extend - BuddyPress: remove unused variables.

This change deletes 2 lines of code (in maybe_map_permalink_to_group()) that are no longer being used.

Props upadalavipul.

In branches/2.6, for 2.6.14.

Fixes #3555.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.6/src/includes/extend/buddypress/groups.php

    r7317 r7337  
    15121512            // Reply
    15131513            case bbp_get_reply_post_type() :
    1514                 $topic_id = bbp_get_reply_topic_id( $post_id );
    15151514                $forum_id = bbp_get_reply_forum_id( $post_id );
    15161515                $url_end  = trailingslashit( $this->reply_slug ) . get_post_field( 'post_name', $post_id );
     
    15191518            // Topic
    15201519            case bbp_get_topic_post_type() :
    1521                 $topic_id = $post_id;
    15221520                $forum_id = bbp_get_topic_forum_id( $post_id );
    15231521                $url_end  = trailingslashit( $this->topic_slug ) . get_post_field( 'post_name', $post_id );
Note: See TracChangeset for help on using the changeset viewer.