Avoid PHP notices in get_sample_permalink() and get_sample_permalink_html(). Remove unused global reference. props ocean90. fixes #25005.

Built from https://develop.svn.wordpress.org/trunk@25028


git-svn-id: http://core.svn.wordpress.org/trunk@25015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov
2013-08-15 16:25:12 +00:00
parent a872d95778
commit aadd546d48
8 changed files with 37 additions and 22 deletions

View File

@@ -862,7 +862,7 @@
if ( 9 === event.which ) // tab
return;
if ( 13 === event.which ) // enter
parent.send( 'close' );
this.click();
event.preventDefault();
});