Giter Site home page Giter Site logo

Comments (5)

Thiararapeter avatar Thiararapeter commented on June 11, 2024 1

from plugin-update-checker.

YahnisElsts avatar YahnisElsts commented on June 11, 2024

Verify that your update server returns a download link (i.e. download_url isn't missing or empty). A quick skim of WordPress core code suggests that it won't show this button if there is no download link.

from plugin-update-checker.

MichelleBlanchette avatar MichelleBlanchette commented on June 11, 2024

Yes, I saw the same thing in WordPress Core's source code. However, Debug Bar is showing that I am indeed retrieving a proper download_url field. (see attached)

Have you confirmed this "Install Update Now" button is supported to work via PUC v5, then? Really, I just wanted confirmation from your end that the button does appear in your own testing of PUC v5.

Screenshot 2024-01-07 at 8 27 12 PM

from plugin-update-checker.

YahnisElsts avatar YahnisElsts commented on June 11, 2024

I tested it just now, and it seems to show up fine even in the latest alpha version of WordPress. Here's a couple of screenshots from an example plugin that's using PUC release 5.3:

firefox_2024-01-08_11-17-20

firefox_2024-01-08_11-28-46

(The plugin metadata is old, but the PUC version is new.)

Is there anything unusual going on with how PUC is configured in your case? Maybe a custom slug that doesn't match the slug shown in the Debug Bar? Or modifying the download_url with custom filters?

from plugin-update-checker.

MichelleBlanchette avatar MichelleBlanchette commented on June 11, 2024

Those screenshots are incredibly helpful. Thank you! I don't know of anything unique or special about my implementation, though.

I'll add some deep logging in WordPress Core and see if I can track down what's causing this. I'm not so much concerned about the button not showing as much as it's an indication that there's unexpected behavior happening.

I'll let you know what I find!

from plugin-update-checker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.