Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #39439, comment 2


Ignore:
Timestamp:
01/02/2017 03:37:11 PM (9 years ago)
Author:
jlambe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #39439, comment 2

    initial v1  
    1414 * Insert/update attachment to posts table.
    1515 */
    16 $id = wp_insert_attachment($args, $image['file'], $organization_id);
     16$id = wp_insert_attachment($args, $image['file'], $parent_id);
    1717}}}
    1818