From f9ff998d015738309cffd8c6cdd8cff8e0a4db45 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 17 Sep 2015 09:08:14 +0000 Subject: [PATCH] Revert unintended change from [34262]. See #33910. git-svn-id: https://develop.svn.wordpress.org/trunk@34263 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/post.php | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/src/wp-admin/includes/post.php b/src/wp-admin/includes/post.php index 45d9a00b19..66f113663f 100644 --- a/src/wp-admin/includes/post.php +++ b/src/wp-admin/includes/post.php @@ -1256,18 +1256,7 @@ function get_sample_permalink($id, $title = null, $name = null) { $post->post_name = $original_name; unset($post->filter); - /** - * Filter the sample permalink. - * - * @since 4.4.0 - * - * @param string $permalink Sample permalink. - * @param int $post_id Post ID. - * @param string $title Post title. - * @param string $name Post name (slug). - * @param WP_Post $post Post object. - */ - return apply_filters( 'get_sample_permalink', $permalink, $post->ID, $title, $name, $post ); + return $permalink; } /**