Make WordPress Core


Ignore:
Timestamp:
04/04/2023 02:54:31 PM (11 months ago)
Author:
SergeyBiryukov
Message:

General: Remove Windows Live Writer manifest file.

The XML manifest was originally added in WordPress 2.3.1 to turn on tagging support in Windows Live Writer.

Given that the last major release of the software came out in 2012, and it was completely discontinued in January 2017, including this file in core no longer provides any benefit.

Follow-up to [6192], [49904].

Props joostdevalk, ayeshrajans, flixos90, jhabdas, frank-klein, wtranch, SergeyBiryukov.
Fixes #41404.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/https-detection.php

    r53878 r55620  
    209209    }
    210210
    211     // 2. Check if HTML includes the site's Windows Live Writer manifest link.
    212     if ( has_action( 'wp_head', 'wlwmanifest_link' ) ) {
    213         // Try both HTTPS and HTTP since the URL depends on context.
    214         $pattern = preg_replace( '#^https?:(?=//)#', '', includes_url( 'wlwmanifest.xml' ) ); // See wlwmanifest_link().
    215         return false !== strpos( $html, $pattern );
    216     }
    217 
    218     // 3. Check if HTML includes the site's REST API link.
     211    // 2. Check if HTML includes the site's REST API link.
    219212    if ( has_action( 'wp_head', 'rest_output_link_wp_head' ) ) {
    220213        // Try both HTTPS and HTTP since the URL depends on context.
Note: See TracChangeset for help on using the changeset viewer.