Changeset 57638
- Timestamp:
- 02/15/2024 11:47:21 PM (8 months ago)
- Location:
- trunk/src
- Files:
-
- 9 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/js/_enqueues/vendor/mediaelement/wp-playlist.js
r54279 r57638 81 81 82 82 renderCurrent : function () { 83 var dimensions, defaultImage = 'wp-includes/images/media/video. png';83 var dimensions, defaultImage = 'wp-includes/images/media/video.svg'; 84 84 if ( 'video' === this.data.type ) { 85 85 if ( this.data.images && this.current.get( 'image' ) && -1 === this.current.get( 'image' ).src.indexOf( defaultImage ) ) { -
trunk/src/wp-includes/post.php
r57628 r57638 6880 6880 6881 6881 $ext = strtolower( substr( $file, -4 ) ); 6882 if ( ! in_array( $ext, array( '. png', '.gif', '.jpg' ), true ) ) {6882 if ( ! in_array( $ext, array( '.svg', '.png', '.gif', '.jpg' ), true ) ) { 6883 6883 if ( is_dir( "$dir/$file" ) ) { 6884 6884 $dirs[ "$dir/$file" ] = "$uri/$file";
Note: See TracChangeset
for help on using the changeset viewer.