[wp-trac] [WordPress Trac] #38615: Round out and refine starter content

WordPress Trac noreply at wordpress.org
Fri Nov 18 06:32:06 UTC 2016


#38615: Round out and refine starter content
----------------------------+------------------
 Reporter:  helen           |       Owner:
     Type:  task (blessed)  |      Status:  new
 Priority:  high            |   Milestone:  4.7
Component:  Themes          |     Version:
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:
----------------------------+------------------

Comment (by helen):

 [attachment:38615.4.diff] allows for sideloading of attachments from the
 theme directory into the media library and for them to be used as featured
 images. Because media is involved in a front-end context, there are ugly
 file includes involved. One thing that appears not to be working is
 setting `auto-draft` for the attachments. But otherwise it appears to
 work. Thanks to @westonruter for the help on how the
 `$nav_menus_created_posts` bit works :)

 What this means is that themes would grow in size somewhat if they include
 images for this purpose. I don't know that we want to artificially limit
 the number of images to load in core but it could take a while to process
 the uploads if too many are registered. For Twenty Seventeen, I took the
 images off http://2017.wordpress.net for testing, but at the 2000px wide
 size because that's all that was needed, not the original full size.

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


More information about the wp-trac mailing list