From 514eb11cf4a2bd8a06299f711160d37ae50101a3 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 17 Sep 2015 09:09:28 +0000 Subject: [PATCH] Revert unintended change from [34262]. See #33910. Built from https://develop.svn.wordpress.org/trunk@34263 git-svn-id: http://core.svn.wordpress.org/trunk@34227 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/post.php | 13 +------------ wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/wp-admin/includes/post.php b/wp-admin/includes/post.php index 45d9a00b19..66f113663f 100644 --- a/wp-admin/includes/post.php +++ b/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; } /** diff --git a/wp-includes/version.php b/wp-includes/version.php index 911928a125..83cf61b566 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-34262'; +$wp_version = '4.4-alpha-34263'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.