Opened 7 years ago
Closed 7 years ago
#3375 closed defect (bug) (fixed)
The schedule shortcode is echoeing an extra "1"
Reported by: | imath | Owned by: | coreymckrill |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | WordCamp Site & Plugins | Keywords: | |
Cc: |
Description
Although the favourite schedule email feature is disabled by default as email_fav_sessions_disabled()
should prevent the favorite form to be displayed, the form is actually displayed and an extra "1" comes with it. See our WordCamp's schedule (above "Les Ateliers")
PS: i've used a css rule to hide the form and the stars
After looking at the code we think the problem is at line 755 of /wc-post-types/wc-post-types.php.
Instead of ob_end_flush()
We suggest to use :
$email_form = ob_get_contents(); ob_end_clean();
Change History (3)
Note: See
TracTickets for help on using
tickets.
Just noting that the email feature has actually been enabled at this point in r6349