[wp-trac] [WordPress Trac] #27118: WP_Customize_Image_Control should return attachment ID instead of image URL

WordPress Trac noreply at wordpress.org
Tue Jun 10 00:36:41 UTC 2014


#27118: WP_Customize_Image_Control should return attachment ID instead of image URL
--------------------------------+-----------------------------
 Reporter:  silb3r              |       Owner:
     Type:  enhancement         |      Status:  new
 Priority:  normal              |   Milestone:  Future Release
Component:  Options, Meta APIs  |     Version:  3.8.1
 Severity:  normal              |  Resolution:
 Keywords:                      |     Focuses:
--------------------------------+-----------------------------

Comment (by tollmanz):

 I recently learned that another reason why this is so important is that if
 you queue up an image control and save the data in a theme mod, the mods
 become tough to transfer to a different domain due to the serialization of
 the theme mod array. Protecting against this would be really excellent.

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


More information about the wp-trac mailing list