Ticket #57482: 57482.patch
| File 57482.patch, 3.8 KB (added by , 4 years ago) |
|---|
-
wp-includes/SimplePie/Item.php
1705 1705 $expression = null; 1706 1706 $framerate = null; 1707 1707 $height = null; 1708 $javascript = null;1709 1708 $lang = null; 1710 1709 $length = null; 1711 1710 $medium = null; … … 1745 1744 $expression = null; 1746 1745 $framerate = null; 1747 1746 $height = null; 1748 $javascript = null;1749 1747 $lang = null; 1750 1748 $length = null; 1751 1749 $medium = null; … … 2367 2365 $expression = null; 2368 2366 $framerate = null; 2369 2367 $height = null; 2370 $javascript = null;2371 2368 $lang = null; 2372 2369 $length = null; 2373 2370 $medium = null; … … 2774 2771 $expression = null; 2775 2772 $framerate = null; 2776 2773 $height = null; 2777 $javascript = null;2778 2774 $lang = null; 2779 2775 $length = null; 2780 2776 $medium = null; … … 2817 2813 $expression = null; 2818 2814 $framerate = null; 2819 2815 $height = null; 2820 $javascript = null;2821 2816 $lang = null; 2822 2817 $length = null; 2823 2818 $medium = null; … … 2852 2847 $expression = null; 2853 2848 $framerate = null; 2854 2849 $height = null; 2855 $javascript = null;2856 2850 $lang = null; 2857 2851 $length = null; 2858 2852 $medium = null; -
wp-includes/SimplePie/Locator.php
413 413 if (preg_match('/(feed|rss|rdf|atom|xml)/i', $value)) 414 414 { 415 415 $this->checked_feeds++; 416 $headers = array(417 'Accept' => 'application/atom+xml, application/rss+xml, application/rdf+xml;q=0.9, application/xml;q=0.8, text/xml;q=0.8, text/html;q=0.7, unknown/unknown;q=0.1, application/unknown;q=0.1, */*;q=0.1',418 );416 // $headers = array( 417 // 'Accept' => 'application/atom+xml, application/rss+xml, application/rdf+xml;q=0.9, application/xml;q=0.8, text/xml;q=0.8, text/html;q=0.7, unknown/unknown;q=0.1, application/unknown;q=0.1, */*;q=0.1', 418 // ); 419 419 $feed = $this->registry->create('File', array($value, $this->timeout, 5, null, $this->useragent, $this->force_fsockopen, $this->curl_options)); 420 420 if ($feed->success && ($feed->method & SIMPLEPIE_FILE_SOURCE_REMOTE === 0 || ($feed->status_code === 200 || $feed->status_code > 206 && $feed->status_code < 300)) && $this->is_feed($feed)) 421 421 { -
wp-includes/class-wp-comment-query.php
584 584 if ( ! empty( $this->query_vars['include_unapproved'] ) ) { 585 585 $include_unapproved = wp_parse_list( $this->query_vars['include_unapproved'] ); 586 586 587 $unapproved_ids = array();588 $unapproved_emails = array();589 587 foreach ( $include_unapproved as $unapproved_identifier ) { 590 588 // Numeric values are assumed to be user IDs. 591 589 if ( is_numeric( $unapproved_identifier ) ) { … … 1013 1011 * 1014 1012 * @since 4.4.0 1015 1013 * 1016 * @global wpdb $wpdb WordPress database abstraction object.1017 *1018 1014 * @param WP_Comment[] $comments Array of top-level comments whose descendants should be filled in. 1019 1015 * @return array 1020 1016 */ 1021 1017 protected function fill_descendants( $comments ) { 1022 global $wpdb;1023 1018 1024 1019 $levels = array( 1025 1020 0 => wp_list_pluck( $comments, 'comment_ID' ), -
wp-includes/feed-atom.php
6 6 */ 7 7 8 8 header( 'Content-Type: ' . feed_content_type( 'atom' ) . '; charset=' . get_option( 'blog_charset' ), true ); 9 $more = 1;10 9 11 10 echo '<?xml version="1.0" encoding="' . get_option( 'blog_charset' ) . '"?' . '>'; 12 11
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)