[wp-trac] [WordPress Trac] #42312: store file path should not include host name

WordPress Trac noreply at wordpress.org
Tue Oct 24 08:21:53 UTC 2017


#42312: store file path should not include host name
-------------------------------+------------------------------
 Reporter:  ravi500patel       |       Owner:
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Upload             |     Version:  4.8.2
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------

Comment (by ravi500patel):

 Hi,
 I am saying my attachment guid for uploaded file in wp-posts table is
 http://localhost/wordpress/wp-content/uploads/2017/08/image.jpg

 So instead of full path if it store uploads/2017/08/image.jpg then it
 would more easy when you upload to live or change domain

--
Ticket URL: <https://core.trac.wordpress.org/ticket/42312#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list