Support

Akeeba Backup for WordPress

#28737 – Macros for directories and names

Posted in ‘Akeeba Backup for WordPress’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Monday, 13 November 2017 11:21 CST
assitecno
Hi,
Why the [PLATFORM_VERSION] macro reports the akeeba version instead of the wordpress one?
In Joomla is correctly reported the CMS version.

Thank you

Custom Fields

WordPress version (in x.y.z format) 4.7.7
PHP version (in x.y.z format) 5.6.31
Akeeba Backup version (x.y.z format) 2.4.0
 
Monday, 13 November 2017 12:22 CST
nicholas
Under Joomla!, the backup process runs inside Joomla! no matter if it's a backend backup, frontend backup or a CLI backup. That's because Joomla! provides a native CLI API.

On WordPress, however, the backup process runs inside WordPress only when there's a web server involved, i.e. not during a CLI backup. As a result we do not have any way of reporting the correct WordPress version in CLI backups.

We had three options:

A. Do not provide a CLI backup for WordPress. This doesn't really make much sense. People need the CLI backup far more than they need this variable.

B. Provide inconsistent values in the web-based backup modes (backend, frontend, JSON API) and CLI backups. The latter would have to return a fake version number. We think that'd qualify as a bug because it's so inconsistent and confusing for people.

C. Provide the version of the backup software itself. This is consistent with the way Solo works (where getting the version of the script being backed up is outright impossible). That's what we chose to implement.


Nicholas K. Dionysopoulos

Lead Developer and Director



🇬🇷Greek: native

🇬🇧English: excellent

🇫🇷French: basic



Please keep in mind my timezone and cultural differences when reading my replies. Thank you!



Tuesday, 14 November 2017 02:23 CST
assitecno
Thanks for explanation.
 
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.

Support Information

Working hours: Typically we work Monday to Friday, 9am to 7pm Cyprus timezone (EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets, but we cannot respond to them, outside of our working hours.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!