[wp-trac] [WordPress Trac] #17048: URLs delivered to the browser should be root-relative
WordPress Trac
wp-trac at lists.automattic.com
Thu Aug 11 01:04:55 UTC 2011
#17048: URLs delivered to the browser should be root-relative
--------------------------+------------------------------
Reporter: dmole | Owner: edwardw
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.1
Severity: normal | Resolution:
Keywords: dev-feedback |
--------------------------+------------------------------
Comment (by nacin):
{{{
# wp-config.php
ob_start( 's_localhost_192' );
function s_localhost_192( $string ) {
return str_replace( 'http://localhost/', 'http://192.168.1.1/',
$string );
}
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17048#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list