Make WordPress Core

Ticket #57840: 57840.diff

File 57840.diff, 5.5 KB (added by Presskopp, 20 months ago)

went through them all again and this is the patch so far

  • wp-admin/includes/class-pclzip.php

     
    632632  //                newer_exist : the file was not extracted because a newer file exists
    633633  //                path_creation_fail : the file is not extracted because the folder
    634634  //                                     does not exist and can not be created
    635   //                write_error : the file was not extracted because there was a
     635  //                write_error : the file was not extracted because there was an
    636636  //                              error while writing the file
    637   //                read_error : the file was not extracted because there was a error
     637  //                read_error : the file was not extracted because there was an error
    638638  //                             while reading the file
    639639  //                invalid_header : the file was not extracted because of an archive
    640640  //                                 format error (bad file header)
  • wp-admin/includes/file.php

     
    13771377                );
    13781378        }
    13791379
    1380         // Check for a edge-case affecting PHP Maths abilities.
     1380        // Check for an edge-case affecting PHP Maths abilities.
    13811381        if (
    13821382                ! extension_loaded( 'sodium' ) &&
    13831383                in_array( PHP_VERSION_ID, array( 70200, 70201, 70202 ), true ) &&
  • wp-includes/class-wp-http-cookie.php

     
    136136                        foreach ( $pairs as $pair ) {
    137137                                $pair = rtrim( $pair );
    138138
    139                                 // Handle the cookie ending in ; which results in a empty final pair.
     139                                // Handle the cookie ending in ; which results in an empty final pair.
    140140                                if ( empty( $pair ) ) {
    141141                                        continue;
    142142                                }
  • wp-includes/class-wp-http.php

     
    10801080         * Determines if a specified string represents an IP address or not.
    10811081         *
    10821082         * This function also detects the type of the IP address, returning either
    1083          * '4' or '6' to represent a IPv4 and IPv6 address respectively.
     1083         * '4' or '6' to represent an IPv4 and IPv6 address respectively.
    10841084         * This does not verify if the IP is a valid IP, only that it appears to be
    10851085         * an IP address.
    10861086         *
  • wp-includes/class-wp-oembed.php

     
    514514        }
    515515
    516516        /**
    517          * Connects to a oEmbed provider and returns the result.
     517         * Connects to an oEmbed provider and returns the result.
    518518         *
    519519         * @since 2.9.0
    520520         *
  • wp-includes/customize/class-wp-customize-nav-menu-item-setting.php

     
    228228                } else {
    229229                        $value = false;
    230230
    231                         // Note that a ID of less than one indicates a nav_menu not yet inserted.
     231                        // Note that an ID of less than one indicates a nav_menu not yet inserted.
    232232                        if ( $this->post_id > 0 ) {
    233233                                $post = get_post( $this->post_id );
    234234                                if ( $post && self::POST_TYPE === $post->post_type ) {
  • wp-includes/media-template.php

     
    88 */
    99
    1010/**
    11  * Outputs the markup for a audio tag to be used in an Underscore template
     11 * Outputs the markup for an audio tag to be used in an Underscore template
    1212 * when data.model is passed.
    1313 *
    1414 * @since 3.9.0
  • wp-includes/media.php

     
    38113811        if ( $image instanceof GdImage
    38123812                || is_resource( $image ) && 'gd' === get_resource_type( $image )
    38133813        ) {
     3814
    38143815                return true;
    38153816        }
    38163817
     
    48614862}
    48624863
    48634864/**
    4864  * Checks the HTML content for a audio, video, object, embed, or iframe tags.
     4865 * Checks the HTML content for an audio, video, object, embed, or iframe tags.
    48654866 *
    48664867 * @since 3.6.0
    48674868 *
  • wp-includes/option.php

     
    13701370}
    13711371
    13721372/**
    1373  * Removes a option by name for the current network.
     1373 * Removes an option by name for the current network.
    13741374 *
    13751375 * @since 2.8.0
    13761376 * @since 4.4.0 Modified into wrapper for delete_network_option()
  • wp-includes/Requests/src/IdnaEncoder.php

     
    2626        const ACE_PREFIX = 'xn--';
    2727
    2828        /**
    29          * Maximum length of a IDNA URL in ASCII.
     29         * Maximum length of an IDNA URL in ASCII.
    3030         *
    3131         * @see \WpOrg\Requests\IdnaEncoder::to_ascii()
    3232         *