Ticket #18713: post.php.diff
| File post.php.diff, 429 bytes (added by sirzooro, 20 months ago) |
|---|
-
post.php
old new 2432 2432 $postarr = wp_parse_args($postarr, $defaults); 2433 2433 2434 2434 unset( $postarr[ 'filter' ] ); 2435 2436 $postarr = apply_filters( 'pre_wp_insert_post_data', $postarr ); 2437 if ( is_wp_error( $postarr ) ) { 2438 if ( $wp_error ) 2439 return $postarr; 2440 else 2441 return 0; 2442 } 2435 2443 2436 2444 $postarr = sanitize_post($postarr, 'db'); 2437 2445
