Skip to content
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

Problem with getting data about updated plugin #25

Open
petrokrupenia opened this issue Jun 28, 2023 · 3 comments
Open

Problem with getting data about updated plugin #25

petrokrupenia opened this issue Jun 28, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@petrokrupenia
Copy link

Describe the bug

We use your service for WordPress plugin updates. However, there was a problem - the plugin does not receive all the necessary data. Pay attention to the screenshot:

Знімок екрана 2023-06-28 о 13 42 11

This is the result returned by the request() method from your integration example (https://github.com/Make-Lemonade/lemonsqueezy-wp-updater-example/blob/main/includes/class-plugin-updater.php)

As you can see "tested", "requires", "requires_php", "last_updated" are missing. Also, information about the author is incorrectly indicated and it is not at all clear where the information in "sections" comes from.

Accordingly, this is what information about the updated plugin looks like:
Знімок екрана 2023-06-28 о 13 49 48

Знімок екрана 2023-06-28 о 13 47 57

Знімок екрана 2023-06-28 о 13 48 09

In our plugin, these data are indicated (both in local versions and in the archive, which is uploaded as a new version in the LS account):

main plugin file
Знімок екрана 2023-06-28 о 13 53 23

readme.txt
Знімок екрана 2023-06-28 о 13 54 18

Did we do something wrong? If so, please explain how and where you need to specify the data so that everything works correctly. Also explain how to set images for the plugin, since the uploaded images for the product are not displayed in the LS account

Software (please complete the following information):

  • Plugin version: [1.2.2]
  • WordPress version: [6.2.1/6.2.2]
  • PHP version: [7.4/8.1]
  • Browser: [Chrome/Safari]
@petrokrupenia petrokrupenia added the bug Something isn't working label Jun 28, 2023
@flowdee
Copy link

flowdee commented Jun 28, 2023

+1

@petrokrupenia
Copy link
Author

@gilbitron are there some updates about the issue?

@Tropicalista
Copy link

Tropicalista commented Aug 23, 2023

This is happening because is hardcoded here. Probably should be added a filter to maage some property of the response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants