Skip to:
Content

bbPress.org


Ignore:
Timestamp:
06/01/2017 09:05:34 PM (8 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-forum.php

    r6361 r6452  
    2525    <div id="new-forum-<?php bbp_forum_id(); ?>" class="bbp-forum-form">
    2626
    27         <form id="new-post" name="new-post" method="post" action="<?php the_permalink(); ?>">
     27        <form id="new-post" name="new-post" method="post" action="<?php bbp_forum_permalink(); ?>">
    2828
    2929            <?php do_action( 'bbp_theme_before_forum_form' ); ?>
Note: See TracChangeset for help on using the changeset viewer.