Plugin Directory

Changeset 1237434


Ignore:
Timestamp:
09/03/2015 03:55:40 PM (11 years ago)
Author:
freetobook
Message:

Changed deprecated PHP4 style constructors to construct

Location:
freetobook-booking-button/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • freetobook-booking-button/trunk/freetobook-widget.php

    r1105925 r1237434  
    44Plugin URI: http://www.freetobook.com/widget
    55Description: Booking Widget for wordpress
    6 Version:  1.0.3
     6Version:  1.0.4
    77Author: freetobook.com
    88Author URI: http://www.freetobook.com
     
    2121
    2222       
    23         function FreetobookWidget()
     23        function __construct()
    2424        {
    2525            $this->widget_key=get_option('ftb_widget_key');
     
    3434            /* Widget control settings. */
    3535            $control_ops = array( 'width' => 300, 'height' => 350, 'id_base' => 'freetobook' );   
    36             $this->WP_Widget('freetobook','Freetobook Widget',$widget_ops,$control_ops);
     36            parent::__construct('freetobook','Freetobook Widget',$widget_ops,$control_ops);
    3737           
    3838        }
  • freetobook-booking-button/trunk/readme.txt

    r1105925 r1237434  
    33Tags: freetobook, booking system, online booking,pms, web booking, booking engine,booking button
    44Requires at least: 3.0
    5 Tested up to: 4.1.1
     5Tested up to: 4.3
    66Stable tag: trunk
    77
     
    3232== Changelog ==
    3333
     34= 1.0.4 =
     35* Changed deprecated PHP4 style constructors to __construct
    3436
    35 =1.0.2=
     37= 1.0.2 =
    3638* Added support for loading stylesheet and javascript over https
    3739
    38 =1.0.1=
     40= 1.0.1 =
    3941* Documentation fixes
    4042
Note: See TracChangeset for help on using the changeset viewer.