Plugin Directory

Changeset 1805461


Ignore:
Timestamp:
01/18/2018 11:33:37 PM (8 years ago)
Author:
macguru2000
Message:

CataBlog Release 1.6.7: Use PHP5 way to define CataBlogWidget constructor

Location:
catablog/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • catablog/trunk/catablog.php

    r1033448 r1805461  
    44Plugin URI: http://catablog.illproductions.com/
    55Description: CataBlog is a comprehensive and effortless tool that helps you create, organize and share catalogs, stores, galleries and portfolios on your blog.
    6 Version: 1.6.6
     6Version: 1.6.7
    77Author: Zachary Segal
    88Author URI: http://catablog.illproductions.com/about/
  • catablog/trunk/lib/CataBlog.class.php

    r1033448 r1805461  
    55 * This file contains the core class for the CataBlog WordPress Plugin.
    66 * @author Zachary Segal <zac@illproductions.com>
    7  * @version 1.6.6
     7 * @version 1.6.7
    88 * @package catablog
    99 */
     
    1919   
    2020    // plugin version number and blog url
    21     private $version     = "1.6.6";
     21    private $version     = "1.6.7";
    2222    private $blog_url    = 'http://catablog.illproductions.com/';
    2323    private $debug       = false;
  • catablog/trunk/lib/CataBlogGallery.class.php

    r1033448 r1805461  
    55 * This file contains the class for each CataBlog Item that is fetched from the database.
    66 * @author Zachary Segal <zac@illproductions.com>
    7  * @version 1.6.6
     7 * @version 1.6.7
    88 * @package catablog
    99 */
  • catablog/trunk/lib/CataBlogItem.class.php

    r1033448 r1805461  
    55 * This file contains the class for each CataBlog Item that is fetched from the database.
    66 * @author Zachary Segal <zac@illproductions.com>
    7  * @version 1.6.6
     7 * @version 1.6.7
    88 * @package catablog
    99 */
  • catablog/trunk/lib/CataBlogWidget.class.php

    r1033448 r1805461  
    55 * This file contains the widget classes for the CataBlog WordPress Plugin.
    66 * @author Zachary Segal <zac@illproductions.com>
    7  * @version 1.6.6
     7 * @version 1.6.7
    88 * @package catablog
    99 */
     
    1111class CataBlogWidget extends WP_Widget {
    1212
    13     function CataBlogWidget() {
     13    function __construct() {
    1414        $widget_ops = array('classname' => 'CataBlogWidget', 'description' => __("Entries from your CataBlog Library", "catablog") );
    15         $this->WP_Widget('CataBlogWidget', __("CataBlog Catalog", "catablog"), $widget_ops);
     15        parent::__construct('CataBlogWidget', __("CataBlog Catalog", "catablog"), $widget_ops);
    1616    }
    1717
     
    236236class CataBlogCategoryWidget extends WP_Widget {
    237237
    238     function CataBlogCategoryWidget() {
     238    function __construct() {
    239239        $widget_ops = array('classname' => 'CataBlogCategoryWidget', 'description' => __("Categories from your CataBlog Library", "catablog") );
    240         $this->WP_Widget('CataBlogCategoryWidget', __("CataBlog Categories", "catablog"), $widget_ops);
     240        parent::__construct('CataBlogCategoryWidget', __("CataBlog Categories", "catablog"), $widget_ops);
    241241    }
    242242
  • catablog/trunk/readme.txt

    r1317687 r1805461  
    44Tags: plugin, admin, image, images, posts, Post, widget, links, catalog, gallery, portfolio, product catalog, discography, library, collection, store, organize, media, photo, thumbnail, product, listing, list, BuddyPress, ecommerce
    55Requires at least: 3.3
    6 Tested up to: 4.4
     6Tested up to: 4.9.2
    77Stable tag: 1.6.6
    88
     
    103103
    104104== Changelog ==
     105
     106= 1.6.7 =
     107* Fix: Use PHP5 syntax to define CataBlogWidget's constructor method
    105108
    106109= 1.6.6 =
Note: See TracChangeset for help on using the changeset viewer.