Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #19373, comment 48


Ignore:
Timestamp:
04/12/2019 08:55:46 AM (5 years ago)
Author:
kevinwhoffman
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #19373, comment 48

    v1 v2  
    44
    55{{{#!php
    6 $post_id = $this->save( $post_array );
     6$post_id = wp_insert_post( $post_array );
    77
    88foreach( $post_array['tax_input'] as $taxonomy => $terms ) {