[wp-hackers] WP Development & Production Sites

Gavin Pearce Gavin.Pearce at 3seven9.com
Thu Dec 16 14:51:11 UTC 2010


Just to complicate this slightly - sometimes the *actual* URL isn't
always known until *after* the project has been developed.

A nicer way of URL handling, as per other projects we work with, would
also be beneficial in this use-case.

Gav

-----Original Message-----
From: wp-hackers-bounces at lists.automattic.com
[mailto:wp-hackers-bounces at lists.automattic.com] On Behalf Of Otto
Sent: 30 November 2010 03:46
To: wp-hackers at lists.automattic.com
Subject: Re: [wp-hackers] WP Development & Production Sites

On Mon, Nov 29, 2010 at 8:14 PM, Andrew Gray <andrew at graymerica.com>
wrote:
> 1. The serialized arrays, plugin paths and other places the URL is
stored

The ob_start solution I gave earlier will handle that case. The key is
to store the *actual* URL, then use code to adjust it on-the-fly for
your non-production sites.

-Otto
_______________________________________________
wp-hackers mailing list
wp-hackers at lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers


More information about the wp-hackers mailing list