Make WordPress Core

Ticket #8744: validation_fixes.patch

File validation_fixes.patch, 4.2 KB (added by Simek, 16 years ago)
  • wp-admin/css/login.css

     
    2424
    2525form .forgetmenot { font-weight: normal; float: left; margin-bottom: 0; }
    2626
    27 #login form .submit input {
     27#loginbox form .submit input {
    2828        font-family: "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif;
    2929        padding: 3px 10px;
    3030        border: none;
     
    4141        text-shadow: rgba(0,0,0,0.3) 0 -1px 0;
    4242}
    4343
    44 #login form p {
     44#loginbox form p {
    4545        margin-bottom: 0;
    4646}
    4747
     
    8080        text-decoration: none;
    8181}
    8282
    83 #login { width: 320px; margin: 7em auto; }
     83#loginbox { width: 320px; margin: 7em auto; }
    8484
    8585#login_error, .message {
    8686        margin: 0 0 16px 8px;
  • wp-admin/includes/dashboard.php

     
    318318        $post = get_default_post_to_edit();
    319319?>
    320320
    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">
    322322                <h4 id="quick-post-title"><label for="title"><?php _e('Title') ?></label></h4>
    323323                <div class="input-text-wrap">
    324324                        <input type="text" name="post_title" id="title" tabindex="1" autocomplete="off" value="<?php echo attribute_escape( $post->post_title ); ?>" />
  • wp-admin/tools.php

     
    8484
    8585        <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>
    8686        <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>
    8888</div>
    8989<?php endif; ?>
    9090</div>
  • wp-admin/upload.php

     
    331331<?php   } ?></td>
    332332
    333333                <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>
    337334                <?php
     335                echo strtoupper(preg_replace('/^.*?\.(\w+)$/', '$1', get_attached_file($post->ID)));
     336
    338337                $actions = array();
    339338                if ( current_user_can('edit_post', $post->ID) )
    340339                        $actions['edit'] = '<a href="' . get_edit_post_link($post->ID, true) . '">' . __('Edit') . '</a>';
     
    350349                        ( $i == $action_count ) ? $sep = '' : $sep = ' | ';
    351350                        echo "<span class='$action'>$link$sep</span>";
    352351                } ?>
    353                 </p></td>
     352                </td>
    354353
    355354<?php   if ( '0000-00-00 00:00:00' == $post->post_date && 'date' == $column_name ) {
    356355                        $t_time = $h_time = __('Unpublished');
  • wp-login.php

     
    5656</head>
    5757<body class="login">
    5858
    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>
    6060<?php
    6161        if ( !empty( $message ) ) echo apply_filters('login_message', $message) . "\n";
    6262