Plugin Directory

Changeset 3209386


Ignore:
Timestamp:
12/17/2024 05:01:08 PM (14 months ago)
Author:
databasebackup
Message:

version check

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-database-backup/tags/7.4/includes/features.php

    r3209338 r3209386  
    339339  static $wpdbbkp_htaccess_fix = false;
    340340
    341   if (!$wpdbbkp_htaccess_fix && version_compare(WPDB_VERSION, '7.4', '<')) {
     341  if (!$wpdbbkp_htaccess_fix && version_compare(WPDB_VERSION, '7.4', '>=')) {
    342342    $wpdbbkp_htaccess_fix = true;
    343343    $option_name = 'wpdbbkp_htaccess_fix';
     
    358358    // Define the .htaccess content
    359359    $htaccess_content = "
    360 # BEGIN Backup Folder Protection
    361360# Disable public access to this folder
    362361<IfModule mod_authz_core.c>
     
    367366    Deny from all
    368367</IfModule>
    369 
    370 # END Backup Folder Protection
    371368";
    372369
Note: See TracChangeset for help on using the changeset viewer.