Skip to:
Content

bbPress.org


Ignore:
Timestamp:
06/01/2017 09:05:34 PM (4 years ago)
Author:
johnjamesjacoby
Message:

Templates: Replace the_permalink() calls with more specific template tags.

Resolves issue where BuddyPress group forums would collide with literal page IDs when not using theme-compat.

Fixes #3030.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/templates/default/bbpress/form-topic.php

    r6361 r6452  
    3333    <div id="new-topic-<?php bbp_topic_id(); ?>" class="bbp-topic-form">
    3434
    35         <form id="new-post" name="new-post" method="post" action="<?php the_permalink(); ?>">
     35        <form id="new-post" name="new-post" method="post" action="<?php bbp_topic_permalink(); ?>">
    3636
    3737            <?php do_action( 'bbp_theme_before_topic_form' ); ?>
Note: See TracChangeset for help on using the changeset viewer.