[wp-trac] [WordPress Trac] #18951: A function to add default images for themes

WordPress Trac wp-trac at lists.automattic.com
Sun Oct 16 22:24:47 UTC 2011

#18951: A function to add default images for themes
 Reporter:  F J Kaiser       |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Themes           |     Version:  3.3
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |
Changes (by F J Kaiser):

 * keywords:   => has-patch
 * version:  3.2.1 => 3.3


 @scribu I know. Just had no setup until today.

 Ad {{{wp_default_img();}}}: I'm not sure if it's the best idea to filter
 the defaults that late. I did it to allow full controle of the complete
 attribute, so you could add additional (non-default) attributes along for
 ex. the {{{alt}}} or {{{title}}} attribute. The problem with doing so is
 that I added the leading space for an attribute ''before'' the filtering.
 If now someone forgets to add the leading space, the outcome could be

 The content of the size check is independent of the outcome of #18947, but
 I already added a patch there to get this on the road as quick as

Ticket URL: <http://core.trac.wordpress.org/ticket/18951#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list