Make WordPress Core

Ticket #59297: 59297.5.patch

File 59297.5.patch, 1.7 KB (added by viralsampat, 17 months ago)

I have added another patch

  • src/wp-includes/feed-atom.php

    diff --git src/wp-includes/feed-atom.php src/wp-includes/feed-atom.php
    index e9e3f49528..f43398e103 100644
     
    66 */
    77
    88header( 'Content-Type: ' . feed_content_type( 'atom' ) . '; charset=' . get_option( 'blog_charset' ), true );
    9 $more = 1;
    109
    1110echo '<?xml version="1.0" encoding="' . get_option( 'blog_charset' ) . '"?' . '>';
    1211
  • src/wp-includes/link-template.php

    diff --git src/wp-includes/link-template.php src/wp-includes/link-template.php
    index a34b34b6ce..44c1c6a8eb 100644
    function edit_term_link( $link = '', $before = '', $after = '', $term = null, $d 
    11441144                return;
    11451145        }
    11461146
    1147         $tax = get_taxonomy( $term->taxonomy );
    11481147        if ( ! current_user_can( 'edit_term', $term->term_id ) ) {
    11491148                return;
    11501149        }
  • src/wp-includes/ms-functions.php

    diff --git src/wp-includes/ms-functions.php src/wp-includes/ms-functions.php
    index 09ee2a5c53..d108cf8feb 100644
    function get_blog_permalink( $blog_id, $post_id ) { 
    330330 *
    331331 * @since MU (3.0.0)
    332332 *
    333  * @global wpdb $wpdb WordPress database abstraction object.
    334333 *
    335334 * @param string $domain Website domain.
    336335 * @param string $path   Optional. Not required for subdomain installations. Default '/'.
  • src/wp-includes/ms-load.php

    diff --git src/wp-includes/ms-load.php src/wp-includes/ms-load.php
    index afac9b1147..bfdf6ac29b 100644
    function ms_load_current_site_and_network( $domain, $path, $subdomain = false ) 
    393393        if ( empty( $current_blog ) && wp_installing() ) {
    394394                $current_blog          = new stdClass();
    395395                $current_blog->blog_id = 1;
    396                 $blog_id               = 1;
    397396                $current_blog->public  = 1;
    398397        }
    399398