Changeset 4495 for trunk/wp-admin/bookmarklet.php
- Timestamp:
- 11/19/2006 07:56:05 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/bookmarklet.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/bookmarklet.php
r4144 r4495 36 36 $post->post_title = $popuptitle; 37 37 38 38 39 39 $content = wp_specialchars($_REQUEST['content']); 40 40 $popupurl = wp_specialchars($_REQUEST['popupurl']); 41 if ( !empty($content) ) {42 $post->post_content = wp_specialchars( stripslashes($_REQUEST['content']) );43 } else {44 $post->post_content = '<a href="'.$popupurl.'">'.$popuptitle.'</a>'."\n$text";45 }41 if ( !empty($content) ) { 42 $post->post_content = wp_specialchars( stripslashes($_REQUEST['content']) ); 43 } else { 44 $post->post_content = '<a href="'.$popupurl.'">'.$popuptitle.'</a>'."\n$text"; 45 } 46 46 47 /* /big funky fixes */47 /* /big funky fixes */ 48 48 49 49 ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> … … 78 78 79 79 #wpbookmarklet .wrap { 80 border: 0px;80 border: 0px; 81 81 } 82 82 83 83 #wpbookmarklet #postdiv { 84 margin-bottom: 0.5em;84 margin-bottom: 0.5em; 85 85 } 86 86 87 87 #wpbookmarklet #titlediv { 88 margin-bottom: 1em;88 margin-bottom: 1em; 89 89 } 90 90
Note: See TracChangeset
for help on using the changeset viewer.