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.26k stars 410 forks source link

how the correct structure of files on repository? #382

Closed madeinnordeste closed 4 years ago

madeinnordeste commented 4 years ago

I'm learning how to update plugins, but have a question. How the correct structure files of plugin on repository:

repository A:

- readme.txt
- my-plugin.php

repository B:

-  my-plugin/
        - readme.txt
        - my-plugin.php

Thanks a lot

YahnisElsts commented 4 years ago

Option A is the correct choice for this update checker. It currently doesn't support option B.

madeinnordeste commented 4 years ago

Option A is the correct choice for this update checker. It currently doesn't support option B.

Thanks @YahnisElsts !