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
{{ message }}
This repository has been archived by the owner on Oct 13, 2020. It is now read-only.
Got the following issue generated by get_home_path() : https://github.com/humanmade/WPThumb/blob/master/wpthumb.php#L85
As I am under composer the returned ABSPATH is customized /home/clients/aa5c7b1c4826532ba2df6960d2f3404d/web/my-site.fr/public_html/wp/ and will not match /home/clients/aa5c7b1c4826532ba2df6960d2f3404d/web/my-site.fr/public_html/content/uploads/sites/5/2016/06/couv-Rubrique-Regions-ORDI.jpg for replacement.
In getFileURLForFilePath() : https://github.com/humanmade/WPThumb/blob/master/wpthumb.php#L586 home_url() will not return the main domain url but the current blog url. Which for media urls is not good : mysite.fr/inside-pf/16-en/content/uploads/2016/06/couv-Rubrique-Regions-ORDI.jpg unstead of https://bnppp.devbea.fr/content/uploads/sites/5/2016/06/couv-Rubrique-Regions-ORDI.jpg.
Maybe you already have encountered this, but for now I had to hack the plugin.
I am asking you if it's possible to add two filters for possibility to change theses values.
Thank you
The text was updated successfully, but these errors were encountered:
Hig Guys,
First issue of the year ! 🎉 😄
Here is my special config :
Two things to report :
Got the following issue generated by
get_home_path()
: https://github.com/humanmade/WPThumb/blob/master/wpthumb.php#L85As I am under composer the returned
ABSPATH
is customized/home/clients/aa5c7b1c4826532ba2df6960d2f3404d/web/my-site.fr/public_html/wp/
and will not match/home/clients/aa5c7b1c4826532ba2df6960d2f3404d/web/my-site.fr/public_html/content/uploads/sites/5/2016/06/couv-Rubrique-Regions-ORDI.jpg
for replacement.In
getFileURLForFilePath()
: https://github.com/humanmade/WPThumb/blob/master/wpthumb.php#L586home_url()
will not return the main domain url but the current blog url. Which for media urls is not good :mysite.fr/inside-pf/16-en/content/uploads/2016/06/couv-Rubrique-Regions-ORDI.jpg
unstead ofhttps://bnppp.devbea.fr/content/uploads/sites/5/2016/06/couv-Rubrique-Regions-ORDI.jpg
.Maybe you already have encountered this, but for now I had to hack the plugin.
I am asking you if it's possible to add two filters for possibility to change theses values.
Thank you
The text was updated successfully, but these errors were encountered: