Bug fix: http://wordpress.org/support/6/1084 .
Wrong variable used in previous update. git-svn-id: https://develop.svn.wordpress.org/trunk@554 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c08d7f6082
commit
ef9e036f4a
|
@ -263,7 +263,7 @@ if ( !empty($postend) && ($postend > $poststart) && (!$m) && empty($monthnum) &&
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
elseif (($m) || ($p) || ($w) || ($s) || ($whichcat) || ($author)) {
|
elseif (($m) || ($p) || ($w) || ($s) || ($whichcat) || ($author) || $monthnum || $year || $day) {
|
||||||
$limits = '';
|
$limits = '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -306,7 +306,7 @@ if ($preview) {
|
||||||
$posts = $wpdb->get_results($request);
|
$posts = $wpdb->get_results($request);
|
||||||
|
|
||||||
if (1 == count($posts)) {
|
if (1 == count($posts)) {
|
||||||
if ($id || $name) {
|
if ($p || $name) {
|
||||||
$more = 1;
|
$more = 1;
|
||||||
$c = 1;
|
$c = 1;
|
||||||
$single = 1;
|
$single = 1;
|
||||||
|
|
Loading…
Reference in New Issue