Use correct variable. see [28534], [28538].
see #22400. Built from https://develop.svn.wordpress.org/trunk@28540 git-svn-id: http://core.svn.wordpress.org/trunk@28366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b8d469600b
commit
9b9b8ec413
|
@ -1308,7 +1308,7 @@ function wp_get_archives( $args = '' ) {
|
||||||
if ( $r['show_post_count'] ) {
|
if ( $r['show_post_count'] ) {
|
||||||
$r['after'] = ' (' . $result->posts . ')' . $after;
|
$r['after'] = ' (' . $result->posts . ')' . $after;
|
||||||
}
|
}
|
||||||
$output .= get_archives_link( $url, $text, $r['format'], $r['before'], $after );
|
$output .= get_archives_link( $url, $text, $r['format'], $r['before'], $r['after'] );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} elseif ( 'weekly' == $r['type'] ) {
|
} elseif ( 'weekly' == $r['type'] ) {
|
||||||
|
|
Loading…
Reference in New Issue