[wp-trac] [WordPress Trac] #31467: Images should default to not linking

WordPress Trac noreply at wordpress.org
Tue Aug 25 12:04:08 UTC 2015


#31467: Images should default to not linking
---------------------------------+-----------------------------
 Reporter:  melchoyce            |       Owner:  wonderboymusic
     Type:  enhancement          |      Status:  assigned
 Priority:  normal               |   Milestone:  4.4
Component:  Media                |     Version:
 Severity:  normal               |  Resolution:
 Keywords:  make-flow has-patch  |     Focuses:  ui
---------------------------------+-----------------------------

Comment (by wonderboymusic):

 Replying to [comment:27 azaozz]:
 > If we still want to use `defaultProps.align` as default value, can do:
 > {{{
 > getUserSetting( 'align', defaultProps.align ) || 'none'
 > }}}
 >
 > (the `|| 'none'` bit ensures we have a setting in case
 `defaultProps.align` is not set.)

 Yeah, that makes sense

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


More information about the wp-trac mailing list