{"action":"created","issue":{"url":"https://api.github.com/repos/genesis/wordpress/issues/95","labels_url":"https://api.github.com/repos/genesis/wordpress/issues/95/labels{/name}","comments_url":"https://api.github.com/repos/genesis/wordpress/issues/95/comments","events_url":"https://api.github.com/repos/genesis/wordpress/issues/95/events","html_url":"https://github.com/genesis/wordpress/issues/95","id":24469027,"number":95,"title":"<img> tags when moving db between servers","user":{"login":"mcheck","id":196895,"avatar_url":"https://avatars.githubusercontent.com/u/196895?v=3","gravatar_id":"","url":"https://api.github.com/users/mcheck","html_url":"https://github.com/mcheck","followers_url":"https://api.github.com/users/mcheck/followers","following_url":"https://api.github.com/users/mcheck/following{/other_user}","gists_url":"https://api.github.com/users/mcheck/gists{/gist_id}","starred_url":"https://api.github.com/users/mcheck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcheck/subscriptions","organizations_url":"https://api.github.com/users/mcheck/orgs","repos_url":"https://api.github.com/users/mcheck/repos","events_url":"https://api.github.com/users/mcheck/events{/privacy}","received_events_url":"https://api.github.com/users/mcheck/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/genesis/wordpress/milestones/1","html_url":"https://github.com/genesis/wordpress/milestones/v1.0.0","labels_url":"https://api.github.com/repos/genesis/wordpress/milestones/1/labels","id":603856,"number":1,"title":"v1.0.0","description":"","creator":{"login":"ericclemmons","id":15182,"avatar_url":"https://avatars.githubusercontent.com/u/15182?v=3","gravatar_id":"","url":"https://api.github.com/users/ericclemmons","html_url":"https://github.com/ericclemmons","followers_url":"https://api.github.com/users/ericclemmons/followers","following_url":"https://api.github.com/users/ericclemmons/following{/other_user}","gists_url":"https://api.github.com/users/ericclemmons/gists{/gist_id}","starred_url":"https://api.github.com/users/ericclemmons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericclemmons/subscriptions","organizations_url":"https://api.github.com/users/ericclemmons/orgs","repos_url":"https://api.github.com/users/ericclemmons/repos","events_url":"https://api.github.com/users/ericclemmons/events{/privacy}","received_events_url":"https://api.github.com/users/ericclemmons/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":11,"state":"open","created_at":"2014-03-20T14:58:45Z","updated_at":"2015-05-01T17:49:50Z","due_on":"2014-06-21T07:00:00Z","closed_at":null},"comments":2,"created_at":"2013-12-18T04:26:22Z","updated_at":"2015-05-02T17:29:20Z","closed_at":null,"body":"Is there a preferred method of managing the urls for images (and other assets) in posts and pages that have a full host and path, when they're moved between servers with, for instance:\r\ncap staging genesis:down:db\r\n\r\nWhen I run the above, my posts/pages all have the absolute staging url in all assets.  Is there a workaround for this?  Or a way we should be building link and assets references?"},"comment":{"url":"https://api.github.com/repos/genesis/wordpress/issues/comments/98381592","html_url":"https://github.com/genesis/wordpress/issues/95#issuecomment-98381592","issue_url":"https://api.github.com/repos/genesis/wordpress/issues/95","id":98381592,"user":{"login":"mcheck","id":196895,"avatar_url":"https://avatars.githubusercontent.com/u/196895?v=3","gravatar_id":"","url":"https://api.github.com/users/mcheck","html_url":"https://github.com/mcheck","followers_url":"https://api.github.com/users/mcheck/followers","following_url":"https://api.github.com/users/mcheck/following{/other_user}","gists_url":"https://api.github.com/users/mcheck/gists{/gist_id}","starred_url":"https://api.github.com/users/mcheck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcheck/subscriptions","organizations_url":"https://api.github.com/users/mcheck/orgs","repos_url":"https://api.github.com/users/mcheck/repos","events_url":"https://api.github.com/users/mcheck/events{/privacy}","received_events_url":"https://api.github.com/users/mcheck/received_events","type":"User","site_admin":false},"created_at":"2015-05-02T17:29:20Z","updated_at":"2015-05-02T17:29:20Z","body":"In Genesis, I implemented my own search-replace using awk, but it does not handle serialized values. So it potentially gets to be a mess.  Works for the most part though.\r\n\r\nIn Evolution, I added a cap task that uses wp-cli to change the values. It works great.  Wp-cli search-replace handles all the serialization too.  Brilliant you guys adding that to the project.  My implementation is kinda hacky, because I couldn't figure out how to get the current name of the stage, and future name of the stage, but it's a good start."}}