#11842 closed enhancement (fixed)
general-template.php echo/return fixes
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | low | Milestone: | 3.0 |
| Component: | Formatting | Version: | 2.9.1 |
| Severity: | minor | Keywords: | has-patch commit tested |
| Cc: | sirzooro |
Description
There are 3 functions that does have a way to 'return' data:
- get_search_form
- wp_register
- get_calendar
This patch has all the changes. Tested and working! ;-)
Attachments (5)
Change History (13)
- Milestone changed from 2.9.2 to 3.0
As a code tidy up this shouldn't be done in a Maintenance release.
- Cc sirzooro added
Related: #10575. Path attached to that ticket also adds get_calendar filter.
There is one more thing to fix - at the beginning get_calendar() checks if there is a cached version exists, and if yes it takes and displays it. You should also check $echo and use get_calendar filter there.
Note: See
TracTickets for help on using
tickets.

removed 'ob_end_clean()'