Display the correct Slug in the permalink preview. Props duck_. Fixes #12870
git-svn-id: http://svn.automattic.com/wordpress/trunk@14124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1058,7 +1058,7 @@ case 'sample-permalink':
|
||||
check_ajax_referer( 'samplepermalink', 'samplepermalinknonce' );
|
||||
$post_id = isset($_POST['post_id'])? intval($_POST['post_id']) : 0;
|
||||
$title = isset($_POST['new_title'])? $_POST['new_title'] : '';
|
||||
$slug = isset($_POST['new_slug'])? $_POST['new_slug'] : '';
|
||||
$slug = isset($_POST['new_slug'])? $_POST['new_slug'] : null;
|
||||
die(get_sample_permalink_html($post_id, $title, $slug));
|
||||
break;
|
||||
case 'inline-save':
|
||||
|
||||
Reference in New Issue
Block a user