• Resolved David Mondok

    (@davidmondok)


    The plugin saves the path to the custom default avatar in the wp_options table under avatar_privacy_settings. We use deployer which changes the path of the whole WordPress installation after every deploy. So in the DB the file path is saved as /var/www/website/production/releases/43/web/app/uploads/avatar-privacy/custom-default/default-avatar.png but in reality it should be /var/www/website/production/releases/44/web/app/uploads/avatar-privacy/custom-default/default-avatar.png

    Is there any way for us to hook into a filter and do a str_replace so we don’t get broken URLs?

    • This topic was modified 3 years, 5 months ago by David Mondok.
    • This topic was modified 3 years, 5 months ago by David Mondok.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problem with path saved in DB’ is closed to new replies.