Make WordPress Core

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's profile Viper007Bond Owned by: dd32's profile 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)

10625.patch (1.7 KB) - added by Viper007Bond 15 years ago.

Download all attachments as: .zip

Change History (2)

@Viper007Bond
15 years ago

#1 @azaozz
15 years ago

  • Resolution set to fixed
  • Status changed from new to closed

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

Note: See TracTickets for help on using tickets.