Plugin Directory

Changeset 655439


Ignore:
Timestamp:
01/19/2013 10:03:01 PM (13 years ago)
Author:
fabifott
Message:

WP-Filebase 0.2.9.33

  • New Option: Search Result Template
  • Added complete un-install (Button located at WP-Filebase dashboard bottom)
  • Fixed download URLs for file names containing '
  • Files added with multi uploader are added directly after upload finished
  • File Form: Licenses are hidden if none specified in Settings
Location:
wp-filebase
Files:
274 added
1 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • wp-filebase/trunk/classes/Admin.php

    r655420 r655439  
    3636   
    3737    $list_tpls = array_keys(wpfb_call('ListTpl','GetAll'));
    38     $list_tpls = array_combine($list_tpls, $list_tpls);
     38    $list_tpls = empty($list_tpls) ? array() : array_combine($list_tpls, $list_tpls);
    3939    return array (
    4040   
  • wp-filebase/trunk/classes/ListTpl.php

    r655420 r655439  
    2020    static function GetAll() {
    2121        $tpls = get_option(WPFB_OPT_NAME.'_list_tpls');
     22        if(empty($tpls)) return array();
    2223        foreach($tpls as $tag => $tpl)
    2324            $tpls[$tag] = new WPFB_ListTpl($tag, $tpl);
  • wp-filebase/trunk/classes/Setup.php

    r655420 r655439  
    561561    if (!wp_next_scheduled(WPFB.'_cron'))   
    562562        wp_schedule_event(time(), 'hourly', WPFB.'_cron'); 
    563     if(!get_option('wpfb_install_time')) add_option('wpfb_install_time', (($ft=(int)mysql2date('U',$wpdb->get_var("SELECT file_mtime FROM $wpdb->wpfilebase_files ORDER BY file_date ASC LIMIT 1")))>0)?$ft:time(), null, 'no');
     563    if(!get_option('wpfb_install_time')) add_option('wpfb_install_time', (($ft=(int)mysql2date('U',$wpdb->get_var("SELECT file_mtime FROM $wpdb->wpfilebase_files ORDER BY file_mtime ASC LIMIT 1")))>0)?$ft:time(), null, 'no');
    564564   
    565565}
  • wp-filebase/trunk/readme.txt

    r655420 r655439  
    55Requires at least: 3.1
    66Tested up to: 3.5
    7 Stable tag: 0.2.9.32
     7Stable tag: 0.2.9.33
    88
    99Adds a powerful download manager including file categories, downloads counter, widgets, sorted file lists and more to your WordPress blog.
     
    114114== Changelog ==
    115115
    116 = 0.2.9.32 =
     116= 0.2.9.33 =
    117117* New Option: Search Result Template
    118118* Added complete un-install (Button located at WP-Filebase dashboard bottom)
  • wp-filebase/trunk/wp-filebase.php

    r655420 r655439  
    55Description: Adds a powerful downloads manager supporting file categories, download counter, widgets, sorted file lists and more to your WordPress blog.
    66Author: Fabian Schlieper
    7 Version: 0.2.9.32
     7Version: 0.2.9.33
    88Author URI: http://wpfilebase.com/
    99*/
     
    1212{
    1313    define('WPFB', 'wpfb');
    14     define('WPFB_VERSION', '0.2.9.32');
     14    define('WPFB_VERSION', '0.2.9.33');
    1515    define('WPFB_PLUGIN_ROOT', str_replace('\\','/',dirname(__FILE__)).'/');
    1616    if(!defined('ABSPATH')) {
Note: See TracChangeset for help on using the changeset viewer.