strangerstudios / basic-user-avatars

Add an avatar upload field on frontend pages and on the Edit Profile screen so users and admins can manage custom profile pictures without Gravatar.
https://wordpress.org/plugins/basic-user-avatars/
39 stars 34 forks source link

fix #51 :bug: removing action form parameter to submit form to same page #53

Closed amatzin closed 2 years ago

amatzin commented 2 years ago

The get_permalink function not always return the current full url. So, it is safer to remove the action parameter and that way, the form will always submit to the current page

andrewlimaza commented 2 years ago

Thanks for this PR! I have switched to the dev branch as I updated it today (and is now 1:1 to master)

andrewlimaza commented 2 years ago

Resolves issue: #51