WordPress.org

Make WordPress Core

Changeset 16625


Ignore:
Timestamp:
11/30/10 20:04:38 (6 years ago)
Author:
ryan
Message:

Prepare properly. Props Vladimir Kolesnikov.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/wp-includes/comment.php

    r13995 r16625  
    16551655                $pinged[] = $tb_ping; 
    16561656            } else { 
    1657                 $wpdb->query( $wpdb->prepare("UPDATE $wpdb->posts SET to_ping = TRIM(REPLACE(to_ping, '$tb_ping', '')) WHERE ID = %d", $post_id) ); 
     1657                $wpdb->query( $wpdb->prepare("UPDATE $wpdb->posts SET to_ping = TRIM(REPLACE(to_ping, %s, '')) WHERE ID = %d", $tb_ping, $post_id) ); 
    16581658            } 
    16591659        } 
Note: See TracChangeset for help on using the changeset viewer.