the loop should clean up after itself
|Reported by:||coffee2code||Owned by:||skippy|
The loop, by calling the_post(), sets up various global variables with values relevant to each post as it iterates through posts. However, when the loop is done, the global variables are left with the values set from the last iteration.
Other than being cleaner, this has relevance to the followup bug report I'll submit, a feature request which should soon be listed as having a dependent relationship to this bug.
Change History (7)
- Keywords bg|has-patch added
- Owner changed from anonymous to skippy
- Status changed from new to assigned