- 33DAB904B28C92D0F01D1334F6E5C63FA61E39B97A29247E2B5A4CF28EE08C51DA8623F93AD54BAE74BCEB19645CDFB148CE09A7F688D1787810BA53A6C810F9
+ 5329128019887CE2F16F29E86179F1CAF8B32B71E4C551784E2C696065DCE76E952407465848DEC82C0AB7097D370DBDF6D37FAA3AD83F4DA4EDB5E59D40C6D7
mp-wp/wp-includes/post.php
(1484 . 8)(1484 . 12)
56631 $where = array( 'ID' => $post_ID );
56632 }
56633
56634 if ( empty($post_name) && !in_array( $post_status, array( 'draft', 'pending' ) ) ) {
56635 $post_name = sanitize_title($post_title, $post_ID);
56636 if ( !in_array($post_status, array('draft', 'pending')) ) {
56637 if ( empty($post_name) ) {
56638 $post_name = sanitize_title($post_title, $post_ID);
56639 } else {
56640 $post_name = sanitize_title($post_name, $post_ID);
56641 }
56642 $wpdb->update( $wpdb->posts, compact( 'post_name' ), $where );
56643 }
56644