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:
parent
056158bcad
commit
eead2c6bf5
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue