Plugin Directory

Changeset 3076138


Ignore:
Timestamp:
04/24/2024 03:17:59 AM (2 years ago)
Author:
dwc
Message:

Add PHP 7/8 compatibility by updating constructor to use construct

https://github.com/dwc/wordpress-plugin-http-authentication/pull/2

Location:
http-authentication/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • http-authentication/trunk/http-authentication.php

    r560906 r3076138  
    1616    var $options;
    1717
    18     function HTTPAuthenticationPlugin() {
     18    function __construct() {
    1919        $this->options = get_option($this->option_name);
    2020
  • http-authentication/trunk/options-page.php

    r552757 r3076138  
    77    var $title;
    88
    9     function HTTPAuthenticationOptionsPage($plugin, $group, $page, $options, $title = 'HTTP Authentication') {
     9    function __construct($plugin, $group, $page, $options, $title = 'HTTP Authentication') {
    1010        $this->plugin = $plugin;
    1111        $this->group = $group;
  • http-authentication/trunk/readme.txt

    r563342 r3076138  
    44Requires at least: 3.1
    55Tested up to: 3.4
    6 Stable tag: 4.5
     6Stable tag: 4.6
    77
    88Use an external authentication source in WordPress.
     
    136136
    137137== Changelog ==
     138
     139= 4.6 =
     140* Add PHP 7/8 compatibility by updating constructor to use __construct
    138141
    139142= 4.5 =
Note: See TracChangeset for help on using the changeset viewer.