Giter Site home page Giter Site logo

Comments (5)

YahnisElsts avatar YahnisElsts commented on June 12, 2024

Here are some ideas:

  • Is there anything interesting/unusual going on with plugin slugs? Special characters in the slug? Using filters to change the slug?
  • Does the correct plugin file name get passed to the update checker? Initialization code in the main plugin file or a different file? Maybe in a different plugin?
  • Anything that would prevent the update checker from running in an AJAX request or an iframe?

from plugin-update-checker.

roguewdesign avatar roguewdesign commented on June 12, 2024

I don't see any issues with the slugs or file path. I have tried a few different settings for those, but can't seem to get it to work.

As Example:
FILE PATH: {absolute-path} 'my-plugin-name/my-plugin-name.php'
SLUG my-plugin-name

I'll look into this further and see if it's an AJAX issue. It was working with version 4 but not 5.

Cheers

from plugin-update-checker.

YahnisElsts avatar YahnisElsts commented on June 12, 2024

What exactly do you mean by: "{absolute-path} 'my-plugin-name/my-plugin-name.php'"? That looks like a relative path, not like a valid example of an absolute path. You don't need to post the actual code here, but are you sure that you're passing the correct, full path to the update checker?

from plugin-update-checker.

roguewdesign avatar roguewdesign commented on June 12, 2024

The directory path to the file. It is correct and verified. (/home/usr/public/website-folder.../etc...) as an example.

from plugin-update-checker.

YahnisElsts avatar YahnisElsts commented on June 12, 2024

Some more ideas:

  • Deactivate all other plugins to check for plugin conflicts.
  • Does the "check for updates" link work, or does it also show an error of some kind?
  • When you look at the URL of the "view details" link, does it show the correct plugin slug/directory? The URL usually looks something like this:
    .../wp-admin/plugin-install.php?tab=plugin-information&plugin=your-plugin-here&TB_iframe=true&...
  • Install the Debug Bar plugin and look at the "PUC (your-plugin-slug)" panel. Does everything look correct there? Do the "Request Info" and "Check Now" buttons work without errors?
  • Turn on WP_DEBUG and see if any errors/warnings/notices show up.

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.