mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 07:40:07 +00:00
Add parse_request, send_headers, and wp actions.
git-svn-id: https://develop.svn.wordpress.org/trunk@3789 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user