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/functions.php

    r3862 r3885  
    976976
    977977function privacy_ping_filter( $sites ) {
    978     if ( get_option('blog_public') )
     978    if ( '0' != get_option('blog_public') )
    979979        return $sites;
    980980    else
     
    10271027
    10281028function do_robots() {
    1029     if ( '1' != get_option('blog_public') ) {
     1029    do_action('do_robots');
     1030    if ( '0' == get_option('blog_public') ) {
    10301031        echo "User-agent: *\n";
    10311032        echo "Disallow: /\n";
Note: See TracChangeset for help on using the changeset viewer.