Changeset 61616 for trunk/src/wp-admin/includes/post.php
- Timestamp:
- 02/12/2026 01:50:20 AM (4 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/includes/post.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/post.php
r61463 r61616 1645 1645 $post = get_post( $post ); 1646 1646 $post_type_object = get_post_type_object( $post->post_type ); 1647 $set_thumbnail_link = '<p class="hide-if-no-js"><a href="%s" id="set-post-thumbnail"%s class="thickbox" >%s</a></p>';1647 $set_thumbnail_link = '<p class="hide-if-no-js"><a href="%s" id="set-post-thumbnail"%s class="thickbox" role="button" aria-haspopup="dialog" aria-controls="wp-media-modal">%s</a></p>'; 1648 1648 $upload_iframe_src = get_upload_iframe_src( 'image', $post->ID ); 1649 1649 … … 1684 1684 ); 1685 1685 $content .= '<p class="hide-if-no-js howto" id="set-post-thumbnail-desc">' . __( 'Click the image to edit or update' ) . '</p>'; 1686 $content .= '<p class="hide-if-no-js"><a href="#" id="remove-post-thumbnail" >' . esc_html( $post_type_object->labels->remove_featured_image ) . '</a></p>';1686 $content .= '<p class="hide-if-no-js"><a href="#" id="remove-post-thumbnail" role="button">' . esc_html( $post_type_object->labels->remove_featured_image ) . '</a></p>'; 1687 1687 } 1688 1688 }
Note: See TracChangeset
for help on using the changeset viewer.