Go to First Page -> Go to Last Page

Fixes a minor glitch in yourls_html_tfooter() in functions-html.php:

In the pagination section of the URL table, the 'Go to Last Page'-link has a `title` attribute 'Go to First Page' (one can notice that by hovering it). Should of course be titled 'Go to Last Page'.
This commit is contained in:
BestNa.me Labs 2016-03-09 22:24:48 +01:00
parent 1f6d1fb8eb
commit 585744624d

View File

@ -312,7 +312,7 @@ function yourls_html_tfooter( $params = array() ) {
if( ( $p_end ) < $total_pages ) {
$link = yourls_add_query_arg( array_merge( $params, array( 'page' => $total_pages ) ), $base_page );
echo '<span class="nav_link nav_next"></span>';
echo '<span class="nav_link nav_last"><a href="' . $link . '" title="' . yourls_esc_attr__('Go to First Page') . '">' . yourls__( 'Last &raquo;' ) . '</a></span>';
echo '<span class="nav_link nav_last"><a href="' . $link . '" title="' . yourls_esc_attr__('Go to Last Page') . '">' . yourls__( 'Last &raquo;' ) . '</a></span>';
}
?>
<?php } ?>