post_form() h2 woes
-
I just installed bbPress 1.0 to my dev server today and something strange is happening.
Instead of “Reply” or “New Topic in this Forum” for the h2 class “post-form”, I am now getting the string “Array”.
Any idea why?
Funny thing is this isn’t happening on my localbox where I installed bbPress 1.0 from 1.0 alpha 6 exactly the same way.
—
I just went into functions.bb-template.php to do a var_dump of the $h2 variable in the post_form() function and this is what I get:
array(1) { ["h2"]=> array(1) { ["h2"]=> array(1) { ["h2"]=> *RECURSION* } } }
Any idea why the $h2 variable is an array when it should be outputting one of the strings “Reply”, “New Topic in this forum” or “Add New Topic”?
- You must be logged in to reply to this topic.