Make WordPress Core


Ignore:
Timestamp:
11/16/2009 07:16:34 AM (15 years ago)
Author:
azaozz
Message:

Fix style of text fields in IE6 in the uploader, better regex for Link URL presets buttons

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/media.php

    r12188 r12189  
    877877
    878878    return "
    879     <input type='text' class='urlfield' name='attachments[$post->ID][url]' value='" . esc_attr($url) . "' /><br />
     879    <input type='text' class='text urlfield' name='attachments[$post->ID][url]' value='" . esc_attr($url) . "' /><br />
    880880    <button type='button' class='button urlnone' title=''>" . __('None') . "</button>
    881881    <button type='button' class='button urlfile' title='" . esc_attr($file) . "'>" . __('File URL') . "</button>
     
    10381038            'label'      => __('File URL'),
    10391039            'input'      => 'html',
    1040             'html'       => "<input type='text' class='urlfield' readonly='readonly' name='attachments[$post->ID][url]' value='" . esc_attr($image_url) . "' /><br />",
     1040            'html'       => "<input type='text' class='text urlfield' readonly='readonly' name='attachments[$post->ID][url]' value='" . esc_attr($image_url) . "' /><br />",
    10411041            'value'      => isset($edit_post->post_url) ? $edit_post->post_url : wp_get_attachment_url($post->ID),
    10421042            'helps'      => __('Location of the uploaded file.')
     
    12651265            $item .= "<textarea type='text' id='$name' name='$name'" . $aria_required . ">" . esc_html( $field['value'] ) . "</textarea>";
    12661266        } else {
    1267             $item .= "<input type='text' id='$name' name='$name' value='" . esc_attr( $field['value'] ) . "'" . $aria_required . "/>";
     1267            $item .= "<input type='text' class='text' id='$name' name='$name' value='" . esc_attr( $field['value'] ) . "'" . $aria_required . "/>";
    12681268        }
    12691269        if ( !empty($field['helps']) )
Note: See TracChangeset for help on using the changeset viewer.