Plugin Directory

Changeset 986500


Ignore:
Timestamp:
09/10/2014 02:38:59 PM (11 years ago)
Author:
webdorado
Message:

bug fixed

Location:
photo-gallery
Files:
435 added
15 edited

Legend:

Unmodified
Added
Removed
  • photo-gallery/trunk/admin/views/BWGViewBWGShortcode.php

    r975728 r986500  
    193193                        <option value="alt">Title</option>
    194194                        <option value="date">Date</option>
     195                        <option value="filename">Filename</option>
    195196                        <option value="size">Size</option>
    196197                        <option value="filetype">Type</option>
  • photo-gallery/trunk/filemanager/controller.php

    r945008 r986500  
    4545
    4646    public function execute() {
    47       $task = isset($_REQUEST['task']) ? stripslashes($_REQUEST['task']) : 'display';
     47      $task = isset($_REQUEST['task']) ? stripslashes(esc_html($_REQUEST['task'])) : 'display';
    4848      if (method_exists($this, $task)) {
    4949        $this->$task();
     
    7272
    7373    public function make_dir() {
    74       $input_dir = (isset($_REQUEST['dir']) ? stripslashes($_REQUEST['dir']) : '');
     74      $input_dir = (isset($_REQUEST['dir']) ? stripslashes(esc_html($_REQUEST['dir'])) : '');
    7575      $cur_dir_path = $input_dir == '' ? $this->uploads_dir : $this->uploads_dir . '/' . $input_dir;
    7676
    77       $new_dir_path = $cur_dir_path . '/' . (isset($_REQUEST['new_dir_name']) ? stripslashes($_REQUEST['new_dir_name']) : '');
     77      $new_dir_path = $cur_dir_path . '/' . (isset($_REQUEST['new_dir_name']) ? stripslashes(esc_html($_REQUEST['new_dir_name'])) : '');
    7878
    7979      $msg = '';
     
    8484        mkdir($new_dir_path);
    8585      }
    86       header('Location: ' . add_query_arg(array('action' => 'addImages', 'filemanager_msg' => $msg, 'width' => '650', 'height' => '500', 'task' => 'display', 'extensions' => $_REQUEST['extensions'], 'callback' => $_REQUEST['callback'], 'dir' => $_REQUEST['dir'], 'TB_iframe' => '1'), admin_url('admin-ajax.php')));
     86      header('Location: ' . add_query_arg(array('action' => 'addImages', 'filemanager_msg' => $msg, 'width' => '650', 'height' => '500', 'task' => 'display', 'extensions' => esc_html($_REQUEST['extensions']), 'callback' => esc_html($_REQUEST['callback']), 'dir' => esc_html($_REQUEST['dir']), 'TB_iframe' => '1'), admin_url('admin-ajax.php')));
    8787      exit;
    8888    }
    8989
    9090    public function rename_item() {
    91       $input_dir = (isset($_REQUEST['dir']) ? stripslashes($_REQUEST['dir']) : '');
     91      $input_dir = (isset($_REQUEST['dir']) ? stripslashes(esc_html($_REQUEST['dir'])) : '');
    9292      $cur_dir_path = $input_dir == '' ? $this->uploads_dir : $this->uploads_dir . '/' . $input_dir;
    9393      $cur_dir_path = htmlspecialchars_decode($cur_dir_path, ENT_COMPAT | ENT_QUOTES);
    9494
    95       $file_names = explode('**#**', (isset($_REQUEST['file_names']) ? stripslashes($_REQUEST['file_names']) : ''));
     95      $file_names = explode('**#**', (isset($_REQUEST['file_names']) ? stripslashes(esc_html($_REQUEST['file_names'])) : ''));
    9696      $file_name = $file_names[0];
    9797      $file_name = htmlspecialchars_decode($file_name, ENT_COMPAT | ENT_QUOTES);
    9898
    99       $file_new_name = (isset($_REQUEST['file_new_name']) ? stripslashes($_REQUEST['file_new_name']) : '');
     99      $file_new_name = (isset($_REQUEST['file_new_name']) ? stripslashes(esc_html($_REQUEST['file_new_name'])) : '');
    100100
    101101      $file_path = $cur_dir_path . '/' . $file_name;
     
    124124      }
    125125      $_REQUEST['file_names'] = '';
    126       header('Location: ' . add_query_arg(array('action' => 'addImages', 'filemanager_msg' => $msg, 'width' => '650', 'height' => '500', 'task' => 'display', 'extensions' => $_REQUEST['extensions'], 'callback' => $_REQUEST['callback'], 'dir' => $_REQUEST['dir'], 'TB_iframe' => '1'), admin_url('admin-ajax.php')));
     126      header('Location: ' . add_query_arg(array('action' => 'addImages', 'filemanager_msg' => $msg, 'width' => '650', 'height' => '500', 'task' => 'display', 'extensions' => esc_html($_REQUEST['extensions']), 'callback' => esc_html($_REQUEST['callback']), 'dir' => esc_html($_REQUEST['dir']), 'TB_iframe' => '1'), admin_url('admin-ajax.php')));
    127127      exit;
    128128    }
    129129
    130130    public function remove_items() {
    131       $input_dir = (isset($_REQUEST['dir']) ? stripslashes($_REQUEST['dir']) : '');
     131      $input_dir = (isset($_REQUEST['dir']) ? stripslashes(esc_html($_REQUEST['dir'])) : '');
    132132      $cur_dir_path = $input_dir == '' ? $this->uploads_dir : $this->uploads_dir . '/' . $input_dir;
    133133      $cur_dir_path = htmlspecialchars_decode($cur_dir_path, ENT_COMPAT | ENT_QUOTES);
    134134
    135       $file_names = explode('**#**', (isset($_REQUEST['file_names']) ? stripslashes($_REQUEST['file_names']) : ''));
     135      $file_names = explode('**#**', (isset($_REQUEST['file_names']) ? stripslashes(esc_html($_REQUEST['file_names'])) : ''));
    136136
    137137      $msg = '';
     
    155155      }
    156156      $_REQUEST['file_names'] = '';
    157       header('Location: ' . add_query_arg(array('action' => 'addImages', 'filemanager_msg' => $msg, 'width' => '650', 'height' => '500', 'task' => 'show_file_manager', 'extensions' => $_REQUEST['extensions'], 'callback' => $_REQUEST['callback'], 'dir' => $_REQUEST['dir'], 'TB_iframe' => '1'), admin_url('admin-ajax.php')));
     157      header('Location: ' . add_query_arg(array('action' => 'addImages', 'filemanager_msg' => $msg, 'width' => '650', 'height' => '500', 'task' => 'show_file_manager', 'extensions' => esc_html($_REQUEST['extensions']), 'callback' => esc_html($_REQUEST['callback']), 'dir' => esc_html($_REQUEST['dir']), 'TB_iframe' => '1'), admin_url('admin-ajax.php')));
    158158      exit;
    159159    }
     
    245245          break;
    246246      }
    247       header('Location: ' . add_query_arg(array('action' => 'addImages', 'filemanager_msg' => $msg, 'width' => '650', 'height' => '500', 'task' => 'show_file_manager', 'extensions' => $_REQUEST['extensions'], 'callback' => $_REQUEST['callback'], 'dir' => $_REQUEST['dir'], 'TB_iframe' => '1'), admin_url('admin-ajax.php')));
     247      header('Location: ' . add_query_arg(array('action' => 'addImages', 'filemanager_msg' => $msg, 'width' => '650', 'height' => '500', 'task' => 'show_file_manager', 'extensions' => esc_html($_REQUEST['extensions']), 'callback' => esc_html($_REQUEST['callback']), 'dir' => esc_html($_REQUEST['dir']), 'TB_iframe' => '1'), admin_url('admin-ajax.php')));
    248248      exit;
    249249    }
    250250
    251251    public function import_items() {
    252       header('Location: ' . add_query_arg(array('action' => 'bwg_UploadHandler', 'importer_thumb_width' => $_REQUEST['importer_thumb_width'], 'importer_thumb_height' => $_REQUEST['importer_thumb_height'], 'callback' => $_REQUEST['callback'], 'file_namesML' => $_REQUEST['file_namesML'], 'import' => 'true', 'redir' => $_REQUEST['dir'], 'dir' => $this->get_uploads_dir() . '/' . $_REQUEST['dir'] . '/'), admin_url('admin-ajax.php')));
     252      header('Location: ' . add_query_arg(array('action' => 'bwg_UploadHandler', 'importer_thumb_width' => esc_html($_REQUEST['importer_thumb_width']), 'importer_thumb_height' => esc_html($_REQUEST['importer_thumb_height']), 'callback' => esc_html($_REQUEST['callback']), 'file_namesML' => esc_html($_REQUEST['file_namesML']), 'import' => 'true', 'redir' => esc_html($_REQUEST['dir']), 'dir' => $this->get_uploads_dir() . '/' . esc_html($_REQUEST['dir']) . '/'), admin_url('admin-ajax.php')));
    253253      exit;
    254254    }
  • photo-gallery/trunk/filemanager/model.php

    r975728 r986500  
    4646      $data['session_data'] = $session_data;
    4747      $data['path_components'] = $this->get_path_components();
    48       $data['dir'] = (isset($_REQUEST['dir']) ? $_REQUEST['dir'] : '');
     48      $data['dir'] = (isset($_REQUEST['dir']) ? esc_html($_REQUEST['dir']) : '');
    4949      $data['files'] = $this->get_files($session_data['sort_by'], $session_data['sort_order']);
    5050      $data['media_library_files'] = ($this->controller->get_options_data()->enable_ML_import ? $this->get_media_library_files($session_data['sort_by'], $session_data['sort_order']) : array());
    51       $data['extensions'] = (isset($_REQUEST['extensions']) ? $_REQUEST['extensions'] : '');
    52       $data['callback'] = (isset($_REQUEST['callback']) ? $_REQUEST['callback'] : '');
     51      $data['extensions'] = (isset($_REQUEST['extensions']) ? esc_html($_REQUEST['extensions']) : '');
     52      $data['callback'] = (isset($_REQUEST['callback']) ? esc_html($_REQUEST['callback']) : '');
    5353
    5454      return $data;
     
    106106      $icons_dir_path = WD_BWG_DIR . '/filemanager/images/file_icons';
    107107      $icons_dir_url = WD_BWG_URL . '/filemanager/images/file_icons';
    108       $valid_types = explode(',', isset($_REQUEST['extensions']) ? strtolower($_REQUEST['extensions']) : '*');
    109       $parent_dir = $this->controller->get_uploads_dir() . (isset($_REQUEST['dir']) ? '/' . $_REQUEST['dir'] : '');
    110       $parent_dir_url = $this->controller->get_uploads_url() . (isset($_REQUEST['dir']) ? '/' . $_REQUEST['dir'] : '');
     108      $valid_types = explode(',', isset($_REQUEST['extensions']) ? strtolower(esc_html($_REQUEST['extensions'])) : '*');
     109      $parent_dir = $this->controller->get_uploads_dir() . (isset($_REQUEST['dir']) ? '/' . esc_html($_REQUEST['dir']) : '');
     110      $parent_dir_url = $this->controller->get_uploads_url() . (isset($_REQUEST['dir']) ? '/' . esc_html($_REQUEST['dir']) : '');
    111111
    112112
     
    166166      $icons_dir_path = WD_BWG_DIR . '/filemanager/images/file_icons';
    167167      $icons_dir_url = WD_BWG_URL . '/filemanager/images/file_icons';
    168       $valid_types = explode(',', isset($_REQUEST['extensions']) ? strtolower($_REQUEST['extensions']) : '*');
     168      $valid_types = explode(',', isset($_REQUEST['extensions']) ? strtolower(esc_html($_REQUEST['extensions'])) : '*');
    169169      $upload_dir = wp_upload_dir();
    170170      $parent_dir = $upload_dir['basedir'];
  • photo-gallery/trunk/filemanager/view.php

    r945008 r986500  
    7171
    7272        var root = "<?php echo addslashes($this->controller->get_uploads_dir()); ?>";
    73         var dir = "<?php echo (isset($_REQUEST['dir']) ? addslashes($_REQUEST['dir']) : ''); ?>";
    74         var dirUrl = "<?php echo $this->controller->get_uploads_url() . (isset($_REQUEST['dir']) ? $_REQUEST['dir'] . '/' : ''); ?>";
    75         var callback = "<?php echo (isset($_REQUEST['callback']) ? $_REQUEST['callback'] : ''); ?>";
     73        var dir = "<?php echo (isset($_REQUEST['dir']) ? addslashes(esc_html($_REQUEST['dir'])) : ''); ?>";
     74        var dirUrl = "<?php echo $this->controller->get_uploads_url() . (isset($_REQUEST['dir']) ? esc_html($_REQUEST['dir']) . '/' : ''); ?>";
     75        var callback = "<?php echo (isset($_REQUEST['callback']) ? esc_html($_REQUEST['callback']) : ''); ?>";
    7676        var sortBy = "<?php echo $sort_by; ?>";
    7777        var sortOrder = "<?php echo $sort_order; ?>";
     
    340340                <div id="btnBrowseContainer">
    341341                  <input id="jQueryUploader" type="file" name="files[]"
    342                          data-url="<?php echo add_query_arg(array('action' => 'bwg_UploadHandler', 'dir' => $this->controller->get_uploads_dir() . '/' . (isset($_REQUEST['dir']) ? $_REQUEST['dir'] : '') . '/'), admin_url('admin-ajax.php')); ?>"
     342                         data-url="<?php echo add_query_arg(array('action' => 'bwg_UploadHandler', 'dir' => $this->controller->get_uploads_dir() . '/' . (isset($_REQUEST['dir']) ? esc_html($_REQUEST['dir']) : '') . '/'), admin_url('admin-ajax.php')); ?>"
    343343                         multiple>
    344344                </div>
     
    403403
    404404        <input type="hidden" name="task" value="">
    405         <input type="hidden" name="extensions" value="<?php echo (isset($_REQUEST['extensions']) ? $_REQUEST['extensions'] : '*'); ?>">
    406         <input type="hidden" name="callback" value="<?php echo (isset($_REQUEST['callback']) ? $_REQUEST['callback'] : ''); ?>">
     405        <input type="hidden" name="extensions" value="<?php echo (isset($_REQUEST['extensions']) ? esc_html($_REQUEST['extensions']) : '*'); ?>">
     406        <input type="hidden" name="callback" value="<?php echo (isset($_REQUEST['callback']) ? esc_html($_REQUEST['callback']) : ''); ?>">
    407407        <input type="hidden" name="sort_by" value="<?php echo $sort_by; ?>">
    408408        <input type="hidden" name="sort_order" value="<?php echo $sort_order; ?>">
    409409        <input type="hidden" name="items_view" value="<?php echo $items_view; ?>">
    410         <input type="hidden" name="dir" value="<?php echo (isset($_REQUEST['dir']) ? $_REQUEST['dir'] : ''); ?>"/>
     410        <input type="hidden" name="dir" value="<?php echo (isset($_REQUEST['dir']) ? esc_html($_REQUEST['dir']) : ''); ?>"/>
    411411        <input type="hidden" name="file_names" value=""/>
    412412        <input type="hidden" name="file_namesML" value=""/>
  • photo-gallery/trunk/frontend/models/BWGModelGalleryBox.php

    r923730 r986500  
    4444  public function get_image_rows_data($gallery_id, $sort_by, $order_by = 'asc') {
    4545    global $wpdb;
    46     if ($sort_by == 'size' || $sort_by == 'resolution') {
     46    if ($sort_by == 'size' || $sort_by == 'resolution' || $sort_by == 'filename') {
    4747      $sort_by = ' CAST(t1.' . $sort_by . ' AS SIGNED) ';
    4848    }
  • photo-gallery/trunk/frontend/models/BWGModelImage_browser.php

    r910582 r986500  
    4040      $where = '';
    4141    }
    42     if ($sort_by == 'size' || $sort_by == 'resolution') {
     42    if ($sort_by == 'size' || $sort_by == 'resolution' || $sort_by == 'filename') {
    4343      $sort_by = ' CAST(' . $sort_by . ' AS SIGNED) ';
    4444    }
  • photo-gallery/trunk/frontend/models/BWGModelSlideshow.php

    r899555 r986500  
    3838  public function get_image_rows_data($id, $sort_by, $order_by = 'asc', $bwg) {
    3939    global $wpdb;
    40     if ($sort_by == 'size' || $sort_by == 'resolution') {
     40    if ($sort_by == 'size' || $sort_by == 'resolution' || $sort_by == 'filename') {
    4141      $sort_by = ' CAST(' . $sort_by . ' AS SIGNED) ';
    4242    }
  • photo-gallery/trunk/frontend/models/BWGModelThumbnails.php

    r966403 r986500  
    5555      }
    5656    }
    57     if ($sort_by == 'size' || $sort_by == 'resolution') {
     57    if ($sort_by == 'size' || $sort_by == 'resolution' || $sort_by == 'filename') {
    5858      $sort_by = ' CAST(' . $sort_by . ' AS SIGNED) ';
    5959    }
     
    7474    }
    7575    if($type == 'tag') {
    76       $row = $wpdb->get_results($wpdb->prepare('SELECT image.* FROM ' . $wpdb->prefix . 'bwg_image as image INNER JOIN ' . $wpdb->prefix . 'bwg_image_tag as tag ON image.id=tag.image_id WHERE image.published=1 ' . $where . ' AND tag.tag_id="%d" ORDER BY ' . $sort_by . ' ' . $sort_direction . ' ' . $limit_str, $id));     
     76      $row = $wpdb->get_results($wpdb->prepare('SELECT image.* FROM ' . $wpdb->prefix . 'bwg_image as image INNER JOIN ' . $wpdb->prefix . 'bwg_image_tag as tag ON image.id=tag.image_id WHERE image.published=1 ' . $where . ' AND tag.tag_id="%d" ORDER BY ' . $sort_by . ' ' . $sort_direction . ' ' . $limit_str, $id));
    7777    }
    7878    else {
  • photo-gallery/trunk/frontend/views/BWGViewAlbum_compact_preview.php

    r975728 r986500  
    570570                  if ($type != 'gallery') {
    571571                    ?>
    572                     <a style="font-size: 0;" <?php echo ($from !== "widget" ? "onclick=\"spider_frontend_ajax('gal_front_form_" . $bwg . "', '" . $bwg . "', 'bwg_album_compact_" . $bwg . "', '" . $album_galallery_row->alb_gal_id . "', '" . $album_gallery_id . "', '" . $def_type . "', '', '" . $title . "')\"" : "href='" . $permalink . "'") ?>>
     572                    <a style="font-size: 0;" <?php echo ($from !== "widget" ? "onclick=\"spider_frontend_ajax('gal_front_form_" . $bwg . "', '" . $bwg . "', 'bwg_album_compact_" . $bwg . "', '" . $album_galallery_row->alb_gal_id . "', '" . $album_gallery_id . "', '" . $def_type . "', '', '" . htmlspecialchars(addslashes($title)) . "')\"" : "href='" . $permalink . "'") ?>>
    573573                      <span class="bwg_album_thumb_<?php echo $bwg; ?>">
    574574                        <?php
  • photo-gallery/trunk/frontend/views/BWGViewAlbum_extended_preview.php

    r975728 r986500  
    546546                    <div class="bwg_album_extended_div_<?php echo $bwg; ?>">
    547547                      <div class="bwg_album_extended_thumb_div_<?php echo $bwg; ?>">
    548                         <a style="font-size: 0;" onclick="spider_frontend_ajax('gal_front_form_<?php echo $bwg; ?>', '<?php echo $bwg; ?>', 'bwg_album_extended_<?php echo $bwg; ?>', '<?php echo $album_galallery_row->alb_gal_id; ?>', '<?php echo $album_gallery_id; ?>', '<?php echo $def_type; ?>', '', '<?php echo $title; ?>')">
     548                        <a style="font-size: 0;" onclick="spider_frontend_ajax('gal_front_form_<?php echo $bwg; ?>', '<?php echo $bwg; ?>', 'bwg_album_extended_<?php echo $bwg; ?>', '<?php echo $album_galallery_row->alb_gal_id; ?>', '<?php echo $album_gallery_id; ?>', '<?php echo $def_type; ?>', '', '<?php echo htmlspecialchars(addslashes($title)); ?>')">
    549549                          <span class="bwg_album_thumb_<?php echo $bwg; ?>" style="height:inherit;">
    550550                            <span class="bwg_album_thumb_spun1_<?php echo $bwg; ?>">
  • photo-gallery/trunk/frontend/views/BWGViewGalleryBox.php

    r975728 r986500  
    724724                    display: none;
    725725                }
     726        .bwg_image_title,
     727        .bwg_image_title * {
     728                    font-size: 12px;
     729                }
     730        .bwg_image_description,
     731        .bwg_image_description * {
     732                    font-size: 10px;
     733                }
    726734            }
    727735      .bwg_image_count_container {
  • photo-gallery/trunk/frontend/views/BWGViewSlideshow.php

    r975728 r986500  
    928928          opacity : 1,
    929929          filter: 'Alpha(opacity=100)',
     930          zIndex: 2,
    930931          backfaceVisibility : 'hidden',
    931932          transform : 'translateY(' + nty + 'px) translateX(' + ntx + 'px) rotateY('+ nry +'deg) rotateX('+ nrx +'deg)'
  • photo-gallery/trunk/photo-gallery.php

    r975728 r986500  
    55 * Plugin URI: http://web-dorado.com/products/wordpress-photo-gallery-plugin.html
    66 * Description: This plugin is a fully responsive gallery plugin with advanced functionality.  It allows having different image galleries for your posts and pages. You can create unlimited number of galleries, combine them into albums, and provide descriptions and tags.
    7  * Version: 1.1.30
     7 * Version: 1.1.31
    88 * Author: http://web-dorado.com/
    99 * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
     
    101101
    102102function bwg_filemanager_ajax() {
     103  if (function_exists('current_user_can')) {
     104    if (!current_user_can('publish_posts')) {
     105      die('Access Denied');
     106    }
     107  }
     108  else {
     109    die('Access Denied');
     110  }
    103111  global $wpdb;
    104112  require_once(WD_BWG_DIR . '/framework/WDWLibrary.php');
     
    120128
    121129function bwg_ajax() {
     130  if (function_exists('current_user_can')) {
     131    if (!current_user_can('publish_posts')) {
     132      die('Access Denied');
     133    }
     134  }
     135  else {
     136    die('Access Denied');
     137  }
    122138  global $wpdb;
    123139  require_once(WD_BWG_DIR . '/framework/WDWLibrary.php');
     
    399415    `published` tinyint(1) NOT NULL,
    400416    PRIMARY KEY (`id`)
    401   ) ENGINE=MyISAM  DEFAULT CHARSET=utf8;";
     417  ) DEFAULT CHARSET=utf8;";
    402418  $wpdb->query($bwg_gallery);
    403419  $bwg_album = "CREATE TABLE IF NOT EXISTS `" . $wpdb->prefix . "bwg_album` (
     
    412428    `published` tinyint(1) NOT NULL,
    413429    PRIMARY KEY (`id`)
    414   ) ENGINE=MyISAM  DEFAULT CHARSET=utf8;";
     430  ) DEFAULT CHARSET=utf8;";
    415431  $wpdb->query($bwg_album);
    416432  $bwg_album_gallery = "CREATE TABLE IF NOT EXISTS `" . $wpdb->prefix . "bwg_album_gallery` (
     
    421437    `order` bigint(20) NOT NULL,
    422438    PRIMARY KEY (`id`)
    423   ) ENGINE=MyISAM  DEFAULT CHARSET=utf8;";
     439  ) DEFAULT CHARSET=utf8;";
    424440  $wpdb->query($bwg_album_gallery);
    425441  $bwg_image = "CREATE TABLE IF NOT EXISTS `" . $wpdb->prefix . "bwg_image` (
     
    445461    `redirect_url` varchar(255) NOT NULL,
    446462    PRIMARY KEY (`id`)
    447   ) ENGINE=MyISAM  DEFAULT CHARSET=utf8;";
     463  ) DEFAULT CHARSET=utf8;";
    448464  $wpdb->query($bwg_image);
    449465  $bwg_image_tag = "CREATE TABLE IF NOT EXISTS `" . $wpdb->prefix . "bwg_image_tag` (
     
    453469    `gallery_id` bigint(20) NOT NULL,
    454470    PRIMARY KEY (`id`)
    455   ) ENGINE=MyISAM  DEFAULT CHARSET=utf8;";
     471  ) DEFAULT CHARSET=utf8;";
    456472  $wpdb->query($bwg_image_tag);
    457473  $bwg_option = "CREATE TABLE IF NOT EXISTS `" . $wpdb->prefix . "bwg_option` (
     
    567583    `show_image_counts` tinyint(1) NOT NULL,
    568584    PRIMARY KEY (`id`)
    569   ) ENGINE=MyISAM  DEFAULT CHARSET=utf8;";
     585  ) DEFAULT CHARSET=utf8;";
    570586  $wpdb->query($bwg_option);
    571587  $bwg_theme = "CREATE TABLE IF NOT EXISTS `" . $wpdb->prefix . "bwg_theme` (
     
    944960    `default_theme` tinyint(1) NOT NULL,
    945961    PRIMARY KEY (`id`)
    946   ) ENGINE=MyISAM  DEFAULT CHARSET=utf8;";
     962  ) DEFAULT CHARSET=utf8;";
    947963  $wpdb->query($bwg_theme);
    948964  $bwg_image_comment = "CREATE TABLE IF NOT EXISTS `" . $wpdb->prefix . "bwg_image_comment` (
     
    956972    `published` tinyint(1) NOT NULL,
    957973    PRIMARY KEY (`id`)
    958   ) ENGINE=MyISAM  DEFAULT CHARSET=utf8;";
     974  ) DEFAULT CHARSET=utf8;";
    959975  $wpdb->query($bwg_image_comment);
    960976
     
    966982    `date` varchar(64) NOT NULL,
    967983    PRIMARY KEY (`id`)
    968   ) ENGINE=MyISAM  DEFAULT CHARSET=utf8;";
     984  ) DEFAULT CHARSET=utf8;";
    969985  $wpdb->query($bwg_image_rate);
    970986
  • photo-gallery/trunk/readme.txt

    r976518 r986500  
    44Tags: photo, photo gallery, image gallery, video gallery, gallery, galleries,  wordpress gallery plugin, images gallery, album, photo albums, simple gallery, best gallery plugin, free photo gallery, wp gallery, wordpress gallery, website gallery, gallery shortcode, best gallery, picture, pictures, gallery slider, photo album, photogallery, widget gallery, image, images, photos,  gallery lightbox, photoset, wordpress photo gallery plugin, wp gallery plugins, responsive wordpress photo gallery, media, image album, filterable gallery, banner rotator, fullscreen gallery, fotogalerie, galleria, galerie, galeri
    55Requires at least: 3.0
    6 Tested up to: 3.9
    7 Stable tag: 1.1.30
     6Tested up to: 4.0
     7Stable tag: 1.1.31
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1515https://www.youtube.com/watch?v=4Mxg0FsFZZE&index=5&list=PLnxWPiY5tLFUsFI67acGEPAqoDMZqss5F
    1616
    17 ### [WordPress Photo Gallery](http://web-dorado.com/products/wordpress-photo-gallery-plugin.html) 
     17[WordPress Photo Gallery](http://web-dorado.com/products/wordpress-photo-gallery-plugin.html) 
    1818[Demo](http://wpdemo.web-dorado.com/gallery/) 
    1919[Demo Admin](http://wpdemo.web-dorado.com/wp-admin/admin.php?page=galleries_bwg) 
  • photo-gallery/trunk/update/bwg_update.php

    r975728 r986500  
    7575      `date` varchar(64) NOT NULL,
    7676      PRIMARY KEY (`id`)
    77     ) ENGINE=MyISAM  DEFAULT CHARSET=utf8;";
     77    ) DEFAULT CHARSET=utf8;";
    7878    $wpdb->query($bwg_image_rate);
    7979    // Add average rating, rating count, hit counter to image table.
Note: See TracChangeset for help on using the changeset viewer.