WordPress.org

Plugin Directory

Changeset 1251850


Ignore:
Timestamp:
09/23/15 08:34:33 (20 months ago)
Author:
zackdesign
Message:

minor update to PHP 5 v 3.1.6

Location:
multiple-category-selection-widget
Files:
6 added
2 edited

Legend:

Unmodified
Added
Removed
  • multiple-category-selection-widget/trunk/mcsw.php

    r969373 r1251850  
    22/* 
    33Plugin Name: Multiple Category Selection Widget 
    4 Plugin URI: http://wp.zackdesign.biz/category-selection-widget/ 
     4Plugin URI: https://zackdesign.biz 
    55Description: Select multiple categories at once using this widget! 
    66Author: Isaac Rowntree 
    7 Version: 3.1.5 
    8 Author URI: http://zackdesign.biz 
    9  
    10     Copyright (c) 2005, 2006 Isaac Rowntree (http://zackdesign.biz) 
     7Version: 3.1.6 
     8Author URI: https://zackdesign.biz 
     9 
     10    Copyright (c) 2005, 2006 Isaac Rowntree (https://zackdesign.biz) 
    1111    QuickShop is released under the GNU General Public 
    1212    License (GPL) http://www.gnu.org/licenses/gpl.txt 
     
    3535             
    3636            $sql = ''; 
    37               $count = 0; 
     37            $count = 0; 
    3838            foreach ($cats as $cat) 
    3939            { 
     
    229229class MCSWwidget extends WP_Widget { 
    230230    /** constructor */ 
    231     function MCSWwidget() { 
    232         parent::WP_Widget(false, $name = 'Multi-Category');  
     231    public function __construct() { 
     232        parent::__construct(false, $name = 'Multi-Category');    
    233233    } 
    234234 
    235235    /** @see WP_Widget::widget */ 
    236     function widget($args, $instance) {  
    237      
     236    public function widget($args, $instance) {   
    238237        prepare_mcsw_form($args, $instance); 
    239          
    240238    } 
    241239 
    242240    /** @see WP_Widget::update */ 
    243     function update($new_instance, $old_instance) {              
     241    public function update($new_instance, $old_instance) {               
    244242        return $new_instance; 
    245243    } 
    246244 
    247245    /** @see WP_Widget::form */ 
    248     function form($instance) {               
     246    public function form($instance) {                
    249247        if (isset($instance['title'])) : $title = esc_attr($instance['title']); else: $title = ''; endif; 
    250248        if (isset($instance['excluded_cats'])) : $excluded_cats = esc_attr($instance['excluded_cats']); else: $excluded_cats = ''; endif; 
  • multiple-category-selection-widget/trunk/readme.txt

    r969369 r1251850  
    11=== Multiple Category Selection Widget === 
    22Contributors: zackdesign 
    3 http://zackdesign.biz 
    4 Donate link: http://zackdesign.biz 
     3https://zackdesign.biz 
     4Donate link: https://zackdesign.biz 
    55Tags: widget, plugin, category, post, subcategory, drill, sidebar 
    66Requires at least: 2.8 
    7 Tested up to: 3.8 
    8 Stable tag: 3.1.5 
     7Tested up to: 4.3.1 
     8Stable tag: 3.1.6 
    99 
    1010This widget makes it easy for your site users to drill down into your Wordpress post categories. 
     
    4646== Screenshots == 
    4747 
    48 I haven't provided screenshots but if you want help please visit my site or the support forums. 
    49  
    50 [Zack Design](http://zackdesign.biz "Zack Design") 
     48I haven't provided screenshots but if you want help please visit my site and click on Feedback and Support. 
     49 
     50[Zack Design](https://zackdesign.biz "Zack Design") 
    5151 
    5252== Installation == 
     
    7474== Changelog == 
    7575 
     763.1.6 
     77 
     78- Tested in WP 4.3.1 
     79- Updated the Wordpress Widget implementation to use the latest PHP 5 methodology 
     80 
    76813.1.5 
    7782 
Note: See TracChangeset for help on using the changeset viewer.