WordPress.org

Make WordPress Core

Changeset 1417


Ignore:
Timestamp:
06/11/2004 10:53:52 PM (14 years ago)
Author:
saxmatt
Message:

Quick fix for quotes and (int).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/link-manager.php

    r1416 r1417  
    279279    check_admin_referer();
    280280
    281     $link_id = $_GET["link_id"];
     281    $link_id = (int) $_GET['link_id'];
    282282
    283283    if ($user_level < get_settings('links_minadminlevel'))
     
    307307      die(__('You do not have sufficient permissions to edit the links for this blog.'));
    308308    }
    309     $link_id = $_GET["link_id"];
     309    $link_id = (int) $_GET['link_id'];
    310310    $row = $wpdb->get_row("SELECT *
    311311    FROM $wpdb->links
Note: See TracChangeset for help on using the changeset viewer.