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

git-svn-id: http://svn.automattic.com/wordpress/trunk@6721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-02-05 03:09:43 +00:00
parent 4b0cd5c58a
commit 9b10127afb
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 ) {