mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-09 09:57:38 +01:00
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) )
|
||||
$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() {
|
||||
|
Loading…
Reference in New Issue
Block a user