Opened 11 years ago
Closed 11 years ago
#25378 closed defect (bug) (fixed)
Initialise $wp_filter and $merged_filters
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.7 | Priority: | normal |
Severity: | trivial | Version: | |
Component: | Plugins | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
At the moment, $wp_filter
and $merged_filters
are never actually initialised, they just kind of... pop into existence. $wp_actions
is checked, but that's done on every call of do_action
, where we could just do them all globally.
Attached patch does just that.
Attachments (2)
Change History (6)
#2
@
11 years ago
- Component changed from General to Plugins
- Keywords commit added
- Milestone changed from Awaiting Review to 3.7
#3
in reply to:
↑ 1
@
11 years ago
Replying to rmccue:
Moved to plugin.php as per dd32's comments.
FWIW, my comments in IRC were:
- The file stands-alone and is used in things like BackPress
- We fire actions/filters between the time plugin.php, and default-filters.php are included
- We sometimes only include plugin.php, ie. error conditions
Note: See
TracTickets for help on using
tickets.
We're up all night to get initialised