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

WordPress Trac noreply at wordpress.org
Wed Feb 12 23:50:08 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:
--------------------------------+-----------------------------
Changes (by johnbillion):

 * milestone:  Awaiting Review => Future Release


Comment:

 Yes yes yes yes yes! This has caused me no end up trouble over the last
 few weeks. Unfortunately what we will need to do is create a new
 customizer control so we maintain backward compatibility in the
 `WP_Customize_Image_Control` class. Either that or introduce a parameter
 to that class which indicates it should store and return an attachment ID.

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


More information about the wp-trac mailing list