[wp-trac] [WordPress Trac] #32417: Add new core media widget

WordPress Trac noreply at wordpress.org
Wed Feb 22 17:53:39 UTC 2017


#32417: Add new core media widget
-------------------------------------------------+-------------------------
 Reporter:  melchoyce                            |       Owner:  melchoyce
     Type:  feature request                      |      Status:  assigned
 Priority:  normal                               |   Milestone:  4.8
Component:  Widgets                              |     Version:  4.3
 Severity:  normal                               |  Resolution:
 Keywords:  needs-unit-tests has-patch needs-    |     Focuses:  ui,
  refresh                                        |  administration
-------------------------------------------------+-------------------------

Comment (by melchoyce):

 Some notes from testing the latest patch:

 - Getting an error: `Notice: Undefined index: align in /srv/www/wordpress-
 develop/src/wp-includes/widgets/class-wp-widget-media.php on line 81`
 - Still seeing a download button on videos (though not audio anymore):
 https://cloudup.com/cKZaX_kri8j
 - Some (not all) of the mp3s I'm trying to upload are telling me, "Sorry,
 this file type is not permitted for security reasons." Any ideas why?
 - Any reason why we can't just apply "scale to fit width" automatically
 and not make it an option at all?
 - I was able to select a PDF to add to the widget (which didn't work once
 I added it, unsurprisingly). Can we hide unsupported media types when you
 open the media library to choose a file for the widget?

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


More information about the wp-trac mailing list