Opened 5 years ago
Closed 5 years ago
#6769 closed defect (bug) (fixed)
loop_start hook isn't always called (workflow bug)
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 2.6 |
| Component: | General | Version: | 2.5 |
| Severity: | normal | Keywords: | has-patch |
| 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