Make WordPress Core

Ticket #60187: post.php.diff

File post.php.diff, 613 bytes (added by dartiss, 10 months ago)
  • wp-admin/includes/post.php

    diff --git a/wp-admin/includes/post.php b/wp-admin/includes/post.php
    index b9986d1bdec7..c93ac71bec52 100644
    a b function edit_post( $post_data = null ) { 
    452452
    453453        $success = wp_update_post( $translated );
    454454
    455         // If the save failed, see if we can sanity check the main fields and try again.
     455        // If the save failed, see if we can confidence check the main fields and try again.
    456456        if ( ! $success && is_callable( array( $wpdb, 'strip_invalid_text_for_column' ) ) ) {
    457457                $fields = array( 'post_title', 'post_content', 'post_excerpt' );
    458458