Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All Posts Have admin As The Author #30

Open
warren5236 opened this issue Sep 9, 2013 · 1 comment
Open

All Posts Have admin As The Author #30

warren5236 opened this issue Sep 9, 2013 · 1 comment

Comments

@warren5236
Copy link

When I sync a post the author gets reset to the admin user. If I manually change it in the wp-admin interface it and then sync again from Platen it resets back to admin instead of my username.

@bitbonsai
Copy link

I found where is the issue, but don't know enough to fix it... the problem is on scripts/models/Post.js, on line 26:

data.wordPressId = 0;

The user 0 (admin) is hardcoded. I usually delete admin from my wp, so can't use Platen. On a fresh install, it works flawlessly.

As far as I can see, I'd have to upload the whole changed thing to be able to test the solution, if the author could add some tips on how to install the app without having to upload, I'd appreciate that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants