Skip to:
Content

bbPress.org

Ticket #2216: topics-template-tags.patch

File topics-template-tags.patch, 686 bytes (added by alex-ye, 13 years ago)

Passing $r variable instead of $args in bbp_get_topic_admin_links filter

  • template-tags.php

    # This patch file was generated by NetBeans IDE
    # Following Index: paths are relative to: includes\topics
    # It uses platform neutral UTF-8 encoding and \n newlines.
    # Above lines and this line are ignored by the patching process.
     
    22632263                // Process the admin links
    22642264                $links = implode( $r['sep'], array_filter( $r['links'] ) );
    22652265
    2266                 return apply_filters( 'bbp_get_topic_admin_links', $r['before'] . $links . $r['after'], $args );
     2266                return apply_filters( 'bbp_get_topic_admin_links', $r['before'] . $links . $r['after'], $r );
    22672267        }
    22682268
    22692269/**