Ticket #8335: die_on_update.diff

File die_on_update.diff, 364 bytes (added by ryan, 3 years ago)

Output post_content and die when creating or saving posts.

  • wp-includes/post.php

     
    13141314 
    13151315        // export array as variables 
    13161316        extract($postarr, EXTR_SKIP); 
    1317  
     1317die($post_content); 
    13181318        // Are we updating or creating? 
    13191319        $update = false; 
    13201320        if ( !empty($ID) ) {