From a08173016f321e3ac760bdf2e0ba7d5e53061cb5 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Mon, 22 May 2006 19:23:46 +0000 Subject: [PATCH] Add parse_request, send_headers, and wp actions. git-svn-id: https://develop.svn.wordpress.org/trunk@3789 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/classes.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wp-includes/classes.php b/wp-includes/classes.php index 3952cb5587..65bf85a1f6 100644 --- a/wp-includes/classes.php +++ b/wp-includes/classes.php @@ -224,6 +224,8 @@ class WP { if ( isset($error) ) $this->query_vars['error'] = $error; + + do_action('parse_request', array(&$this)); } function send_headers() { @@ -263,6 +265,8 @@ class WP { exit; } } + + do_action('send_headers', array(&$this)); } function build_query_string() { @@ -333,6 +337,7 @@ class WP { $this->query_posts(); $this->handle_404(); $this->register_globals(); + do_action('wp', array(&$this)); } function WP() {