Skip to:
Content

bbPress.org


Ignore:
Timestamp:
02/28/2012 06:20:49 PM (14 years ago)
Author:
johnjamesjacoby
Message:

trailingslashit() pretty permalinks when getting the edit URL for a topic or reply.

  • Fixes issues specifically with numeric permalinks setting
  • Also fixes custom permalinks without trailing slash
  • Fixes #1762
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-includes/bbp-topic-template.php

    r3760 r3773  
    21972197        // Pretty permalinks
    21982198        if ( $wp_rewrite->using_permalinks() ) {
    2199             $url = $topic_link . $bbp->edit_id;
     2199            $url = trailingslashit( $topic_link ) . $bbp->edit_id;
    22002200            $url = trailingslashit( $url );
    22012201
Note: See TracChangeset for help on using the changeset viewer.