Plugin Directory

Changeset 399441


Ignore:
Timestamp:
06/20/2011 11:53:36 PM (15 years ago)
Author:
CJ_Jackson
Message:

Updated to 0.1.11

Location:
html5avmanager
Files:
79 added
5 edited

Legend:

Unmodified
Added
Removed
  • html5avmanager/trunk/html5avmanager.php

    r398851 r399441  
    55  Plugin URI: http://cj-jackson.com/
    66  Description: A video manager with a Modal-View-Controller and video uploader.
    7   Version: 0.1.10
     7  Version: 0.1.11
    88  Author: Christopher John Jackson
    99  Author URI: http://cj-jackson.com/
     
    6565
    6666        // Set up param
    67         self::$param = array_merge($_POST, $_GET);
     67        self::$param = self::cleanParam();
    6868
    6969        self::$audio_type = array(
     
    150150        $db->updateTables();
    151151        unset($db);
     152    }
     153
     154    static private function cleanParam() {
     155        $param = array_merge($_POST, $_GET);
     156
     157        $param = is_array($param) ?
     158                array_map('stripslashes_deep', $param) :
     159                stripslashes($param);
     160
     161        return $param;
    152162    }
    153163
  • html5avmanager/trunk/lib/model/html5av_audio_video.php

    r397524 r399441  
    2121
    2222    public function getType() {
    23         return stripslashes($this->type);
     23        return $this->type;
    2424    }
    2525
     
    2929
    3030    public function getPosterPath() {
    31         return stripslashes($this->poster_path);
     31        return $this->poster_path;
    3232    }
    3333
     
    3737
    3838    public function getPosterFilename() {
    39         return stripslashes($this->poster_filename);
     39        return $this->poster_filename;
    4040    }
    4141
     
    6464    public function getView() {
    6565        if ($this->view != '') {
    66             return stripslashes($this->view);
     66            return $this->view;
    6767        } else {
    6868            return false;
     
    7575
    7676    public function getTitle() {
    77         return stripslashes($this->title);
     77        return $this->title;
    7878    }
    7979
     
    8383
    8484    public function getAlt() {
    85         return stripslashes($this->alt);
     85        return $this->alt;
    8686    }
    8787
  • html5avmanager/trunk/lib/model/html5av_source.php

    r397041 r399441  
    2727
    2828    public function getType() {
    29         return stripslashes($this->type);
     29        return $this->type;
    3030    }
    3131
     
    5151
    5252    public function getExternalUrl() {
    53         return stripslashes($this->external_url);
     53        return $this->external_url;
    5454    }
    5555
     
    5959
    6060    public function getUploadPath() {
    61         return stripslashes($this->upload_path);
     61        return $this->upload_path;
    6262    }
    6363
     
    6767
    6868    public function getUploadFilename() {
    69         return stripslashes($this->upload_filename);
     69        return $this->upload_filename;
    7070    }
    7171
  • html5avmanager/trunk/lib/model/html5av_track.php

    r397041 r399441  
    5353
    5454    public function getExternalUrl() {
    55         return stripslashes($this->external_url);
     55        return $this->external_url;
    5656    }
    5757
     
    6161
    6262    public function getUploadPath() {
    63         return stripslashes($this->upload_path);
     63        return $this->upload_path;
    6464    }
    6565
     
    6969
    7070    public function getUploadFilename() {
    71         return stripslashes($this->upload_filename);
     71        return $this->upload_filename;
    7272    }
    7373
     
    7777
    7878    public function getSrclang() {
    79         return stripslashes($this->srclang);
     79        return $this->srclang;
    8080    }
    8181
     
    8585
    8686    public function getLabel() {
    87         return stripslashes($this->label);
     87        return $this->label;
    8888    }
    8989
  • html5avmanager/trunk/readme.txt

    r398851 r399441  
    55Requires at least: 2.7
    66Tested up to: 3.2
    7 Stable tag: 0.1.10
     7Stable tag: 0.1.11
    88
    99A HTML5 Audio and Video manager that take full advantage of
     
    6262== Changelog ==
    6363
     64= 0.1.11 =
     65* Unquoted magic quotes that WordPress loves to use, Thank you WordPress!
     66
    6467= 0.1.10 =
    6568* Updated SQL to force 'utf8_general_ci', no longer relies on WordPress config
Note: See TracChangeset for help on using the changeset viewer.