Bug fix: http://wordpress.org/support/6/1084 .
Wrong variable used in previous update. git-svn-id: http://svn.automattic.com/wordpress/trunk@554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f33ef28bfc
commit
451de48541
|
@ -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 = '';
|
||||
}
|
||||
}
|
||||
|
@ -306,7 +306,7 @@ if ($preview) {
|
|||
$posts = $wpdb->get_results($request);
|
||||
|
||||
if (1 == count($posts)) {
|
||||
if ($id || $name) {
|
||||
if ($p || $name) {
|
||||
$more = 1;
|
||||
$c = 1;
|
||||
$single = 1;
|
||||
|
|
Loading…
Reference in New Issue