WordPress.org

Make WordPress Core

Changeset 7151


Ignore:
Timestamp:
03/04/2008 04:28:23 AM (10 years ago)
Author:
matt
Message:

Table styling and "add media" label. See #5911. Hat tip: andy.

Location:
trunk/wp-admin
Files:
2 edited

Legend:

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

    r7135 r7151  
    157157    global $post_ID, $temp_ID;
    158158    $uploading_iframe_ID = (int) (0 == $post_ID ? $temp_ID : $post_ID);
     159    $context = apply_filters('media_buttons_context', __('Add media: %s'));
    159160    $media_upload_iframe_src = "media-upload.php?post_id=$uploading_iframe_ID";
    160161    $media_title = __('Add Media');
     
    173174
    174175EOF;
    175     echo $out;
     176    printf($context, $out);
    176177}
    177178add_action( 'media_buttons', 'media_buttons' );
  • trunk/wp-admin/wp-admin.css

    r7146 r7151  
    562562    height: 24px;
    563563    padding-top: 6px;
     564}
     565
     566td.media-icon {
     567    vertical-align: middle;
     568}
     569
     570td.media-icon img {
     571    max-width: 60px;
     572    max-height: 40px;
    564573}
    565574
Note: See TracChangeset for help on using the changeset viewer.