You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Labeled and assigned the milestone. Will look at it when I rework this plugin. In the meantime, I added you as collaborator with write access. This project is open for PRs :)
Sidenote: When linking on GitHub, please always press the Y key on your keyboard when looking at code so you link to a static commit to not make links a moving target when code evolves. Thank you!
Oh this happens if you don't do proper testing. This only happens when you edit your own profile. On other users user-edit screens user_id is added and everything works as intended.
...because
$_REQUEST['user_id']
is actually never set therefore this condition always fails.The sad thing also is that the upload itself works, just the linking up with the user is skipped leaving an abandoned upload in the Media Library.
This could probably be fixed with a hidden
user_id
field somewhere here but I haven't thought this through yet...The text was updated successfully, but these errors were encountered: