[wp-trac] [WordPress Trac] #20003: Removing a featured image breaks the ability to set a featured image

WordPress Trac wp-trac at lists.automattic.com
Thu Feb 9 18:14:39 UTC 2012


#20003: Removing a featured image breaks the ability to set a featured image
--------------------------+-----------------------------
 Reporter:  batmoo        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 Repro steps:

 # Create a new post
 # Upload an image and set it as the featured image
 # Click on "Remove featured image"
 # Click on "Add featured image"
 # The Gallery tab isn't shown. Neither is the "Set featured image" for any
 uploaded images.

 Problem is that in {{{wp_ajax_set_post_thumbnail}}}, the {{{$post_ID}}}
 variable isn't globalized, which {{{_wp_post_thumbnail_html}}} expects.

 Related to the ajax re-org #15327 -- other things are possibly broken as
 well.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20003>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list