diff --git a/wp-admin/includes/post.php b/wp-admin/includes/post.php
index a20abf62cb..efcfea98f7 100644
--- a/wp-admin/includes/post.php
+++ b/wp-admin/includes/post.php
@@ -983,6 +983,8 @@ function get_sample_permalink_html( $id, $new_title = null, $new_slug = null ) {
if ( isset($view_post) )
$return .= "$view_post\n";
+ $return = apply_filters('get_sample_permalink_html', $return, $id, $new_title, $new_slug);
+
return $return;
}
@@ -1010,6 +1012,8 @@ function get_sample_permalink_html( $id, $new_title = null, $new_slug = null ) {
if ( isset($view_post) )
$return .= "$view_post\n";
+ $return = apply_filters('get_sample_permalink_html', $return, $id, $new_title, $new_slug);
+
return $return;
}