Slash text issue in 1.0-alpha-6, have searched
-
Getting slashes before quotes/apostrophes in bbPress 1.0-alpha-6 integrated with WP.
Have searched forum for solution, but most seem to be from 2 years ago (what can be found anyway). The core file that needs to be edited (bb-includes/template-functions.php) in those instructions is no longer called that (yes, i know which one it has become), but the code also looks markedly different.
While I have *some* PHP knowledge and can follow most step-by-step stuff, I’m starting out with a different syntax than the instructions, which makes me a little nervous.
Here’s the code I think I may need to change:
‘function get_post_text( $post_id = 0 ) {
$bb_post = bb_get_post( get_post_id( $post_id ) );
return apply_filters( ‘get_post_text’, $bb_post->post_text, $bb_post->post_id );’
and then what about forum titles?
Is there an easier way to do this now, or do the core files still have to be edited?
- You must be logged in to reply to this topic.