[wp-trac] Re: [WordPress Trac] #2682: Remove db store of absolute path for uploads

WordPress Trac wp-trac at lists.automattic.com
Wed May 17 16:06:16 GMT 2006

#2682: Remove db store of absolute path for uploads
       Id:  2682             |      Status:  new                     
Component:  Administration   |    Modified:  Wed May 17 16:06:16 2006
 Severity:  normal           |   Milestone:  2.1                     
 Priority:  normal           |     Version:  2.1                     
    Owner:  ryanscheuermann  |    Reporter:  ryanscheuermann         
Comment (by ryanscheuermann):

 Oh, 1 more thing, this patch doesn't address #2631 directly, but it's
 entirely possible to write a plugin to also remove the storage of siteurl
 from post->guid.  But that would only fix attachments being added after
 the siteurl changes.  It wouldn't fix all the uploads currently referenced
 in posts.

 Another function would have to do a str_replace on the content for all the
 posts whenever siteurl is changed.

Ticket URL: <http://trac.wordpress.org/ticket/2682>
WordPress Trac <http://wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list