Stephen R Guglielmo on 13 Jul 2017 15:13:20 -0700

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] The most pernicious bug in WordPress

I use wp-cli's search-replace command to do this. I often clone our prod wordpress db to non-prod and wp-cli is how I correct the DB.

You can't run a regular search/replace on the DB because data is stored serialized (another "why?!?!?"); wp-cli's handles this correctly.

-------- Original Message --------
On Jul 13, 2017, 6:05 PM, CJ Fearnley <> wrote:

There were some frustrating moments in my day today.

They bubbled out in a tweet (am I the only one making strident angry

To save you the click:

"@WordPress Why, oh why, do u store the hostname with absolute links in
the database? Creativity cannot deal w/ this pernicious bug!! FIX IT!"

I cannot change the hostname or location of a site if that data is hard
coded with absolute links that include the full hostname in the code or
in the database!

Isn't this web development 101 stuff?

I mean it is a basic data normalization issue, no?

Am I wrong here? Is this a quixotic mission fighting windmills?

Where should we file our complaints?

CJ Fearnley | LinuxForce Inc. | IT Projects & Systems Maintenance |
Philadelphia Linux Users Group --
Announcements -
General Discussion --
Philadelphia Linux Users Group         --
Announcements -
General Discussion  --