Plugin Directory

Changeset 3064939


Ignore:
Timestamp:
04/04/2024 05:21:09 PM (23 months ago)
Author:
MarkODonnell
Message:

Releasing 1.5.1. Minor corrections for PhP 8

Location:
mstw-schedules-scoreboards/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • mstw-schedules-scoreboards/trunk/includes/mstw-ss-cdt-widget.php

    r1228870 r3064939  
    88 *
    99 *  MSTW Wordpress Plugins (http://shoalsummitsolutions.com)
    10  *  Copyright 2014-15 Mark O'Donnell ([email protected])
     10 *  Copyright 2014-24 Mark O'Donnell ([email protected])
    1111 *
    1212 *  This program is free software: you can redistribute it and/or modify
     
    2929 * construct the widget
    3030 *------------------------------------------------------------------*/ 
    31     function mstw_ss_cdt_widget( ) {
     31    //function mstw_ss_cdt_widget( ) {
     32  function __construct( $name = 'mstw_ss_cdt_widget' ) {
    3233        // processes the widget
    3334         $widget_ops = array(
     
    3536            'description' => __( 'Display a countdown timer to the next scheduled game.', 'mstw-schedules-scoreboards' ),
    3637            );
    37         WP_Widget::__construct( 'mstw_ss_cdt_widget', 'MSTW Countdown Timer', $widget_ops );
     38       
     39        //WP_Widget::__construct( 'mstw_ss_cdt_widget', 'MSTW Countdown Timer', $widget_ops );
     40        parent::__construct( 'mstw_ss_cdt_widget', 'MSTW Countdown Timer', $widget_ops );
     41       
    3842    }
    3943   
  • mstw-schedules-scoreboards/trunk/includes/mstw-ss-schedule-widget.php

    r1235893 r3064939  
    77 *
    88 *  MSTW Wordpress Plugins (http://shoalsummitsolutions.com)
    9  *  Copyright 2014-15 Mark O'Donnell ([email protected])
     9 *  Copyright 2014-24 Mark O'Donnell ([email protected])
    1010 *
    1111 *  This program is free software: you can redistribute it and/or modify
     
    2626
    2727    // constructs a new widget instance
    28     public function mstw_ss_sched_widget( ) {
    29         $widget_ops = array(
    30             'classname' => 'mstw_ss_sched_widget_class',
    31             'description' => __( 'Display (simple) game schedules.', 'mstw-schedules-scoreboards' ),
    32             );
    33         WP_Widget::__construct( 'mstw_ss_sched_widget', 'MSTW Game Schedules', $widget_ops );
     28    //public function mstw_ss_sched_widget( ) {
     29        function __construct( $name = 'mstw_ss_sched_widget' ) {
     30            //mstw_log_msg( "mstw_ss_sched_widget.mstw_ss_sched_widget:" );
     31           
     32      $widget_ops = array(
     33                'classname'   => 'mstw_ss_sched_widget_class',
     34                'description' => __( 'Display (simple) game schedules.', 'mstw-schedules-scoreboards' ),
     35            );
     36           
     37            parent::__construct( 'mstw_ss_sched_widget', 'MSTW Game Schedules', $widget_ops );
     38           
    3439    }
    3540 
  • mstw-schedules-scoreboards/trunk/mstw-schedules-scoreboards.php

    r3050129 r3064939  
    44Plugin URI: http://wordpress.org/extend/plugins/
    55Description: Replaces the MSTW Game Schedules plugin. Includes game schedules and scoreboards.
    6 Version: 1.5
     6Version: 1.5.1
    77Author: Mark O'Donnell
    88Author URI: http://shoalsummitsolutions.com
     
    1212/*---------------------------------------------------------------------------
    1313 *  MSTW Wordpress Plugins (http://shoalsummitsolutions.com)
    14  *  Copyright 2014-15 Mark O'Donnell ([email protected])
     14 *  Copyright 2014-24 Mark O'Donnell ([email protected])
    1515 *
    1616 *  This program is free software: you can redistribute it and/or modify
  • mstw-schedules-scoreboards/trunk/readme.txt

    r3050130 r3064939  
    55Requires at least: 5.3
    66Tested up to: 6.4.3
    7 Stable tag: 1.5
     7Stable tag: 1.5.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    5252== Changelog ==
    5353
     54= 1.5.1 =
     55*More minor code fixed for PHP 8 (widgets)
     56
    5457= 1.5 =
    5558*Corrected various (minor) code issues that caused problems with PHP 8
Note: See TracChangeset for help on using the changeset viewer.