Forums

"wlwmanifest.xml" what is it??? (12 posts)

  1. sahaskatta
    Member
    Posted 6 months ago #

    After upgrading to v2.3.1 i have noticed that "example.com/wp-includes/wlwmanifest.xml" is added to the "wp_head". i couldn't seem to find information about what this is and what it is doing? does anyone have any information?

    also there's a bug, it doesn't add a new line after the code. therefore anything after it continues on the same line.

  2. patung
    Member
    Posted 6 months ago #

    /wp-includes/general-template.php

    Lines 832-835.

    function wlwmanifest_link() {
    	echo ' <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="'
    		. get_bloginfo('wpurl') . '/wp-includes/wlwmanifest.xml" /> ';
    }

    You can delete them, also the lines above it:

    function rsd_link() {
    	echo '	<link rel="EditURI" type="application/rsd+xml" title="RSD" href="' . get_bloginfo('wpurl') . "/xmlrpc.php?rsd\" />\n";
    }

    As they don't seem to have any use either.

  3. xknown
    Member
    Posted 6 months ago #

    wlwmanifest.xml is the resource file needed to enable tagging support for Windows Live Writer.

  4. milanmk
    Member
    Posted 6 months ago #

    Thanks for confirming it xknown.

  5. sahaskatta
    Member
    Posted 6 months ago #

    thanks for all the help, i just searched the web and found more info about it on trac database. and "xknown" was right, it is indeed live writer stuff. I feel there should be an option checkbox to have this appear or not since i doubt too many people actually use live writer. plus it will save bandwidth and resources if the server is asking all your visitors to download this file unnecessarily.

  6. xknown
    Member
    Posted 6 months ago #

    sahaskatta, disabling it won't save too much bandwidth, wlwmanifest.xml is only downloaded if you configure Windows Live Writer for your site (your visitors will never download this file).

    Anyway, you can use the following plugin if you don't use any Blog client:

    <?php
    /*
    Plugin Name: WLW Disabler
    */
    
    remove_action('wp_head', 'wlwmanifest_link');
    remove_action('wp_head', 'rsd_link');
    ?>
  7. planetmike
    Member
    Posted 4 months ago #

    I tweaked your plugin, it adds a blank line to the very top of pages generated by Wordpress. WLW Disabler.

  8. robertm
    Member
    Posted 4 months ago #

    For anyone coming across this thread, you can just comment it out, but line 139 in /wp-includes/default-filters.php also needs to be commented out too or there will be an error:

    // add_action('wp_head', 'wlwmanifest_link');

    The xmlrpc.php line that patung mentioned I know is a "remote procedure call" protocol used by desktop blogging clients (such as MarsEdit and Ecto). If you only use your web browser to administer WordPress you probably are safe to comment that out too.

  9. Otto42
    Moderator
    Posted 4 months ago #

    robertm: No need to comment out anything. Just add these lines to your theme's functions.php file:

    remove_action('wp_head', 'wlwmanifest_link');
    remove_action('wp_head', 'rsd_link');

    Or use the plugin above. Same thing. Always preferable to use plugins/themes instead of hacking core files. Hacking core files makes it more annoying when you upgrade.

  10. wireless
    Member
    Posted 3 months ago #

    I would'nt worry about it ...I use WLW a lot and also advise all my PC clients to use it. WLW is I have to admit brilliant and is the only reason I turn my PC on . I dislike Microsoft and all that they stand for but this is a very easy, free and great tool for sprucing up the content of your blog. I havnt found a blog editor as good for editing Both posts and pages.
    ATB
    W

  11. feverinlove
    Member
    Posted 2 months ago #

    Thanks for the explanation

  12. alharbi
    Member
    Posted 6 days ago #

    thank's
    my blog

Reply

You must log in to post.

About this Topic