Fix validation and filtering for link manager

git-svn-id: https://develop.svn.wordpress.org/trunk@6860 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-02-15 18:44:48 +00:00
parent e7785596b4
commit 484c9f349f
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>