Make WordPress Core


Ignore:
Timestamp:
04/16/2010 09:45:16 PM (15 years ago)
Author:
nacin
Message:

More tweaks for thumbnail support when no editor support for custom post types. see #12792, props scribu.

File:
1 edited

Legend:

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

    r14015 r14118  
    11451145    global $content_width, $_wp_additional_image_sizes;
    11461146
    1147     $set_thumbnail_link = '<p class="hide-if-no-js"><a href="' . get_upload_iframe_src('image') . '" id="set-post-thumbnail" class="thickbox">%s</a></p>';
     1147    $set_thumbnail_link = '<p class="hide-if-no-js"><a title="' . esc_attr__( 'Set featured image' ) . '" href="' . get_upload_iframe_src('image') . '" id="set-post-thumbnail" class="thickbox">%s</a></p>';
    11481148    $content = sprintf($set_thumbnail_link, esc_html__( 'Set featured image' ));
    11491149
Note: See TracChangeset for help on using the changeset viewer.