WordPress.org

Make WordPress Core

Ticket #5911: 5911-21.diff

File 5911-21.diff, 1.3 KB (added by andy, 10 years ago)

fix invisible delete links (now with media-upload iframe body id)

  • wp-admin/includes/media.php

     
    142142        do_action( "admin_head_{$content_func}" );
    143143?>
    144144</head>
    145 <body>
     145<body<?php if ( isset($GLOBALS['body_id']) ) echo ' id="' . $GLOBALS['body_id'] . '"'; ?>>
    146146<?php
    147147        $args = func_get_args();
    148148        $args = array_slice($args, 1);
  • wp-admin/media-upload.php

     
    3030else
    3131        $tab = apply_filters('media_upload_default_tab', 'type');
    3232
     33$body_id = 'media-upload';
     34
    3335// let the action code decide how to handle the request
    3436if ( $tab == 'type' )
    3537        do_action("media_upload_$type");
  • wp-admin/css/colors-fresh.css

     
    512512
    513513div#media-upload-error, .file-error, .required abbr, .widget-control-remove:hover, .delete:hover {
    514514        color: #f00;
     515}
     516
     517#media-upload a.delete {
     518        color: #888;
    515519}
     520 No newline at end of file