Add lastentry to the list of vars to reset. Fix from 2fargon for bug 00002222.

git-svn-id: https://develop.svn.wordpress.org/trunk@1539 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2004-08-17 18:42:22 +00:00
parent 056158bcad
commit eead2c6bf5
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
require_once('../wp-config.php');
require('upgrade-functions.php');
$wpvarstoreset = array('action', 'gmpath', 'archivespath');
$wpvarstoreset = array('action', 'gmpath', 'archivespath', 'lastentry');
for ($i=0; $i<count($wpvarstoreset); $i += 1) {
$wpvar = $wpvarstoreset[$i];
if (!isset($$wpvar)) {