Make WordPress Core

Ticket #59297: 59297.6.patch

File 59297.6.patch, 1.4 KB (added by viralsampat, 7 months ago)

I have checked above mentioned issue and founds few files. Here, I have added its patch.

  • src/wp-includes/ID3/module.audio-video.riff.php

    diff --git src/wp-includes/ID3/module.audio-video.riff.php src/wp-includes/ID3/module.audio-video.riff.php
    index e745ec65f4..77293423fb 100644
    class getid3_riff extends getid3_handler 
    16201620                                                        if (!$FoundAllChunksWeNeed) {
    16211621                                                                $WhereWeWere      = $this->ftell();
    16221622                                                                $AudioChunkHeader = $this->fread(12);
    1623                                                                 $AudioChunkStreamNum  =                              substr($AudioChunkHeader, 0, 2);
    16241623                                                                $AudioChunkStreamType =                              substr($AudioChunkHeader, 2, 2);
    16251624                                                                $AudioChunkSize       = getid3_lib::LittleEndian2Int(substr($AudioChunkHeader, 4, 4));
    16261625
  • src/wp-includes/class-wp-comment-query.php

    diff --git src/wp-includes/class-wp-comment-query.php src/wp-includes/class-wp-comment-query.php
    index dad512c419..5b49a28b3f 100644
    class WP_Comment_Query { 
    584584                if ( ! empty( $this->query_vars['include_unapproved'] ) ) {
    585585                        $include_unapproved = wp_parse_list( $this->query_vars['include_unapproved'] );
    586586
    587                         $unapproved_ids    = array();
    588                         $unapproved_emails = array();
     587                       
    589588                        foreach ( $include_unapproved as $unapproved_identifier ) {
    590589                                // Numeric values are assumed to be user IDs.
    591590                                if ( is_numeric( $unapproved_identifier ) ) {