The « calculated-fields-form-bk » directory

[ad_1]

Hi there,

Running a « git status » I just discovered « calculated-fields-form-bk » directory.
It’s created by your plugin :
wp-content/plugins/calculated-fields-form/inc/cpcff_install_uninstall.inc.php:24: private static $bk_directory = 'calculated-fields-form-bk';

It seems to be used only for settings backup.
It contains only a .htacess to deny from all and JSON files like wp_cp_calculated_fields_form_settings_2024_08_05_14_38_42_66b0e3f2266f71.75870190.json
and I guess « bk » stands for backups.

My question is, why is this backup folder created inside « wp-content/plugins/ » ?
In my humble opinion it’s quite out of place here and something like « wp-content/backups » seems more suitable.

For people like me tracking files with Git and deploying with Capistrano to multiple environments, it’s quite a surprise to discover this directory that shouldn’t be neither tracked nor deployed.

Regards,
Charles

  • This topic was modified 27 minutes ago by glouton.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer