Remove remnants of $c.

git-svn-id: https://develop.svn.wordpress.org/trunk@808 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg
2004-01-29 06:49:19 +00:00
parent 3351bbf3dd
commit f94fdae019
5 changed files with 6 additions and 7 deletions
+2 -2
View File
@@ -18,7 +18,7 @@ if (!get_magic_quotes_gpc()) {
$HTTP_COOKIE_VARS = add_magic_quotes($HTTP_COOKIE_VARS);
}
$wpvarstoreset = array('action', 'safe_mode', 'withcomments', 'c', 'posts', 'poststart', 'postend', 'content', 'edited_post_title', 'comment_error', 'profile', 'trackback_url', 'excerpt', 'showcomments', 'commentstart', 'commentend', 'commentorder');
$wpvarstoreset = array('action', 'safe_mode', 'withcomments', 'posts', 'poststart', 'postend', 'content', 'edited_post_title', 'comment_error', 'profile', 'trackback_url', 'excerpt', 'showcomments', 'commentstart', 'commentend', 'commentorder');
for ($i=0; $i<count($wpvarstoreset); $i += 1) {
$wpvar = $wpvarstoreset[$i];
@@ -643,7 +643,7 @@ switch($action) {
require_once ('./admin-header.php');
if ($user_level > 0) {
if ((!$withcomments) && (!$c)) {
if ((!$withcomments) && (!$single)) {
$action = 'post';
get_currentuserinfo();