Ticket #2478: meta-2478.bbpress.patch
File meta-2478.bbpress.patch, 1.0 KB (added by , 8 years ago) |
---|
-
includes/replies/template.php
2031 2031 $reply_link = bbp_remove_view_all( bbp_get_reply_permalink( $reply_id ) ); 2032 2032 2033 2033 // Pretty permalinks 2034 if ( bbp_use_pretty_urls() ) {2034 if ( false === strpos( $reply_link, '?' ) ) { 2035 2035 $url = trailingslashit( $reply_link ) . bbp_get_edit_rewrite_id(); 2036 2036 $url = user_trailingslashit( $url ); 2037 2037 -
includes/topics/template.php
2652 2652 $topic_link = bbp_remove_view_all( bbp_get_topic_permalink( $topic_id ) ); 2653 2653 2654 2654 // Pretty permalinks 2655 if ( bbp_use_pretty_urls() ) {2655 if ( false === strpos( $reply_link, '?' ) ) { 2656 2656 $url = trailingslashit( $topic_link ) . bbp_get_edit_rewrite_id(); 2657 2657 $url = user_trailingslashit( $url ); 2658 2658