Info
- 7 posts
- 4 voices
- Started 5 years ago by CMoseley
- Latest reply from CMoseley
- This topic is resolved
"/" Escaping issue within my posts
-
- Posted 5 years ago #
I've setup bbPress succesfully and all that good stuff, but now I have this weird issue. Any normally "escaped" characters are showing up in all my and my users posts.
Example:
http://onctalk.com/bbPress/topic.php?id=165&replies=1Not a clue whats cuasing it, but its pretty annoying, so any help would be appreciated.
Also, if I attemp to edit the post, then delete the slashes, they just reappear again, and if I left any existing slashes, more of them appear to escape the new "/" that was written in my edit post. (Which is why you see ///" instead of /").
-
- Posted 5 years ago #
What plugins do you have installed? If you quickly rename your /my-plugins/ directory to something else and test post, does it do the same thing? That way we can find out if it is plugins and not the system iteself. If we can issolate it, we might be a solution faster!
Trent
-
- Posted 5 years ago #
Just tried renaming the plugins folder and doing a test post, and the same thing happened.
I'm running bbPress 0.8.0.
Around a week or so ago, I ported over an RS Discuss forum to bbPress (which is what you see right now). Did it using just SQL Queries, so I don't think it should have effected anything in bbPress.
-
- Posted 5 years ago #
Not sure if it will make a difference, but maybe upgrade to 0.8.1 and see if that helps this situation out.
Trent
-
- Posted 5 years ago #
This sounds suspiciously like:
http://bbpress.org/forums/topic/670?replies=7
http://bbpress.org/forums/topic/90?replies=25I think it was narrowed down to integration with WP by member: baptiste.
I don't know if it was solved yet or why it happens, but it seems like we've talked about it before.
-
- Posted 5 years ago #
It happens on this forum as well. You get more \\every time you edit a post one \ is added.
Excample (used the code tags):
echo '<li><a href="link-to-your-thingy.com">Thingy-name</a></li>';I didn't add any \ in it Also code between the code tags shouldn't be altered at all.
Every time I edit this post (and leave the \ in) it wil ad 1 more...
Edit:
LOL seems to be fixed now :S -
- Posted 5 years ago #
What baptiste posted in another thread worked like a charm:
"Easy fix (hack) in bb-includes/template-functions.php, update this function to look like this:function get_post_text() {
global $bb_post;
return stripslashes($bb_post->post_text);
return stripslashes(apply_filters( 'get_topic_title', $topic->topic_title, $id ));
}May be an artifact of the wordpress integration - not sure. "
(Made a small change of adding the filter for the titles too... was originally split over two posts. -
You must log in to post.