Skip to:

Opened 10 years ago

Closed 9 years ago

#2515 closed task (blessed) (fixed)

add rel nofollow to topic reply link

Reported by: hamedt's profile Hamed.T Owned by: netweb's profile netweb
Milestone: 2.6 Priority: low
Severity: normal Version: 2.5.3
Component: Component - Replies Keywords: has-patch commit



it's not SEO friendly, how can i add rel no follow to it?

Attachments (3)

2515.diff (1.5 KB) - added by netweb 10 years ago.
2515.2.diff (1.2 KB) - added by netweb 9 years ago.
2515.3.diff (1.2 KB) - added by netweb 9 years ago.

Download all attachments as: .zip

Change History (10)

#1 @johnjamesjacoby
10 years ago

  • Milestone changed from Awaiting Review to 2.6
  • Priority changed from omg sweet tea to low

This is relatively low on the scale of things to fix, but we'll make sure it gets in for 2.6.

10 years ago

#2 @netweb
10 years ago

  • Keywords has-patch added; needs-docs needs-patch removed

In 2515.diff​ Add rel="nofollow" to bbp_get_topic_reply_link and bbp_get_reply_to_link 'reply' links

This ticket was mentioned in IRC in #bbpress-dev by netweb. View the logs.

10 years ago

#4 @netweb
10 years ago

  • Owner set to netweb

9 years ago

#5 @netweb
9 years ago

  • Keywords commit added

In 2515.2.diff​ use helper functions bbp_rel_nofollow() to add rel="nofollow" and stripslashes to bbp_get_topic_reply_link and bbp_get_reply_to_link links.

9 years ago

#6 @netweb
9 years ago

In 2515.3.diff, refresh against /trunk and uses wp_unslash

#7 @netweb
9 years ago

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

In 5727:

Add bbp_rel_nofollow and wp_unslash filters to bbp_get_topic_reply_link and bbp_get_reply_to_link topic reply links.

Props netweb. Fixes #2515

Note: See TracTickets for help on using tickets.