WordPress.org

Make WordPress Core

Changeset 16624


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

Prepare properly. Props Vladimir Kolesnikov.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/comment.php

    r16438 r16624  
    17241724                $pinged[] = $tb_ping; 
    17251725            } else { 
    1726                 $wpdb->query( $wpdb->prepare("UPDATE $wpdb->posts SET to_ping = TRIM(REPLACE(to_ping, '$tb_ping', '')) WHERE ID = %d", $post_id) ); 
     1726                $wpdb->query( $wpdb->prepare("UPDATE $wpdb->posts SET to_ping = TRIM(REPLACE(to_ping, %s, '')) WHERE ID = %d", $tb_ping, $post_id) ); 
    17271727            } 
    17281728        } 
Note: See TracChangeset for help on using the changeset viewer.