Pass the screen context directly to get_sample_permalink_html(). see #16379.

git-svn-id: https://develop.svn.wordpress.org/trunk@22129 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2012-10-07 03:44:30 +00:00
parent 2aab5aa3b0
commit 5ecb1e0d87
5 changed files with 18 additions and 14 deletions

View File

@@ -25,7 +25,7 @@ var editPermalink, makeSlugeditClickable;
post_id: post_id,
new_slug: new_slug,
new_title: $('#title').val(),
context: pagenow,
screen: pagenow,
samplepermalinknonce: $('#samplepermalinknonce').val()
}, function(data) {
$('#edit-slug-box').html(data);