• Resolved glouton

    (@glouton)


    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 1 year, 10 months ago by glouton.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @glouton

    Thank you very much for using our plugin and suggestions. We will consider moving the BK folder location.

    Best regards.

    Thread Starter glouton

    (@glouton)

    Hello,

    Thanks for your quick answer and for taking my suggestion into account.

    Please notify me if you do change the location.

    Regards.

    Plugin Author codepeople

    (@codepeople)

    Hello @glouton

    The last plugin update moves the BK folder to the suggested location.

    Best regards.

    Thread Starter glouton

    (@glouton)

    Hello,

    Thank you very much for this very quick change and for notifying me. 🙂

    Best regards,

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘The « calculated-fields-form-bk » directory’ is closed to new replies.