[wp-trac] [WordPress Trac] #56217: Add video rotation info in wp_read_video_metadata()

WordPress Trac noreply at wordpress.org
Mon Oct 31 16:08:14 UTC 2022


#56217: Add video rotation info in wp_read_video_metadata()
--------------------------------------+------------------------------
 Reporter:  opajaap                   |       Owner:  (none)
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Media                     |     Version:  6.0
 Severity:  normal                    |  Resolution:
 Keywords:  has-unit-tests has-patch  |     Focuses:
--------------------------------------+------------------------------

Comment (by opajaap):

 Correction: only rquired:

 {{{#!php
 if ( ! empty( $data['video']['rotate'] ) ) {
                 $metadata['rotate'] = $data['video']['rotate'];
         }
 }}}

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


More information about the wp-trac mailing list