mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Include cleanups
git-svn-id: https://develop.svn.wordpress.org/trunk@2238 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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');
|
||||
|
||||
?>
|
||||
@@ -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)) {
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
Reference in New Issue
Block a user