Forums
-
- Forum
- Posts
-
- Installation
- 28,380
- Troubleshooting
- 62,255
- Themes
- 10,391
- Plugins
- 15,313
- Requests & Feedback
- 14,907
- Showcase
- 3,252
-
Always wrap PHP code inside script tags
<script language="PHP">echo phpversion()</script>
also remember to make the change explained here: https://bbpress.org/forums/topic/admin-can-paste-php-code-in-post?replies=28#post-71965
Can you please explain what do you mean about production environment?
A public site. The code isn’t tested at all.
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS