Fix validation and filtering for link manager

git-svn-id: http://svn.automattic.com/wordpress/trunk@6860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-02-15 18:44:48 +00:00
parent daa48683de
commit 42a8efec5e
1 changed files with 0 additions and 7 deletions

View File

@ -87,7 +87,6 @@ if ( isset($_GET['deleted']) ) {
<div style="float: left">
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" />
<?php wp_nonce_field('bulk-posts'); ?>
<?php
$categories = get_terms('link_category', "hide_empty=1");
$select_cat = "<select name=\"cat_id\">\n";
@ -138,10 +137,6 @@ if ( $links ) {
?>
<?php wp_nonce_field('bulk-bookmarks') ?>
<input type="hidden" name="link_id" value="" />
<input type="hidden" name="action" value="" />
<input type="hidden" name="order_by" value="<?php echo attribute_escape($order_by); ?>" />
<input type="hidden" name="cat_id" value="<?php echo (int) $cat_id ?>" />
<table class="widefat">
<thead>
<tr>
@ -221,8 +216,6 @@ if ( $links ) {
<br style="clear:both;" />
</div>
</form>
<?php } ?>
</div>