Bug fixes, sidebar.php from Phil Ringnalda.
git-svn-id: https://develop.svn.wordpress.org/trunk@877 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
4a8a38f300
commit
6d0ba6369d
|
@ -119,6 +119,7 @@ switch($step) {
|
||||||
|
|
||||||
// We'll fail here if the values are no good.
|
// We'll fail here if the values are no good.
|
||||||
require_once('../wp-includes/wp-db.php');
|
require_once('../wp-includes/wp-db.php');
|
||||||
|
$handle = fopen('../wp-config.php', 'w');
|
||||||
|
|
||||||
foreach ($configFile as $line_num => $line) {
|
foreach ($configFile as $line_num => $line) {
|
||||||
switch (substr($line,0,16)) {
|
switch (substr($line,0,16)) {
|
||||||
|
|
|
@ -1,8 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
function selected($selected, $current) {
|
|
||||||
if ($selected == $current) echo ' selected="selected"';
|
|
||||||
}
|
|
||||||
|
|
||||||
$mode = 'sidebar';
|
$mode = 'sidebar';
|
||||||
|
|
||||||
$standalone = 1;
|
$standalone = 1;
|
||||||
|
@ -34,7 +30,7 @@ if ('b' == $HTTP_GET_VARS['a']) {
|
||||||
|
|
||||||
?><html>
|
?><html>
|
||||||
<head>
|
<head>
|
||||||
<title>WordPress > Sidebar</title>
|
<title>WordPress › Sidebar</title>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $admin_area_charset ?>" />
|
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $admin_area_charset ?>" />
|
||||||
<link rel="stylesheet" href="wp-admin.css" type="text/css" />
|
<link rel="stylesheet" href="wp-admin.css" type="text/css" />
|
||||||
<link rel="shortcut icon" href="../wp-images/wp-favicon.png" />
|
<link rel="shortcut icon" href="../wp-images/wp-favicon.png" />
|
||||||
|
|
Loading…
Reference in New Issue