Changeset 13940 for trunk/wp-admin/includes/post.php
- Timestamp:
- 04/02/2010 06:12:49 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/includes/post.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/post.php
r13890 r13940 1144 1144 function _wp_post_thumbnail_html( $thumbnail_id = NULL ) { 1145 1145 global $content_width, $_wp_additional_image_sizes; 1146 $content = '<p class="hide-if-no-js"><a href="#" id="set-post-thumbnail" onclick="jQuery(\'#add_image\').click();return false;">' . esc_html__( 'Set thumbnail' ) . '</a></p>';1146 $content = '<p class="hide-if-no-js"><a href="#" id="set-post-thumbnail" onclick="jQuery(\'#add_image\').click();return false;">' . esc_html__( 'Set featured image' ) . '</a></p>'; 1147 1147 1148 1148 if ( $thumbnail_id && get_post( $thumbnail_id ) ) { … … 1155 1155 if ( !empty( $thumbnail_html ) ) { 1156 1156 $content = '<a href="#" id="set-post-thumbnail" onclick="jQuery(\'#add_image\').click();return false;">' . $thumbnail_html . '</a>'; 1157 $content .= '<p class="hide-if-no-js"><a href="#" id="remove-post-thumbnail" onclick="WPRemoveThumbnail();return false;">' . esc_html__( 'Remove thumbnail' ) . '</a></p>';1157 $content .= '<p class="hide-if-no-js"><a href="#" id="remove-post-thumbnail" onclick="WPRemoveThumbnail();return false;">' . esc_html__( 'Remove featured image' ) . '</a></p>'; 1158 1158 } 1159 1159 $content_width = $old_content_width;
Note: See TracChangeset
for help on using the changeset viewer.