Skip to content

Commit

Permalink
Allow ISC license
Browse files Browse the repository at this point in the history
  • Loading branch information
ernilambar committed Jan 27, 2025
1 parent a1ecb29 commit e0e57ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/Traits/License_Utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ protected function is_license_valid_identifier( $license ) {
* @return bool true if the license is GPL compatible, otherwise false.
*/
protected function is_license_gpl_compatible( $license ) {
$match = preg_match( '/GPL|GNU|MIT|FreeBSD|New BSD|BSD-3-Clause|BSD 3 Clause|OpenLDAP|Expat|Apache|MPL20/im', $license );
$match = preg_match( '/GPL|GNU|MIT|FreeBSD|New BSD|BSD-3-Clause|BSD 3 Clause|OpenLDAP|Expat|Apache|MPL20|ISC/im', $license );

return ( false === $match || 0 === $match ) ? false : true;
}
Expand Down

0 comments on commit e0e57ac

Please sign in to comment.