Plugin Directory

Changeset 3220519


Ignore:
Timestamp:
01/11/2025 03:54:42 AM (15 months ago)
Author:
GamerZ
Message:

Deploying wp-useronline from GitHub

Location:
wp-useronline/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wp-useronline/trunk/readme.txt

    r3211344 r3220519  
    55Requires at least: 4.6 
    66Tested up to: 6.7 
    7 Stable tag: 2.88.8 
     7Stable tag: 2.88.9 
    88License: GPLv2 or later 
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html 
     
    8686
    8787## Changelog
     88### 2.88.9
     89* FIXED: Check scbWidget exists first before loading scbWidget. Props @whiteshadow.
     90
    8891### 2.88.8
    8992* FIXED: Remove widget code from useronline_init
  • wp-useronline/trunk/wp-useronline.php

    r3211344 r3220519  
    44Plugin URI: https://lesterchan.net/portfolio/programming/php/
    55Description: Enable you to display how many users are online on your Wordpress site
    6 Version: 2.88.8
     6Version: 2.88.9
    77Author: Lester 'GaMerZ' Chan
    88Author URI: https://lesterchan.net
     
    9494add_action( 'plugins_loaded', 'useronline_init_widget' );
    9595function useronline_init_widget() {
    96     require_once __DIR__ . '/scb/Widget.php';
     96    if ( ! class_exists( 'scbWidget', false ) ) {
     97        require_once __DIR__ . '/scb/Widget.php';
     98    }
    9799    require_once __DIR__ . '/widget.php';
    98100    scbWidget::init( 'UserOnline_Widget', __FILE__, 'useronline' );
Note: See TracChangeset for help on using the changeset viewer.