Make WordPress Core

Changeset 5089 for trunk/app.php


Ignore:
Timestamp:
03/23/2007 02:05:29 AM (18 years ago)
Author:
matt
Message:

Ryan slays the dragon. (Some of these return WP_Error objects.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/app.php

    r5087 r5089  
    431431        log_app('Inserting Post. Data:', print_r($post_data,true));
    432432
    433         $postID = (int) wp_insert_post($post_data);
     433        $postID = wp_insert_post($post_data);
    434434
    435435        if (!$postID) {
     
    583583
    584584        // Save the data
    585         $postID = (int) wp_insert_attachment($attachment, $file, $post);
     585        $postID = wp_insert_attachment($attachment, $file, $post);
    586586
    587587        if (!$postID) {
Note: See TracChangeset for help on using the changeset viewer.