mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Break blog header up into functional chunks. Stick it all in a WP class for now. Make wp() the front door. Move template/theme loader code into template-loader.php. Clean up feed file loadup. Modularize.
git-svn-id: https://develop.svn.wordpress.org/trunk@2627 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1849,6 +1849,11 @@ function wp_remote_fopen( $uri ) {
|
||||
}
|
||||
}
|
||||
|
||||
function wp($query_vars = '') {
|
||||
global $wp;
|
||||
$wp->main($query_vars);
|
||||
}
|
||||
|
||||
function status_header( $header ) {
|
||||
if ( 200 == $header ) {
|
||||
$text = 'OK';
|
||||
|
||||
Reference in New Issue
Block a user