Make WordPress Core

Ticket #18833: 18833.diff

File 18833.diff, 469 bytes (added by rmccue, 14 years ago)

Add $postarr to the save_post and wp_insert_post actions.

  • post.php

     
    26462646                do_action( 'post_updated', $post_ID, $post_after, $post_before);
    26472647        }
    26482648
    2649         do_action('save_post', $post_ID, $post);
    2650         do_action('wp_insert_post', $post_ID, $post);
     2649        do_action('save_post', $post_ID, $post, $postarr);
     2650        do_action('wp_insert_post', $post_ID, $post, $postarr);
    26512651
    26522652        return $post_ID;
    26532653}