WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. sahaskatta
    Member
    Posted 6 years 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 years 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. Alex Concha
    Member
    Posted 6 years ago #

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

  4. Milan
    Member
    Posted 6 years ago #

    Thanks for confirming it xknown.

  5. sahaskatta
    Member
    Posted 6 years 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. Alex Concha
    Member
    Posted 6 years 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. Michael Clark
    Member
    Posted 6 years 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 6 years 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. Samuel Wood (Otto)
    Tech Ninja
    Posted 6 years 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 6 years 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. GilbertZ
    Member
    Posted 6 years ago #

    This kind of thing should be configurable instead of adding lines to code by default for software that many people don't use. Just makes things more confusing.

  12. mack_w
    Member
    Posted 6 years ago #

    "your visitors will never download this file"...

    Er, no - I am now getting a lot of direct hits on this file, presumably being used as a hacker test for a WordPress installation on the domain...

    Definitely best to disable this, if you've got the time

  13. Joseph Scott
    Member
    Posted 6 years ago #

    I recommend not disabling these. The RSD link is used by blog clients for discovery of the XML-RPC API end point. Removing will cause problems for many other blog clients, not just Windows Live Writer users.

  14. furiousphotographers
    Member
    Posted 6 years ago #

    What is Windows Live Writer? Does it do anything important? I found it on my wedding photography blog too and didn't know what it did.

  15. moshu
    Member
    Posted 6 years ago #

    read more: Weblog_Client

  16. xdesi
    Member
    Posted 5 years ago #

    So if I intend to only ever post via my admin screen off my P.C then I can consider it safe to remove it from my head?

    I'm talking about:

    <link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://www.x.com/xmlrpc.php?rsd" />
    <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://www.x.com/wp-includes/wlwmanifest.xml" />

    Are these only there if you intend to use 3rd party services to post like you mobile phone etc?

Topic Closed

This topic has been closed to new replies.

About this Topic