decentralized-wp / update-server

Update server. This will handle update distribution.
0 stars 0 forks source link

How to implement #1

Open decentralizedwp opened 2 days ago

decentralizedwp commented 2 days ago

It looks like WordPress uses the folder name of plugins and themes to match to a WordPress slug.

We should be able to store a list of plugin and theme slugs on disk, and match the basename of the folder to the associated data.

I don't know how it handles mu-plugins and files like hello.php. I think there must be something on WordPress.orgs side that maps those files?

decentralizedwp commented 2 days ago

WordPress has a Update URL plugin header we can also use. It seems like no plugins have it though

The Text Domain header also seems to often match the plugin slug on WordPress.org.