Make WordPress Core


Ignore:
Timestamp:
04/04/2023 02:54:31 PM (20 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/tests/phpunit/tests/https-detection.php

    r55029 r55620  
    200200     * @ticket 47577
    201201     */
    202     public function test_wp_is_local_html_output_via_wlwmanifest_link() {
    203         remove_action( 'wp_head', 'rsd_link' );
    204 
    205         // HTML includes WLW manifest link.
    206         $head_tag = get_echo( 'wlwmanifest_link' );
    207         $html     = $this->get_sample_html_string( $head_tag );
    208         $this->assertTrue( wp_is_local_html_output( $html ) );
    209 
    210         // HTML includes modified WLW manifest link but same URL.
    211         $head_tag = str_replace( ' />', '>', get_echo( 'wlwmanifest_link' ) );
    212         $html     = $this->get_sample_html_string( $head_tag );
    213         $this->assertTrue( wp_is_local_html_output( $html ) );
    214 
    215         // HTML includes WLW manifest link with alternative URL scheme.
    216         $head_tag = get_echo( 'wlwmanifest_link' );
    217         $head_tag = false !== strpos( $head_tag, 'https://' ) ? str_replace( 'https://', 'http://', $head_tag ) : str_replace( 'http://', 'https://', $head_tag );
    218         $html     = $this->get_sample_html_string( $head_tag );
    219         $this->assertTrue( wp_is_local_html_output( $html ) );
    220 
    221         // HTML does not include WLW manifest link.
    222         $html = $this->get_sample_html_string();
    223         $this->assertFalse( wp_is_local_html_output( $html ) );
    224     }
    225 
    226     /**
    227      * @ticket 47577
    228      */
    229202    public function test_wp_is_local_html_output_via_rest_link() {
    230203        remove_action( 'wp_head', 'rsd_link' );
    231         remove_action( 'wp_head', 'wlwmanifest_link' );
    232204
    233205        // HTML includes REST API link.
     
    257229    public function test_wp_is_local_html_output_cannot_determine() {
    258230        remove_action( 'wp_head', 'rsd_link' );
    259         remove_action( 'wp_head', 'wlwmanifest_link' );
    260231        remove_action( 'wp_head', 'rest_output_link_wp_head' );
    261232
Note: See TracChangeset for help on using the changeset viewer.