[wp-trac] [WordPress Trac] #38932: Add unit (px) to suggested image size in customizer

WordPress Trac noreply at wordpress.org
Wed Dec 7 17:23:40 UTC 2016


#38932: Add unit (px) to suggested image size in customizer
--------------------------+-----------------------------
 Reporter:  Presskopp     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Media         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  accessibility
--------------------------+-----------------------------

Comment (by westonruter):

 @stormrockwell there should probably be a single string that gets used
 with substitutions. For example `suggestedDimensions` could look like:
 `__( '%1$s by %2$s pixels' )` and then in JS you can replace those
 placeholders with the values for `width` and `height` respectively.

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


More information about the wp-trac mailing list