Skip to:

Opened 8 years ago

Closed 8 years ago

Last modified 5 years ago

#2889 closed defect (bug) (fixed)

Function bbp_make_clickable() problem with shortcodes

Reported by: gdragon's profile GDragoN Owned by:
Milestone: 2.6 Priority: normal
Severity: normal Version: trunk
Component: API - Formatting Keywords:


When URL is inside the shortcode, in some cases it will break the shortcode processing and whole content. This is caused by bbp_make_clickable() function that fails to properly process URL.

This is OK:

[shortcode] [/shortcode]

And this is OK:


But, this is not OK:


When the URL ends with / character and shortcode is closed immediately after, bbp_make_clickable() will include shortcode ending in URL and break the layout later when shortcode parser takes over.


Change History (6)

#1 @netweb
8 years ago


I've tried replicating this with a few shotcodes here on my test site but cannot reproduce the issue with bbPress 2.5.8

What shortcode are you using where this happens? Could you maybe add some code here for that shortcut please?

#2 @netweb
8 years ago

  • Priority changed from highest to normal
  • Severity changed from major to normal

#3 @netweb
8 years ago

  • Keywords close added

@GDragoN Could you test this against /trunk now, the changes in [6014] may also have fixed this issue of yours.

#4 @GDragoN
8 years ago

  • Resolution set to fixed
  • Status changed from new to closed

It works now. Thanks!

#5 @thebrandonallen
8 years ago

  • Keywords reporter-feedback needs-patch close removed
  • Milestone changed from Awaiting Review to 2.6

#6 @johnjamesjacoby
5 years ago

Assigning all closed & unassigned tickets in the 2.6 milestone to myself.

Note: See TracTickets for help on using tickets.