-
Notifications
You must be signed in to change notification settings - Fork 176
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
WP is looking for plugin icon in the old locattion. #78
Comments
Here are some things to try:
|
Still no luck. --- Debug output. Request Info button. ------------------------- [banners] => stdClass Object --- my custom class ----------------------- class myClass extends Wpup_UpdateServer { --- UpdateServer.php -----------------------
|
I've looked at the relevant code once more, and I noticed a bug: when $serverDirectory uses backslashes as directory separators - which is the default on Windows - the update server may generate incorrect URLs for banner and icons exactly like you've shown above. I just committed a patch that should fix this bug - please give it a try. Note that if you custom class changes $this->serverDirectory = $this->normalizeFilePath($somePath); |
WordPress Updates plugin icon URL points to
.../update-server/icons/plugin-slug-256x256.png
instead of
.../update-server/package-assests/icons/plugin-slug-256x256.png
I have the latest version of both update server and plugin updater. There is a class that extends Wpup_UpdateServer. It's used for license validation. There seems to be nothing related to icons location. Otherwise everything works just fine.
Must be doing something wrong but I don't know what.
The text was updated successfully, but these errors were encountered: