[wp-trac] [WordPress Trac] #27985: wp_enqueue_media() may be slow on very large sites

WordPress Trac noreply at wordpress.org
Wed Apr 23 21:48:49 UTC 2014


#27985: wp_enqueue_media() may be slow on very large sites
-------------------------------------+--------------------------
 Reporter:  mboynes                  |       Owner:  johnbillion
     Type:  defect (bug)             |      Status:  assigned
 Priority:  normal                   |   Milestone:  3.9.1
Component:  Media                    |     Version:  3.9
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  performance
-------------------------------------+--------------------------

Comment (by johnbillion):

 Ok I think this is fit to go in.

 In 4.0, I'd like to see the attachment type counts removed and replaced
 with boolean transients that are populated in much the same way that the
 value of `is_multi_author()` is (eg. `has_video_attachments` and
 `has_audio_attachments`).

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


More information about the wp-trac mailing list