Ticket #8744: validation_fixes.patch
File validation_fixes.patch, 4.2 KB (added by , 16 years ago) |
---|
-
wp-admin/css/login.css
24 24 25 25 form .forgetmenot { font-weight: normal; float: left; margin-bottom: 0; } 26 26 27 #login form .submit input {27 #loginbox form .submit input { 28 28 font-family: "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif; 29 29 padding: 3px 10px; 30 30 border: none; … … 41 41 text-shadow: rgba(0,0,0,0.3) 0 -1px 0; 42 42 } 43 43 44 #login form p {44 #loginbox form p { 45 45 margin-bottom: 0; 46 46 } 47 47 … … 80 80 text-decoration: none; 81 81 } 82 82 83 #login { width: 320px; margin: 7em auto; }83 #loginbox { width: 320px; margin: 7em auto; } 84 84 85 85 #login_error, .message { 86 86 margin: 0 0 16px 8px; -
wp-admin/includes/dashboard.php
318 318 $post = get_default_post_to_edit(); 319 319 ?> 320 320 321 <form name=" post" action="<?php echo clean_url( admin_url( 'post.php' ) ); ?>" method="post" id="quick-press">321 <form name="quick-press" action="<?php echo clean_url( admin_url( 'post.php' ) ); ?>" method="post" id="quick-press"> 322 322 <h4 id="quick-post-title"><label for="title"><?php _e('Title') ?></label></h4> 323 323 <div class="input-text-wrap"> 324 324 <input type="text" name="post_title" id="title" tabindex="1" autocomplete="off" value="<?php echo attribute_escape( $post->post_title ); ?>" /> -
wp-admin/tools.php
84 84 85 85 <p><?php _e('Use Press This to clip text, images and videos from any web page. Then edit and add more straight from Press This before you save or publish it in a post on your blog.'); ?></p> 86 86 <p><?php _e('Drag-and-drop the following link to your bookmarks bar or right click it and add it to your favorites for a posting shortcut.') ?></p> 87 <p class="pressthis"><a href=" <?php echo htmlspecialchars( get_shortcut_link() ); ?>" title="<?php echo attribute_escape(__('Press This')) ?>"><?php _e('Press This') ?></a></p>87 <p class="pressthis"><a href="#" onclick="<?php echo htmlspecialchars( get_shortcut_link() ); ?>" title="<?php echo attribute_escape(__('Press This')) ?>"><?php _e('Press This') ?></a></p> 88 88 </div> 89 89 <?php endif; ?> 90 90 </div> -
wp-admin/upload.php
331 331 <?php } ?></td> 332 332 333 333 <td><strong><a href="<?php echo get_edit_post_link( $post->ID ); ?>" title="<?php echo attribute_escape(sprintf(__('Edit "%s"'), $att_title)); ?>"><?php echo $att_title; ?></a></strong><br /> 334 <?php echo strtoupper(preg_replace('/^.*?\.(\w+)$/', '$1', get_attached_file($post->ID))); ?>335 336 <p>337 334 <?php 335 echo strtoupper(preg_replace('/^.*?\.(\w+)$/', '$1', get_attached_file($post->ID))); 336 338 337 $actions = array(); 339 338 if ( current_user_can('edit_post', $post->ID) ) 340 339 $actions['edit'] = '<a href="' . get_edit_post_link($post->ID, true) . '">' . __('Edit') . '</a>'; … … 350 349 ( $i == $action_count ) ? $sep = '' : $sep = ' | '; 351 350 echo "<span class='$action'>$link$sep</span>"; 352 351 } ?> 353 </ p></td>352 </td> 354 353 355 354 <?php if ( '0000-00-00 00:00:00' == $post->post_date && 'date' == $column_name ) { 356 355 $t_time = $h_time = __('Unpublished'); -
wp-login.php
56 56 </head> 57 57 <body class="login"> 58 58 59 <div id="login "><h1><a href="<?php echo apply_filters('login_headerurl', 'http://wordpress.org/'); ?>" title="<?php echo apply_filters('login_headertitle', __('Powered by WordPress')); ?>"><?php bloginfo('name'); ?></a></h1>59 <div id="loginbox"><h1><a href="<?php echo apply_filters('login_headerurl', 'http://wordpress.org/'); ?>" title="<?php echo apply_filters('login_headertitle', __('Powered by WordPress')); ?>"><?php bloginfo('name'); ?></a></h1> 60 60 <?php 61 61 if ( !empty( $message ) ) echo apply_filters('login_message', $message) . "\n"; 62 62