[wp-trac] [WordPress Trac] #12922: Setting featured image does not require the post to be saved

WordPress Trac noreply at wordpress.org
Wed Jul 13 15:46:28 UTC 2016


#12922: Setting featured image does not require the post to be saved
-----------------------------+-----------------------
 Reporter:  rooodini         |       Owner:  flixos90
     Type:  defect (bug)     |      Status:  accepted
 Priority:  normal           |   Milestone:  4.6
Component:  Post Thumbnails  |     Version:  3.0
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:
-----------------------------+-----------------------

Comment (by flixos90):

 Replying to [comment:24 westonruter]:
 > BTW: The [https://github.com/xwp/wp-customize-posts Customize Posts]
 plugin allows for a featured image change to be fully previewed in the
 Customizer. From first glance at the patch on this ticket, it also changes
 the behavior of the Featured Image metabox on the edit post screen to
 prevent the featured image from being set as soon as it is selected:
 instead, it populated a hidden input with the attachment ID which then
 gets handled during a `save_post` action.

 Not setting the featured image immediately was the original cause for this
 ticket. When we get this fixed, the Customize Posts plugin needs to be
 adjusted to that as well I think. If you have any concerns that this would
 not be possible with the approach of the current patch, please let me
 know.

 Replying to [comment:23 ocean90]:
 > It seems like the latest patch doesn't handle the "Preview Changes"
 button for published posts.

 I will look at this by the end of this week. If it is indeed caused by to
 #20299, can we ignore it for the sake of this ticket? Or do we need to
 workaround?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/12922#comment:25>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list