WordPress.org

Make WordPress Core

Ticket #18387: wrong_return.diff

File wrong_return.diff, 368 bytes (added by lonnylot, 7 years ago)
  • ms-functions.php

     
    384384
    385385        if ( !$id ) {
    386386                wp_cache_set( md5( $domain . $path ), -1, 'blog-id-cache' );
    387                 return false;
     387                return 0;
    388388        }
    389389        wp_cache_set( md5( $domain . $path ), $id, 'blog-id-cache' );
    390390