Include version in download url
-
Hi,
currently the download button points to https://downloads.wp.xz.cn/plugin/cf7-grid-layout.zipTherefore the link never changes when a new version has been released.
Using https://wpackagist.org this leads to problems as package information includes this as download link:
{ "name": "wpackagist-plugin/cf7-grid-layout", "version": "4.13.0", "source": { "type": "svn", "url": "https://plugins.svn.ww.wp.xz.cn/cf7-grid-layout/", "reference": "trunk" }, "dist": { "type": "zip", "url": "https://downloads.wp.xz.cn/plugin/cf7-grid-layout.zip?timestamp=1653228166" }, "require": { "composer/installers": "^1.0 || ^2.0" }, "type": "wordpress-plugin", "homepage": "https://ww.wp.xz.cn/plugins/cf7-grid-layout/" },So e. g. if I want to install version 4.13.0 I still get the current version (e. g. 4.14.1) which shouldn’t be the case.
Therefore is it possible to change the download link structure?
CF7 for example (besides many other plugins) already uses versioned links:
https://ww.wp.xz.cn/plugins/contact-form-7/
https://downloads.wp.xz.cn/plugin/contact-form-7.5.6.3.zipBest
Pluspol
The topic ‘Include version in download url’ is closed to new replies.