Use siteurl, not home, for constructing paging links. see #5684

git-svn-id: https://develop.svn.wordpress.org/trunk@6721 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-02-05 03:09:43 +00:00
parent f1d1586796
commit 8ce8819434
1 changed files with 6 additions and 1 deletions

View File

@ -87,6 +87,11 @@ $messages[5] = __('Tag not updated.');
<h2><?php _e('Tags') ?> </h2>
<?php endif; ?>
<p id="tag-search">
<input type="text" id="tag-search-input" name="s" value="<?php echo attribute_escape( stripslashes( $_GET[ 's' ]) ); ?>" />
<input type="submit" id="post-query-submit" value="<?php _e( 'Search Widgets' ); ?>" />
</p>
<form name="searchform" id="searchform" action="" method="get">
<input type="text" name="s" id="s" value="<?php echo attribute_escape( stripslashes( $_GET[ 's' ]) ); ?>" size="17" />
<input type="submit" id="post-query-submit" value="<?php _e('Search Tags'); ?>" class="button" />
@ -117,7 +122,7 @@ $count = tag_rows( $pagenum, $tagsperpage, $searchterms );
</table>
<?php
$baseurl = get_bloginfo( 'home') . '/wp-admin/edit-tags.php?pagenum=';
$baseurl = get_bloginfo( 'siteurl' ) . '/wp-admin/edit-tags.php?pagenum=';
if( $pagenum >= 1 ) {
echo '<a href="' . $baseurl . ($pagenum - 1 ) . '">&lt;&lt;' . __('Previous Tags') . '</a>';
if( $count == $tagsperpage ) {