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

WordPress Trac noreply at wordpress.org
Tue Jul 5 00:04:08 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 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. See https://github.com/xwp/wp-
 customize-posts/blob/0.6.1/php/class-wp-customize-featured-image-
 controller.php

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


More information about the wp-trac mailing list