Skip to content

Commit 2160d0c

Browse files
jehervewestonruter
andauthored
Better alignment
Co-authored-by: Weston Ruter <[email protected]>
1 parent f4ec0f7 commit 2160d0c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/wp-includes/general-template.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2019,13 +2019,13 @@ function wp_get_archives( $args = '' ) {
20192019
);
20202020

20212021
/**
2022-
* Filters the archive links list arguments.
2022+
* Filters the arguments for displaying archive links.
20232023
*
20242024
* @since 7.0.0
20252025
*
20262026
* @see wp_get_archives()
20272027
*
2028-
* @param array $args An array of arguments.
2028+
* @param array<string, string|int|bool> $args Arguments.
20292029
*/
20302030
$args = apply_filters( 'wp_get_archives_args', $args );
20312031

tests/phpunit/tests/functions/wpGetArchives.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -227,9 +227,9 @@ public function test_wp_get_archives_args_filter() {
227227
$title3 = get_post( $ids[2] )->post_title;
228228

229229
$expected = <<<EOF
230-
<li><a href='$link1'>$title1</a></li>
231-
<li><a href='$link2'>$title2</a></li>
232-
<li><a href='$link3'>$title3</a></li>
230+
<li><a href='$link1'>$title1</a></li>
231+
<li><a href='$link2'>$title2</a></li>
232+
<li><a href='$link3'>$title3</a></li>
233233
EOF;
234234
$archives = wp_get_archives(
235235
array(

0 commit comments

Comments
 (0)