Make WordPress Core

Ticket #60477: 60477.patch

File 60477.patch, 2.3 KB (added by viralsampat, 3 years ago)

Applied a patch

  • src/wp-includes/class-wp-query.php

    diff --git src/wp-includes/class-wp-query.php src/wp-includes/class-wp-query.php
    index f683a52bd1..12113d61ab 100644
    class WP_Query {  
    11191119                }
    11201120
    11211121                $this->is_singular = $this->is_single || $this->is_page || $this->is_attachment;
    1122                 // Done correcting `is_*` for 'page_on_front' and 'page_for_posts'.
    11231122
    11241123                if ( '404' == $qv['error'] ) {
    11251124                        $this->set_404();
  • src/wp-includes/functions.wp-styles.php

    diff --git src/wp-includes/functions.wp-styles.php src/wp-includes/functions.wp-styles.php
    index 592bb41ade..f154156680 100644
    function wp_styles() {  
    4444function wp_print_styles( $handles = false ) {
    4545        global $wp_styles;
    4646
    47         if ( '' === $handles ) { // For 'wp_head'.
     47        if ( '' === $handles ) {
    4848                $handles = false;
    4949        }
    5050
  • src/wp-includes/rss.php

    diff --git src/wp-includes/rss.php src/wp-includes/rss.php
    index 4d3f35e5cb..7c11fc317e 100644
    class MagpieRSS {  
    5151        var $current_field              = '';
    5252        var $current_namespace  = false;
    5353
    54         //var $ERROR = "";
    55 
    5654        var $_CONTENT_CONSTRUCTS = array('content', 'summary', 'info', 'title', 'tagline', 'copyright');
    5755
    5856        /**
    function _response_to_rss ($resp) {  
    621619                if ($rss) {
    622620                        $errormsg .= " (" . $rss->ERROR . ")";
    623621                }
    624                 // error($errormsg);
    625622
    626623                return false;
    627624        } // end if ($rss and !$rss->error)
  • src/wp-includes/sodium_compat/src/Compat.php

    diff --git src/wp-includes/sodium_compat/src/Compat.php src/wp-includes/sodium_compat/src/Compat.php
    index 3afe97c00e..b8a9dc4709 100644
    class ParagonIE_Sodium_Compat  
    15631563
    15641564        /* Input validation: */
    15651565        if (!empty($key)) {
    1566             /*
    1567             if (ParagonIE_Sodium_Core_Util::strlen($key) < self::CRYPTO_GENERICHASH_KEYBYTES_MIN) {
    1568                 throw new SodiumException('Unsupported key size. Must be at least CRYPTO_GENERICHASH_KEYBYTES_MIN bytes long.');
    1569             }
    1570             */
     1566           
    15711567            if (ParagonIE_Sodium_Core_Util::strlen($key) > self::CRYPTO_GENERICHASH_KEYBYTES_MAX) {
    15721568                throw new SodiumException('Unsupported key size. Must be at most CRYPTO_GENERICHASH_KEYBYTES_MAX bytes long.');
    15731569            }