mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 12:50:28 +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:
+3
-5
@@ -1,10 +1,8 @@
|
||||
<?php
|
||||
require_once( dirname(__FILE__) . '/wp-config.php' );
|
||||
|
||||
if ( empty($doing_trackback) ) {
|
||||
$doing_trackback = true;
|
||||
$tb = true;
|
||||
require_once('wp-blog-header.php');
|
||||
if (empty($wp)) {
|
||||
require_once('wp-config.php');
|
||||
wp('tb=1');
|
||||
}
|
||||
|
||||
function trackback_response($error = 0, $error_message = '') {
|
||||
|
||||
Reference in New Issue
Block a user