Ticket #54736: get_sample_permalink_post_filter_null.patch
File get_sample_permalink_post_filter_null.patch, 486 bytes (added by , 3 years ago) |
---|
-
src/wp-admin/includes/post.php
diff --git src/wp-admin/includes/post.php src/wp-admin/includes/post.php index c9b29b5df4..ed9456a51b 100644
function get_sample_permalink( $id, $title = null, $name = null ) { 1435 1435 $post->post_status = $original_status; 1436 1436 $post->post_date = $original_date; 1437 1437 $post->post_name = $original_name; 1438 unset( $post->filter );1438 $post->filter = null; 1439 1439 1440 1440 /** 1441 1441 * Filters the sample permalink.