summaryrefslogtreecommitdiffstats
path: root/wp-admin/bookmarklet.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-admin/bookmarklet.php')
-rw-r--r--wp-admin/bookmarklet.php20
1 files changed, 10 insertions, 10 deletions
diff --git a/wp-admin/bookmarklet.php b/wp-admin/bookmarklet.php
index 417d910..def516e 100644
--- a/wp-admin/bookmarklet.php
+++ b/wp-admin/bookmarklet.php
@@ -35,16 +35,16 @@ if (!empty($post_title))
else
$post->post_title = $popuptitle;
-
+
$content = wp_specialchars($_REQUEST['content']);
$popupurl = wp_specialchars($_REQUEST['popupurl']);
- if ( !empty($content) ) {
- $post->post_content = wp_specialchars( stripslashes($_REQUEST['content']) );
- } else {
- $post->post_content = '<a href="'.$popupurl.'">'.$popuptitle.'</a>'."\n$text";
- }
+if ( !empty($content) ) {
+ $post->post_content = wp_specialchars( stripslashes($_REQUEST['content']) );
+} else {
+ $post->post_content = '<a href="'.$popupurl.'">'.$popuptitle.'</a>'."\n$text";
+}
- /* /big funky fixes */
+/* /big funky fixes */
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
@@ -77,15 +77,15 @@ $popupurl = wp_specialchars($_REQUEST['popupurl']);
}
#wpbookmarklet .wrap {
- border: 0px;
+ border: 0px;
}
#wpbookmarklet #postdiv {
- margin-bottom: 0.5em;
+ margin-bottom: 0.5em;
}
#wpbookmarklet #titlediv {
- margin-bottom: 1em;
+ margin-bottom: 1em;
}
-->