wp-sync-db / wp-sync-db-media-files

Sync media libraries between WordPress installations - an addon for wp-sync-db
GNU General Public License v2.0
530 stars 142 forks source link

Image Option doesnt appear in option screen #3

Closed joaodominguez closed 10 years ago

joaodominguez commented 10 years ago

Image Option doesnt appear in option screen with the last version of wp sync db. Can you check ?

I notice that on the last version of wp sync db the name of all files inside class folder are incorrect it should be wpsdb and not wpmdb.

notslang commented 10 years ago

whoops - this extension was never updated after the rename. it should be a pretty simple find/replace

...and so on. If you wanna submit a PR i'd be happy to accept, otherwise I'll get to this this weekend.

tigaszzz commented 10 years ago

Hi,

i'changed the file class/wpmdb-media-files.php at line 491 is where you had that string but it still doesn't work regarding the Image Option. Is this the only thing to do?

tks

notslang commented 10 years ago

nope - it needs to be renamed everywhere

tigaszzz commented 10 years ago

i+ve greped your plugin directory and couldn't find the string "wp-migrate-db" anywhere else....

notslang commented 10 years ago

filenames also need to be changed, and there are probably other words that I'm not thinking of... searching for "migrate" will probably give better results

notslang commented 10 years ago

try it now, using the latest commit... that should do it

notslang commented 10 years ago

Actually, if you're having this issue with version 1.4 of wp-sync-db, the issue probably isn't renaming. The name of v1.4 was never changed to "wp-sync-db", so it would be compatible with the latest release of wp-sync-db-media-files. Just make sure you're not downloading the master branch.

You need to download from https://github.com/wp-sync-db/wp-sync-db-media-files/releases and https://github.com/wp-sync-db/wp-sync-db/releases

tigaszzz commented 10 years ago

now its works tks :+1:

notslang commented 10 years ago

yay! with the latest release of wp-sync-db?

tigaszzz commented 10 years ago

yes :)