Make WordPress Core

Changeset 5087 for trunk/wp-mail.php


Ignore:
Timestamp:
03/23/2007 12:59:21 AM (18 years ago)
Author:
matt
Message:

(int)er the dragon.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-mail.php

    r4144 r5087  
    137137    $post_data = add_magic_quotes($post_data);
    138138
    139     $post_ID = wp_insert_post($post_data);
     139    $post_ID = (int) wp_insert_post($post_data);
    140140
    141141    if (!$post_ID) {
Note: See TracChangeset for help on using the changeset viewer.