Plugin Directory

Changeset 3294467


Ignore:
Timestamp:
05/16/2025 01:50:27 AM (11 months ago)
Author:
GamerZ
Message:

Deploying wp-downloadmanager from GitHub

Location:
wp-downloadmanager/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • wp-downloadmanager/trunk/download-options.php

    r2673301 r3294467  
    3838    }
    3939    $download_options = array('use_filename' => $download_options_use_filename, 'rss_sortby' => $download_options_rss_sortby, 'rss_limit' => $download_options_rss_limit);
     40   
     41    // Validate
     42    if ( substr( $download_path, 0, strlen( WP_CONTENT_DIR ) ) !== WP_CONTENT_DIR ) {
     43        $download_path = WP_CONTENT_DIR;
     44    }
     45   
    4046    $update_download_queries = array();
    4147    $update_download_text = array();
     
    100106             <tr valign="top">
    101107                <th><?php _e('Download Path:', 'wp-downloadmanager'); ?></th>
    102                 <td><input type="text" name="download_path" value="<?php echo esc_attr( removeslashes( get_option( 'download_path' ) ) ); ?>" size="50" dir="ltr" /><br /><?php _e('The absolute path to the directory where all the files are stored (without trailing slash).', 'wp-downloadmanager'); ?></td>
     108                <td><input type="text" name="download_path" value="<?php echo esc_attr( removeslashes( get_option( 'download_path' ) ) ); ?>" size="50" dir="ltr" /><br /><?php _e('The absolute path to the directory where all the files are stored (without trailing slash).', 'wp-downloadmanager'); ?><br /><?php printf( __('Due to security reasons, the path has to start inside your wp-content folder, which is %s', 'wp-downloadmanager' ), WP_CONTENT_DIR ); ?></td>
    103109            </tr>
    104110             <tr valign="top">
  • wp-downloadmanager/trunk/readme.txt

    r3254388 r3294467  
    44Tags: file, files, download, downloads, manager, downloadmanager, downloadsmanager, filemanager, filesmanager 
    55Requires at least: 4.0 
    6 Tested up to: 6.7 
    7 Stable tag: 1.68.10 
     6Tested up to: 6.8 
     7Stable tag: 1.68.11 
    88License: GPLv2 
    99
     
    44441. The widget name is `Downloads`.
    4545
    46 ### Build Status
    47 [![Build Status](https://travis-ci.org/lesterchan/wp-downloadmanager.svg?branch=master)](https://travis-ci.org/lesterchan/wp-downloadmanager)
    48 
    4946### Development
    5047* [https://github.com/lesterchan/wp-downloadmanager](https://github.com/lesterchan/wp-downloadmanager "https://github.com/lesterchan/wp-downloadmanager")
     
    6259
    6360## Changelog
     61### Version 1.68.11
     62* FIXED: Ensure that Download Path starts only with your wp-content folder for additional security.
     63
     64### Version 1.68.10
    6465* FIXED: Allow form in Download Page Footer template.
    6566
  • wp-downloadmanager/trunk/wp-downloadmanager.php

    r3254388 r3294467  
    44Plugin URI: https://lesterchan.net/portfolio/programming/php/
    55Description: Adds a simple download manager to your WordPress blog.
    6 Version: 1.68.10
     6Version: 1.68.11
    77Author: Lester 'GaMerZ' Chan
    88Author URI: https://lesterchan.net
     
    3131
    3232### Version
    33 define( 'WP_DOWNLOADMANAGER_VERSION', '1.68.10' );
     33define( 'WP_DOWNLOADMANAGER_VERSION', '1.68.11' );
    3434
    3535### Create text domain for translations
Note: See TracChangeset for help on using the changeset viewer.