• Resolved Volkmar Kantor

    (@volkmar-kantor)


    Hi there,
    it would be great if could fix the deprecated notice that is thrown cause of the old constructor syntax.

    In password-protected/password-protected.php on line 52 please change:

    function Password_Protected() {//old
    function __construct() {//new

    Also in password-protected/admin/admin.php

    Thanks for the plugin.

    https://ww.wp.xz.cn/plugins/password-protected/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘deprecated notice on class constructor’ is closed to new replies.