Make WordPress Core

Ticket #16176: 16176.2.patch

File 16176.2.patch, 611 bytes (added by SergeyBiryukov, 15 years ago)

With double quotes

  • wp-includes/post.php

     
    26422642        }
    26432643
    26442644        do_action('save_post', $post_ID, $post);
     2645        do_action("save_post_{$post->post_type}", $post_ID, $post);
    26452646        do_action('wp_insert_post', $post_ID, $post);
    26462647
    26472648        return $post_ID;
     
    27342735
    27352736        do_action('edit_post', $post_id, $post);
    27362737        do_action('save_post', $post_id, $post);
     2738        do_action("save_post_{$post->post_type}", $post_id, $post);
    27372739        do_action('wp_insert_post', $post_id, $post);
    27382740}
    27392741