Add parse_request, send_headers, and wp actions.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4d49e98fe4
commit
16228c3d58
|
@ -224,6 +224,8 @@ class WP {
|
||||||
|
|
||||||
if ( isset($error) )
|
if ( isset($error) )
|
||||||
$this->query_vars['error'] = $error;
|
$this->query_vars['error'] = $error;
|
||||||
|
|
||||||
|
do_action('parse_request', array(&$this));
|
||||||
}
|
}
|
||||||
|
|
||||||
function send_headers() {
|
function send_headers() {
|
||||||
|
@ -263,6 +265,8 @@ class WP {
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
do_action('send_headers', array(&$this));
|
||||||
}
|
}
|
||||||
|
|
||||||
function build_query_string() {
|
function build_query_string() {
|
||||||
|
@ -333,6 +337,7 @@ class WP {
|
||||||
$this->query_posts();
|
$this->query_posts();
|
||||||
$this->handle_404();
|
$this->handle_404();
|
||||||
$this->register_globals();
|
$this->register_globals();
|
||||||
|
do_action('wp', array(&$this));
|
||||||
}
|
}
|
||||||
|
|
||||||
function WP() {
|
function WP() {
|
||||||
|
|
Loading…
Reference in New Issue