WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/20/2005 03:20:31 AM (17 years ago)
Author:
ryan
Message:

Convert tb_id to int.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-trackback.php

    r2305 r2555  
    2828$request_array = 'HTTP_POST_VARS';
    2929
    30 if (!$tb_id) {
     30if ( empty($_GET['tb_id']) ) {
    3131    $tb_id = explode('/', $_SERVER['REQUEST_URI']);
    3232    $tb_id = intval($tb_id[count($tb_id)-1]);
     33} else {
     34    $tb_id = intval($_GET['tb_id']);
    3335}
    3436
Note: See TracChangeset for help on using the changeset viewer.