[wp-trac] [WordPress Trac] #34741: Don't store the domain or the path in the database

WordPress Trac noreply at wordpress.org
Thu Nov 19 15:02:58 UTC 2015


#34741: Don't store the domain or the path in the database
--------------------------+-----------------------------
 Reporter:  illustir      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 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.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34741>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list