WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#34741 closed defect (bug) (duplicate)

Don't store the domain or the path in the database

Reported by: illustir Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:
PR Number:

Description

I'm in the process of moving a wordpress site and I'm running into this. Storing full URLs in the database is a terrible practice and should be considered a bug.

URLs should be constructed from their respective components based on the site's settings.

Change History (2)

#1 @joehoyle
4 years ago

  • Resolution set to duplicate
  • Status changed from new to closed

#2 @netweb
4 years ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.