Plugin Directory

Changeset 2649216


Ignore:
Timestamp:
12/26/2021 06:51:19 PM (4 years ago)
Author:
marcusbs
Message:

PHP 8 compatibility

Location:
knr-author-list-widget/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • knr-author-list-widget/trunk/axactAuthorListWidget.php

    r1979550 r2649216  
    33Plugin Name: Axact Author List
    44Description: Lists the authors, contributors, editors, and administrators for the blog.
    5 Author: Yumna Tatheer
    6 Author URI: http://axactsoft.com
    7 Version: 3.1.0
    8 Plugin URI: http://axactsoft.com
     5Author: Yamna Tatheer
     6Author URI: https://theemeraldtech.com/
     7Version: 3.1.1
     8Plugin URI: https://theemeraldtech.com/
    99*/
    1010include(dirname(__FILE__).'/'.'axactAuthorList.php');
    1111
    1212class axactAuthorListWidget extends WP_Widget {
    13     public function axactAuthorListWidget() {
     13    public function __construct() {
    1414        parent::WP_Widget(false, 'Axact Author List');
    1515        $this->axact_checkDbSchema();
     
    365365}
    366366
    367 add_action('widgets_init', create_function('', 'return register_widget(\'axactAuthorListWidget\');'));
     367
     368add_action( 'widgets_init', function(){ return register_widget("axactAuthorListWidget");} );
    368369?>
  • knr-author-list-widget/trunk/readme.txt

    r2355628 r2649216  
    33Tags: author, list, sidebar, widget, ordered, sorted
    44Requires at least: 3.0
    5 Tested up to: 5.4
    6 Stable tag: 3.1.0
     5Tested up to: 5.8.2
     6Stable tag: 3.1.1
    77
    88Displays a list of authors, contributors, editors, and administrators on the blog as an ordered list, unordered list, or a dropdown list. You can use the ordered list to display a list of 'top authors' on the blog. Tweaked for performance and highly configurable.
     
    3030== Changelog ==
    3131
     32= 3.1.1 =
     33* Compatible with PHP 8
     34
    3235= 1.0 =
    3336* Author listing - displays a list of all authors and editors. This is an improvement over plugins that use the wp_list_authors especially if you've got a lot of subscribers on your blog. This was orignally developed by Nitin Reddy, but didn't work with latest wordpress version, so I am improving it from now on.
Note: See TracChangeset for help on using the changeset viewer.