Opened 4 years ago
Closed 4 years ago
#10625 closed defect (bug) (fixed)
HTTP API wrongly uses has_action() before it's hooks
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | lowest | Milestone: | 2.9 |
| Component: | HTTP | Version: | 2.9 |
| Severity: | trivial | Keywords: | has-patch |
| Cc: |
Description
Before calling do_action(), the HTTP API first does a has_action() check. Besides being rather pointless (there's no performance improvement to speak of), it prevents the all action from running.
It should be removed.
Attachments (1)
Note: See
TracTickets for help on using
tickets.

(In [11835]) Don use has_action() before do_action() in http.php, props Viper007Bond, fixes #10625