diff --git src/wp-includes/class-wp-query.php src/wp-includes/class-wp-query.php
index f683a52bd1..12113d61ab 100644
|
|
|
class WP_Query {
|
| 1119 | 1119 | } |
| 1120 | 1120 | |
| 1121 | 1121 | $this->is_singular = $this->is_single || $this->is_page || $this->is_attachment; |
| 1122 | | // Done correcting `is_*` for 'page_on_front' and 'page_for_posts'. |
| 1123 | 1122 | |
| 1124 | 1123 | if ( '404' == $qv['error'] ) { |
| 1125 | 1124 | $this->set_404(); |
diff --git src/wp-includes/functions.wp-styles.php src/wp-includes/functions.wp-styles.php
index 592bb41ade..f154156680 100644
|
|
|
function wp_styles() {
|
| 44 | 44 | function wp_print_styles( $handles = false ) { |
| 45 | 45 | global $wp_styles; |
| 46 | 46 | |
| 47 | | if ( '' === $handles ) { // For 'wp_head'. |
| | 47 | if ( '' === $handles ) { |
| 48 | 48 | $handles = false; |
| 49 | 49 | } |
| 50 | 50 | |
diff --git src/wp-includes/rss.php src/wp-includes/rss.php
index 4d3f35e5cb..7c11fc317e 100644
|
|
|
class MagpieRSS {
|
| 51 | 51 | var $current_field = ''; |
| 52 | 52 | var $current_namespace = false; |
| 53 | 53 | |
| 54 | | //var $ERROR = ""; |
| 55 | | |
| 56 | 54 | var $_CONTENT_CONSTRUCTS = array('content', 'summary', 'info', 'title', 'tagline', 'copyright'); |
| 57 | 55 | |
| 58 | 56 | /** |
| … |
… |
function _response_to_rss ($resp) {
|
| 621 | 619 | if ($rss) { |
| 622 | 620 | $errormsg .= " (" . $rss->ERROR . ")"; |
| 623 | 621 | } |
| 624 | | // error($errormsg); |
| 625 | 622 | |
| 626 | 623 | return false; |
| 627 | 624 | } // end if ($rss and !$rss->error) |
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
|
| 1563 | 1563 | |
| 1564 | 1564 | /* Input validation: */ |
| 1565 | 1565 | 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 | |
| 1571 | 1567 | if (ParagonIE_Sodium_Core_Util::strlen($key) > self::CRYPTO_GENERICHASH_KEYBYTES_MAX) { |
| 1572 | 1568 | throw new SodiumException('Unsupported key size. Must be at most CRYPTO_GENERICHASH_KEYBYTES_MAX bytes long.'); |
| 1573 | 1569 | } |