Remove remnants of $c.
git-svn-id: http://svn.automattic.com/wordpress/trunk@808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
+2
-2
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user