Plugin Directory

Changeset 2955552


Ignore:
Timestamp:
08/18/2023 08:10:48 PM (3 years ago)
Author:
gilzow
Message:

Update to version 1.10.7 from GitHub

Location:
wpdirauth
Files:
4 edited
1 copied

Legend:

Unmodified
Added
Removed
  • wpdirauth/tags/1.10.7/readme.txt

    r2955527 r2955552  
    44Requires at least: 2.2
    55Tested up to: 6.3
    6 Stable tag: 1.10.6
     6Stable tag: 1.10.7
    77WordPress directory authentication plugin through LDAP and LDAPS (SSL).
    88== Description ==
     
    7070
    7171== Changelog ==
     72= 1.10.7 =
     73+ Bug fix: Corrects an issue with parameter order with implode() for users on PHP v8.0 and above. Apologies for two updates in one day. Big shoutout to https://www.forumsys.com/ for providing a publicly accessible LDAP instance for testing purposes.
    7274= 1.10.6 =
    7375+ Bug Fix: Reset Password button was showing up in ad-authenticated users' profile due to a removed global variable, that was removed starting at WordPress v6. Huge shout-out to user @silsbyc for assisting me in troubleshooting this one.
  • wpdirauth/tags/1.10.7/wpDirAuth.php

    r2955527 r2955552  
    1616 *
    1717 * @package wpDirAuth
    18  * @version 1.10.6
     18 * @version 1.10.7
    1919 * @see http://wpdirauth.gilzow.com/
    2020 * @license GPLv2 or later <https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html>
     
    6464             Sun Java System Directory Server, etc.
    6565             Originally revived and upgraded from a patched version of wpLDAP.
    66 Version: 1.10.6
     66Version: 1.10.7
    6767Author: Paul Gilzow
    6868Author URI: http://www.gilzow.com/
     
    8282 * wpDirAuth version.
    8383 */
    84 define('WPDIRAUTH_VERSION', '1.10.6');
     84define('WPDIRAUTH_VERSION', '1.10.7');
    8585
    8686/**
     
    875875
    876876        $strPHPWarn = '';
    877         if(version_compare( PHP_VERSION, '5.3', '<' )){
     877        if(version_compare( PHP_VERSION, '8.0.0', '<' )){
    878878            $strPHPWarn = <<<____PHPWARN
    879879            <div class="error">
    880                 <h3>PHP 5.2.X WARNING</h3>
    881                 <p>Unfortunately, trying to support newer versions of PHP (the upcoming release of 7.2) as well as older version of PHP has become unsustainable. As of wpDirAuth version 2.0
    882                  I will no longer be able to support versions of PHP less than 5.3.X.  I feel an obligation to strongly suggest you upgrade your PHP install considering 5.2 was released
    883                  eleven years ago and has been without support for over six years.
     880                <h3>PHP 7.4.X WARNING</h3>
     881                <p>Unfortunately, trying to support newer versions of PHP (the upcoming release of 8.3) as well as older version of PHP has become unsustainable. As of wpDirAuth version 2.0
     882                 I will no longer be able to support versions of PHP less than 8.0.0.  I feel an obligation to strongly suggest you upgrade your PHP install considering 7.4 reached end-of-life
     883                 almost two years ago. If you are still using this plugin with an older version of PHP, please contact me at wpdirauth@gilzow.com to discuss options.
    884884            </div>
    885885____PHPWARN;
     
    18231823        }
    18241824
    1825         return sprintf($strMsg,$strUserID,$strSSOID,implode($arySiteMsgParts,', '),$strExtraMsg);
     1825        if (PHP_VERSION_ID < 70400) {
     1826            $strMultisiteMsg = implode($arySiteMsgParts,', ');
     1827        } else {
     1828            $strMultisiteMsg = implode(', ', $arySiteMsgParts);
     1829        }
     1830
     1831        return sprintf($strMsg,$strUserID,$strSSOID,$strMultisiteMsg,$strExtraMsg);
    18261832    }
    18271833
  • wpdirauth/trunk/readme.txt

    r2955527 r2955552  
    44Requires at least: 2.2
    55Tested up to: 6.3
    6 Stable tag: 1.10.6
     6Stable tag: 1.10.7
    77WordPress directory authentication plugin through LDAP and LDAPS (SSL).
    88== Description ==
     
    7070
    7171== Changelog ==
     72= 1.10.7 =
     73+ Bug fix: Corrects an issue with parameter order with implode() for users on PHP v8.0 and above. Apologies for two updates in one day. Big shoutout to https://www.forumsys.com/ for providing a publicly accessible LDAP instance for testing purposes.
    7274= 1.10.6 =
    7375+ Bug Fix: Reset Password button was showing up in ad-authenticated users' profile due to a removed global variable, that was removed starting at WordPress v6. Huge shout-out to user @silsbyc for assisting me in troubleshooting this one.
  • wpdirauth/trunk/wpDirAuth.php

    r2955527 r2955552  
    1616 *
    1717 * @package wpDirAuth
    18  * @version 1.10.6
     18 * @version 1.10.7
    1919 * @see http://wpdirauth.gilzow.com/
    2020 * @license GPLv2 or later <https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html>
     
    6464             Sun Java System Directory Server, etc.
    6565             Originally revived and upgraded from a patched version of wpLDAP.
    66 Version: 1.10.6
     66Version: 1.10.7
    6767Author: Paul Gilzow
    6868Author URI: http://www.gilzow.com/
     
    8282 * wpDirAuth version.
    8383 */
    84 define('WPDIRAUTH_VERSION', '1.10.6');
     84define('WPDIRAUTH_VERSION', '1.10.7');
    8585
    8686/**
     
    875875
    876876        $strPHPWarn = '';
    877         if(version_compare( PHP_VERSION, '5.3', '<' )){
     877        if(version_compare( PHP_VERSION, '8.0.0', '<' )){
    878878            $strPHPWarn = <<<____PHPWARN
    879879            <div class="error">
    880                 <h3>PHP 5.2.X WARNING</h3>
    881                 <p>Unfortunately, trying to support newer versions of PHP (the upcoming release of 7.2) as well as older version of PHP has become unsustainable. As of wpDirAuth version 2.0
    882                  I will no longer be able to support versions of PHP less than 5.3.X.  I feel an obligation to strongly suggest you upgrade your PHP install considering 5.2 was released
    883                  eleven years ago and has been without support for over six years.
     880                <h3>PHP 7.4.X WARNING</h3>
     881                <p>Unfortunately, trying to support newer versions of PHP (the upcoming release of 8.3) as well as older version of PHP has become unsustainable. As of wpDirAuth version 2.0
     882                 I will no longer be able to support versions of PHP less than 8.0.0.  I feel an obligation to strongly suggest you upgrade your PHP install considering 7.4 reached end-of-life
     883                 almost two years ago. If you are still using this plugin with an older version of PHP, please contact me at wpdirauth@gilzow.com to discuss options.
    884884            </div>
    885885____PHPWARN;
     
    18231823        }
    18241824
    1825         return sprintf($strMsg,$strUserID,$strSSOID,implode($arySiteMsgParts,', '),$strExtraMsg);
     1825        if (PHP_VERSION_ID < 70400) {
     1826            $strMultisiteMsg = implode($arySiteMsgParts,', ');
     1827        } else {
     1828            $strMultisiteMsg = implode(', ', $arySiteMsgParts);
     1829        }
     1830
     1831        return sprintf($strMsg,$strUserID,$strSSOID,$strMultisiteMsg,$strExtraMsg);
    18261832    }
    18271833
Note: See TracChangeset for help on using the changeset viewer.