Post Thumbnails: Remove an unused nonce in `_wp_post_thumbnail_html()`.
See #12922. Built from https://develop.svn.wordpress.org/trunk@38137 git-svn-id: http://core.svn.wordpress.org/trunk@38078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c4dfc0adba
commit
eb0ee24750
|
@ -1419,8 +1419,7 @@ function _wp_post_thumbnail_html( $thumbnail_id = null, $post = null ) {
|
|||
|
||||
$thumbnail_html = wp_get_attachment_image( $thumbnail_id, $size );
|
||||
|
||||
if ( !empty( $thumbnail_html ) ) {
|
||||
$ajax_nonce = wp_create_nonce( 'set_post_thumbnail-' . $post->ID );
|
||||
if ( ! empty( $thumbnail_html ) ) {
|
||||
$content = sprintf( $set_thumbnail_link,
|
||||
esc_url( $upload_iframe_src ),
|
||||
' aria-describedby="set-post-thumbnail-desc"',
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.6-beta4-38136';
|
||||
$wp_version = '4.6-beta4-38137';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue