Opened 15 years ago
Closed 15 years ago
#10625 closed defect (bug) (fixed)
HTTP API wrongly uses has_action() before it's hooks
Reported by: | Viper007Bond | Owned by: | dd32 |
---|---|---|---|
Milestone: | 2.9 | Priority: | lowest |
Severity: | trivial | Version: | 2.9 |
Component: | HTTP API | Keywords: | has-patch |
Focuses: | 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)
Change History (2)
Note: See
TracTickets for help on using
tickets.
(In [11835]) Don use has_action() before do_action() in http.php, props Viper007Bond, fixes #10625