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

Conflict - File Field, All in One SEO, user profile page. #214

Open
kimwhite opened this issue Jul 6, 2021 · 0 comments
Open

Conflict - File Field, All in One SEO, user profile page. #214

kimwhite opened this issue Jul 6, 2021 · 0 comments

Comments

@kimwhite
Copy link

kimwhite commented Jul 6, 2021

Describe the bug
When a user has created the “file” field type for uploading Avatars, images, or documents,
and All in One SEO enabled, and the user uploads or changes image on their "edit profile page".
(This did not happen when fields were on the checkout page)

When user uploads their image/doc the document is created in the \wp-content\uploads\pmpro-register-helper\username folder. But the link on the front end appends a number.

*One user reported that the original image was not saved to the directory. disabling All in One SEO fix this.
I can not replicate.

To Reproduce

  1. Add a "file" field to your RH customization.
  2. Install and enable All in One SEO
  3. Upload an image or file from the edit user profile on the frontend.
  4. Link broken on site

Screenshots
seo-wrong-file-name
seo-wrong-path
seo-files-in-directory

Expected behavior
Image name should stay the same or link to the smaller version created by WordPress.

WordPress Environment
RH 1.7 WP 5.7.2, PHP 7.41 and 8

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

No branches or pull requests

2 participants