Changeset 607
- Timestamp:
- 12/11/03 19:16:43 (5 years ago)
- Files:
-
- trunk/wp-admin/edit-form.php (modified) (1 diff)
- trunk/wp-admin/post.php (modified) (1 diff)
- trunk/wp-admin/wp-admin.css (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-admin/edit-form.php
r606 r607 226 226 } 227 227 if ('edit' == $action) echo " 228 <p><a href='post.php?action=delete&post=$post ' onclick=\"return confirm('You are about to delete this post \'".$edited_post_title."\'\\n \'Cancel\' to stop, \'OK\' to delete.')\">Delete this post</a></p>";228 <p><a href='post.php?action=delete&post=$post->ID' onclick=\"return confirm('You are about to delete this post \'".addslashes($edited_post_title)."\'\\n \'Cancel\' to stop, \'OK\' to delete.')\">Delete this post</a></p>"; 229 229 ?> 230 230 trunk/wp-admin/post.php
r606 r607 360 360 // pingWeblogs($blog_ID); 361 361 $sendback = $HTTP_SERVER_VARS['HTTP_REFERER']; 362 if (strstr($sendback, ' wp-post')) $sendback = $siteurl .'/wp-admin/post.php';362 if (strstr($sendback, 'post.php')) $sendback = $siteurl .'/wp-admin/post.php'; 363 363 header ('Location: ' . $sendback); 364 364 trunk/wp-admin/wp-admin.css
r606 r607 292 292 293 293 #wphead { 294 height: 4 4px;294 height: 42px; 295 295 margin: 0; 296 296 background: repeat-x url(../wp-images/header-shadow.png) #f2f2f2; … … 300 300 display: block; 301 301 background: url(../wp-images/wp-small.png) no-repeat; 302 height: 4 4px;302 height: 42px; 303 303 text-decoration: none; 304 304 text-indent: -1000px; 305 line-height: 30px; 305 306 width: 200px; 306 307 border-bottom: none;
