Opened 18 years ago
Closed 17 years ago
#6769 closed defect (bug) (fixed)
loop_start hook isn't always called (workflow bug)
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | 2.6 | Priority: | normal |
| Severity: | normal | Version: | 2.5 |
| Component: | General | Keywords: | has-patch |
| Focuses: | Cc: |
Description
while investigating a weird bug in a plugin, I noticed that, if you do a search that returns no results, the loop_start hook never gets called -- but the loop_end hook does.
imo, loop_end should not get called if loop_start wasn't.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
(In [8188]) Don't call loop_end hook if we don't have any posts. props Denis-de-Bernardy and DD32. fixes #6769 for trunk