From 2a19fd1d291a41b72880ee9c6ae1a91bcd894802 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Wed, 2 Jul 2008 02:23:12 +0000 Subject: [PATCH] Escaping for Press This. see #7220 git-svn-id: https://develop.svn.wordpress.org/trunk@8235 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/press-this.php | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/wp-admin/press-this.php b/wp-admin/press-this.php index 8365cfd9fa..ece871ac0c 100644 --- a/wp-admin/press-this.php +++ b/wp-admin/press-this.php @@ -136,8 +136,8 @@ if($_REQUEST['ajax'] == 'thickbox') { ?> -

- <?php echo attribute_escape(__('Click to insert.')); ?>

+

+ <?php echo attribute_escape(__('Click to insert.')); ?>

|

if($_REQUEST['ajax'] == 'video') { ?>

- +
case 'quote' : set_menu('quote'); set_title(''); - set_editor("

"); + set_editor("

"); return false; break; case 'video' : @@ -420,8 +420,9 @@ if($_REQUEST['ajax'] == 'photo') { ?> list($domain, $video_id) = split(".com/", $url); $content = ' '; - if(trim($selection) == '') $selection = '' . $title . ' on Vimeo'; - }else { + if ( trim($selection) == '' ) + $selection = '' . $title . ' on Vimeo'; + } else { $content = $selection; } ?> jQuery('#embed_code').prepend(''); @@ -433,8 +434,8 @@ if($_REQUEST['ajax'] == 'photo') { ?> case 'photo' : set_menu('photo'); set_title(''); - - set_editor(""); + + set_editor(""); jQuery('#extra_fields').show(); jQuery('#extra_fields').before('

'); @@ -499,7 +500,7 @@ if($_REQUEST['ajax'] == 'photo') { ?>

- +