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

WordPress Trac noreply at wordpress.org
Sun Jun 19 16:39: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 commit  |     Focuses:
------------------------------+-----------------------

Comment (by flixos90):

 Replying to [comment:21 swissspidy]:
 > > Additionally I moved all thumbnail management for the post editor into
 the `media-editor.js` file so that we don't need to use the global JS
 function `WPRemoveThumbnail` any longer.
 >
 > Should we remove/deprecate this function then? It's not used anywhere
 else.

 Sounds good to me. Also, we might consider doing something similar to
 `wp_ajax_set_post_thumbnail()`.

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


More information about the wp-trac mailing list