Add lastentry to the list of vars to reset. Fix from 2fargon for bug 00002222.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1539 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c00c69e9d5
commit
17a630d374
|
@ -3,7 +3,7 @@
|
||||||
require_once('../wp-config.php');
|
require_once('../wp-config.php');
|
||||||
require('upgrade-functions.php');
|
require('upgrade-functions.php');
|
||||||
|
|
||||||
$wpvarstoreset = array('action', 'gmpath', 'archivespath');
|
$wpvarstoreset = array('action', 'gmpath', 'archivespath', 'lastentry');
|
||||||
for ($i=0; $i<count($wpvarstoreset); $i += 1) {
|
for ($i=0; $i<count($wpvarstoreset); $i += 1) {
|
||||||
$wpvar = $wpvarstoreset[$i];
|
$wpvar = $wpvarstoreset[$i];
|
||||||
if (!isset($$wpvar)) {
|
if (!isset($$wpvar)) {
|
||||||
|
|
Loading…
Reference in New Issue