Changeset 2955552
- Timestamp:
- 08/18/2023 08:10:48 PM (3 years ago)
- Location:
- wpdirauth
- Files:
-
- 4 edited
- 1 copied
-
tags/1.10.7 (copied) (copied from wpdirauth/trunk)
-
tags/1.10.7/readme.txt (modified) (2 diffs)
-
tags/1.10.7/wpDirAuth.php (modified) (5 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/wpDirAuth.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wpdirauth/tags/1.10.7/readme.txt
r2955527 r2955552 4 4 Requires at least: 2.2 5 5 Tested up to: 6.3 6 Stable tag: 1.10. 66 Stable tag: 1.10.7 7 7 WordPress directory authentication plugin through LDAP and LDAPS (SSL). 8 8 == Description == … … 70 70 71 71 == 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. 72 74 = 1.10.6 = 73 75 + 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 16 16 * 17 17 * @package wpDirAuth 18 * @version 1.10. 618 * @version 1.10.7 19 19 * @see http://wpdirauth.gilzow.com/ 20 20 * @license GPLv2 or later <https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html> … … 64 64 Sun Java System Directory Server, etc. 65 65 Originally revived and upgraded from a patched version of wpLDAP. 66 Version: 1.10. 666 Version: 1.10.7 67 67 Author: Paul Gilzow 68 68 Author URI: http://www.gilzow.com/ … … 82 82 * wpDirAuth version. 83 83 */ 84 define('WPDIRAUTH_VERSION', '1.10. 6');84 define('WPDIRAUTH_VERSION', '1.10.7'); 85 85 86 86 /** … … 875 875 876 876 $strPHPWarn = ''; 877 if(version_compare( PHP_VERSION, ' 5.3', '<' )){877 if(version_compare( PHP_VERSION, '8.0.0', '<' )){ 878 878 $strPHPWarn = <<<____PHPWARN 879 879 <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.0882 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 released883 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. 884 884 </div> 885 885 ____PHPWARN; … … 1823 1823 } 1824 1824 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); 1826 1832 } 1827 1833 -
wpdirauth/trunk/readme.txt
r2955527 r2955552 4 4 Requires at least: 2.2 5 5 Tested up to: 6.3 6 Stable tag: 1.10. 66 Stable tag: 1.10.7 7 7 WordPress directory authentication plugin through LDAP and LDAPS (SSL). 8 8 == Description == … … 70 70 71 71 == 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. 72 74 = 1.10.6 = 73 75 + 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 16 16 * 17 17 * @package wpDirAuth 18 * @version 1.10. 618 * @version 1.10.7 19 19 * @see http://wpdirauth.gilzow.com/ 20 20 * @license GPLv2 or later <https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html> … … 64 64 Sun Java System Directory Server, etc. 65 65 Originally revived and upgraded from a patched version of wpLDAP. 66 Version: 1.10. 666 Version: 1.10.7 67 67 Author: Paul Gilzow 68 68 Author URI: http://www.gilzow.com/ … … 82 82 * wpDirAuth version. 83 83 */ 84 define('WPDIRAUTH_VERSION', '1.10. 6');84 define('WPDIRAUTH_VERSION', '1.10.7'); 85 85 86 86 /** … … 875 875 876 876 $strPHPWarn = ''; 877 if(version_compare( PHP_VERSION, ' 5.3', '<' )){877 if(version_compare( PHP_VERSION, '8.0.0', '<' )){ 878 878 $strPHPWarn = <<<____PHPWARN 879 879 <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.0882 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 released883 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. 884 884 </div> 885 885 ____PHPWARN; … … 1823 1823 } 1824 1824 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); 1826 1832 } 1827 1833
Note: See TracChangeset
for help on using the changeset viewer.