Refactoring of template tags to use filters, use TABS (!!!), and general cleanliness, which is next to godliness. Some get_settings improvements, less globals.
git-svn-id: http://svn.automattic.com/wordpress/trunk@885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -49,10 +49,6 @@ require_once (ABSPATH . WPINC . '/kses.php');
|
||||
// accessing a single global $all_settings var
|
||||
if (!strstr($_SERVER['REQUEST_URI'], 'install.php') && !strstr($_SERVER['REQUEST_URI'], 'wp-admin/import')) {
|
||||
$siteurl = get_settings('siteurl');
|
||||
// "When trying to design a foolproof system,
|
||||
// never underestimate the ingenuity of the fools :)"
|
||||
|
||||
$siteurl = preg_replace('|/+$|', '', $siteurl);
|
||||
$blogfilename = get_settings('blogfilename');
|
||||
$blogname = get_settings('blogname');
|
||||
$blogdescription = get_settings('blogdescription');
|
||||
|
||||
Reference in New Issue
Block a user