Include cleanups

git-svn-id: https://develop.svn.wordpress.org/trunk@2238 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg
2005-02-07 07:25:30 +00:00
parent ff12afd4e3
commit aa6f078dae
4 changed files with 23 additions and 40 deletions

View File

@@ -1,24 +0,0 @@
<?php
$curpath = dirname(__FILE__).'/';
/***** About-the-blog tags *****/
require($curpath . 'template-functions-general.php');
/***** Links *****/
require($curpath . 'template-functions-links.php');
/***** Author tags *****/
require($curpath . 'template-functions-author.php');
/***** Post tags *****/
require($curpath . 'template-functions-post.php');
/***** Category tags *****/
require($curpath . 'template-functions-category.php');
/***** Comment tags *****/
require($curpath . 'comment-functions.php');
require($curpath . 'feed-functions.php');
?>

View File

@@ -1,8 +1,5 @@
<?php
/* This file sets various arrays and variables for use in WordPress */
require(ABSPATH . 'wp-includes/version.php');
// On which page are we ?
$PHP_SELF = $_SERVER['PHP_SELF'];
if (preg_match('#([^/]+.php)#', $PHP_SELF, $self_matches)) {

View File

@@ -1,6 +1,9 @@
<?php
require_once(ABSPATH . 'wp-includes/streams.php');
require_once(ABSPATH . 'wp-includes/gettext.php');
if ( defined('WPLANG') && '' != constant('WPLANG') ) {
require_once(ABSPATH . 'wp-includes/streams.php');
require_once(ABSPATH . 'wp-includes/gettext.php');
}
function get_locale() {
global $locale;
@@ -94,4 +97,4 @@ function load_theme_textdomain($domain) {
load_textdomain($domain, $mofile);
}
?>
?>