YahnisElsts / plugin-update-checker

A custom update checker for WordPress plugins. Useful if you don't want to host your project in the official WP repository, but would still like it to support automatic updates. Despite the name, it also works with themes.
MIT License
2.22k stars 403 forks source link

Hide Link Download #512

Open themefour opened 1 year ago

themefour commented 1 year ago

Hi. After updating the plugins on the page update-core.php?action=do-plugin-upgrade by clicking on "more details" you can see the link/address to download the zip file. I want to hide this address.

Some developers have hidden this address. Please tell me which file to edit?

YahnisElsts commented 1 year ago

I'm not aware of any effective way to hide the URL. You could of course hide the "details" link with CSS or something like that, but this would not stop someone who's familiar with web development from finding the URL.

If you have a plugin that hides the download URL in a secure way, I would also be curious to hear how it does that.

themefour commented 1 year ago

But they use your same library and have hidden the download url only for their plugin! If I write css, it applies to all plugins, even those not with your library.

YahnisElsts commented 1 year ago

Unfortunately, I don't know how they did that. I haven't tried it myself, and I haven't seen how other developers do it.