From 16228c3d589edf60d95d6f83ad92523191078540 Mon Sep 17 00:00:00 2001 From: ryan Date: Mon, 22 May 2006 19:23:46 +0000 Subject: [PATCH] Add parse_request, send_headers, and wp actions. git-svn-id: http://svn.automattic.com/wordpress/trunk@3789 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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() {