[wp-trac] [WordPress Trac] #54146: The extension "webp" is missing

WordPress Trac noreply at wordpress.org
Sun Sep 19 17:03:44 UTC 2021


#54146: The extension "webp" is missing
--------------------------+-----------------------------
 Reporter:  almendron     |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Media         |    Version:  5.8.1
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 **File wp-includes/js/media-views.js**
 ''Line 3449''
 {{{
 return /\.(jpe?g|png|gif)$/i.test( attachment.get('filename') );
 }}}


 **File wp-includes/js/dist/block-editor.js**
 ''Line 26680''
 {{{
 }) => /^image\/(?:jpe?g|png|gif)$/.test(type)); // Only process files if
 no HTML is present.
 }}}
 ''Line 30251''
 {{{
 }) => /^image\/(?:jpe?g|png|gif)$/.test(type)).map(file => `<img
 src="${Object(external_wp_blob_["createBlobURL"])(file)}">`).join('');
 }}}

 **File wp-includes/js/plupload/wp-plupload.js**
 ''Line 379''

 {{{
 mage = /(?:jpe?g|png|gif)$/i.exec( file.name );
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54146>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list