Make WordPress Core

Ticket #21196: 21196.4.patch

File 21196.4.patch, 4.6 KB (added by SergeyBiryukov, 13 years ago)
  • wp-admin/css/colors-classic.dev.css

     
    497497        border-bottom-color: #f00;
    498498}
    499499
    500 .submitbox .submitdelete:hover,
    501 #media-items a.delete:hover {
     500.submitbox .submitdelete:hover {
    502501        color: #fff;
    503502        background-color: #f00;
    504503        border-bottom-color: #f00;
     
    588587#adminmenu a,
    589588#the-comment-list p.comment-author strong a,
    590589#media-upload a.del-link,
    591 #media-items a.delete,
    592590.plugins a.delete,
    593591.ui-tabs-nav a {
    594592        color: #21759b;
  • wp-admin/css/colors-fresh.dev.css

     
    488488        border-bottom-color: #f00;
    489489}
    490490
    491 .submitbox .submitdelete:hover,
    492 #media-items a.delete:hover {
     491.submitbox .submitdelete:hover {
    493492        color: #fff;
    494493        background-color: #f00;
    495494        border-bottom-color: #f00;
     
    579578#adminmenu a,
    580579#the-comment-list p.comment-author strong a,
    581580#media-upload a.del-link,
    582 #media-items a.delete,
    583581.plugins a.delete,
    584582.ui-tabs-nav a {
    585583        color: #21759b;
  • wp-admin/css/media.dev.css

     
    197197        margin: 0 20px;
    198198}
    199199
    200 #media-items a.delete {
    201         display: block;
    202         float: right;
    203 }
    204 
    205200#media-upload .widefat {
    206201        width: 626px;
    207202        border-style: solid solid none;
  • wp-admin/css/wp-admin-rtl.dev.css

     
    184184        text-align: left;
    185185}
    186186
    187 .describe .del-link {
    188         padding-left: 0;
    189         padding-right: 5px;
    190 }
    191187
    192 
    193188/*------------------------------------------------------------------------------
    194189  4.0 - Notifications
    195190------------------------------------------------------------------------------*/
  • wp-admin/css/wp-admin.dev.css

     
    10221022        text-align: right;
    10231023}
    10241024
    1025 .describe .del-link {
    1026         padding-left: 5px;
    1027 }
    10281025
    1029 
    10301026/*------------------------------------------------------------------------------
    10311027  4.0 - Notifications
    10321028------------------------------------------------------------------------------*/
  • wp-admin/includes/media.php

     
    11601160                $send = get_submit_button( __( 'Insert into Post' ), 'button', "send[$attachment_id]", false );
    11611161        if ( $delete && current_user_can( 'delete_post', $attachment_id ) ) {
    11621162                if ( !EMPTY_TRASH_DAYS ) {
    1163                         $delete = "<a href='" . wp_nonce_url( "post.php?action=delete&amp;post=$attachment_id", 'delete-attachment_' . $attachment_id ) . "' id='del[$attachment_id]' class='delete'>" . __( 'Delete Permanently' ) . '</a>';
     1163                        $delete = "<a href='" . wp_nonce_url( "post.php?action=delete&amp;post=$attachment_id", 'delete-attachment_' . $attachment_id ) . "' id='del[$attachment_id]' class='del-link'>" . __( 'Delete Permanently' ) . '</a>';
    11641164                } elseif ( !MEDIA_TRASH ) {
    11651165                        $delete = "<a href='#' class='del-link' onclick=\"document.getElementById('del_attachment_$attachment_id').style.display='block';return false;\">" . __( 'Delete' ) . "</a>
    11661166                         <div id='del_attachment_$attachment_id' class='del-attachment' style='display:none;'><p>" . sprintf( __( 'You are about to delete <strong>%s</strong>.' ), $filename ) . "</p>
     
    11681168                         <a href='#' class='button' onclick=\"this.parentNode.style.display='none';return false;\">" . __( 'Cancel' ) . "</a>
    11691169                         </div>";
    11701170                } else {
    1171                         $delete = "<a href='" . wp_nonce_url( "post.php?action=trash&amp;post=$attachment_id", 'trash-attachment_' . $attachment_id ) . "' id='del[$attachment_id]' class='delete'>" . __( 'Move to Trash' ) . "</a>
     1171                        $delete = "<a href='" . wp_nonce_url( "post.php?action=trash&amp;post=$attachment_id", 'trash-attachment_' . $attachment_id ) . "' id='del[$attachment_id]' class='del-link'>" . __( 'Move to Trash' ) . "</a>
    11721172                        <a href='" . wp_nonce_url( "post.php?action=untrash&amp;post=$attachment_id", 'untrash-attachment_' . $attachment_id ) . "' id='undo[$attachment_id]' class='undo hidden'>" . __( 'Undo' ) . "</a>";
    11731173                }
    11741174        } else {