#2429 closed defect (bug) (fixed)
Theme compat content replacement in 2.4 does terrible things on edit pages
Reported by: | aaclayton | Owned by: | johnjamesjacoby |
---|---|---|---|
Milestone: | 2.4.1 | Priority: | highest omg sweet tea |
Severity: | critical | Version: | trunk |
Component: | Appearance - Theme Compatibility | Keywords: | |
Cc: |
Description
In my themes I provide custom templating for bbPress. This includes edit pages (single-topic-edit.php and single-reply-edit.php). These templates are being properly loaded by bbPress, however Theme Compatibility content replacement is still being called.
This leads to a situation where, on edit pages, the post content gets replaced with $bbp_shortcodes->display_topic_form(); and $bbp_shortcodes->display_reply_form(); respectively.
When I call bbp_the_content() within my form-topic and form-reply templates, I end up with a form within a form, as the post content has been replaced with an entire edit form.
Moving to 2.4.1 to investigate asap.