Skip to:
Content

bbPress.org


Ignore:
Timestamp:
05/22/2013 07:16:47 AM (13 years ago)
Author:
johnjamesjacoby
Message:

Introduce bbp_make_clickable() and use it in place of make_clickable() filter. Fixes issues with making links clickable inside pre and code blocks. Fixes #2335 (2.3 branch)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.3/includes/core/filters.php

    r4878 r4943  
    136136
    137137// Run filters on reply content
    138 add_filter( 'bbp_get_reply_content', 'make_clickable',    4    );
     138add_filter( 'bbp_get_reply_content', 'bbp_make_clickable', 4    );
    139139add_filter( 'bbp_get_reply_content', 'bbp_mention_filter', 5    );
    140140add_filter( 'bbp_get_reply_content', 'wptexturize',        6    );
    … …  
    147147
    148148// Run filters on topic content
    149 add_filter( 'bbp_get_topic_content', 'make_clickable',    4    );
     149add_filter( 'bbp_get_topic_content', 'bbp_make_clickable', 4    );
    150150add_filter( 'bbp_get_topic_content', 'bbp_mention_filter', 5    );
    151151add_filter( 'bbp_get_topic_content', 'wptexturize',        6    );
Note: See TracChangeset for help on using the changeset viewer.