Make WordPress Core


Ignore:
Timestamp:
06/17/2006 11:38:45 PM (19 years ago)
Author:
matt
Message:

Don't hide blog when option is blank!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/general-template.php

    r3878 r3885  
    695695
    696696function rsd_link() {
    697     echo '<link rel="EditURI" type="application/rsd+xml" title="RSD" href="' . get_bloginfo('wpurl') . "/xmlrpc.php?rsd\" />\n";
     697    echo '  <link rel="EditURI" type="application/rsd+xml" title="RSD" href="' . get_bloginfo('wpurl') . "/xmlrpc.php?rsd\" />\n";
    698698}
    699699
    700700function noindex() {
    701701    // If the blog is not public, tell robots to go away.
    702     if ( ! get_option('blog_public') )
    703         echo '<meta name="robots" content="noindex,nofollow" />' . "\n";
     702    if ( '0' == get_option('blog_public') )
     703        echo "<meta name='robots' content='noindex,nofollow' />\n";
    704704}
    705705
Note: See TracChangeset for help on using the changeset viewer.