id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,focuses 20760,Erroneous use of str_replace() in setup-config.php,johnbillion,,"In `wp-admin/setup-config.php` we have an instance of `str_replace()` which uses a blank string in the `$subject` parameter. While it has no detrimental effect, it may as well be removed to avoid some head scratching. {{{ function get_bloginfo() { return ( ( is_ssl() ? 'https://' : 'http://' ) . $_SERVER['HTTP_HOST'] . str_replace( $_SERVER['PHP_SELF'], '/wp-admin/setup-config.php', '' ) ); } }}}",defect (bug),closed,low,,Upgrade/Install,,normal,duplicate,has-patch,,