Created
August 14, 2021 00:43
-
-
Save henshaw/9a7747f89c9a33b007d7a94deaf152ad to your computer and use it in GitHub Desktop.
WordPress Plugin Directory Trademark Abuse
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Domains from which exceptions would be accepted. | |
$trademark_exceptions = array( | |
'yoast.com' => array( 'yoast' ), | |
'automattic.com' => array( 'akismet', 'akismet-', 'jetpack', 'jetpack-', 'wordpress', 'wp-', 'woo', 'woo-', 'woocommerce', 'woocommerce-' ), | |
'facebook.com' => array( 'facebook', 'instagram', 'oculus', 'whatsapp' ), | |
'support.microsoft.com' => array( 'bing-', 'microsoft-' ), | |
'trustpilot.com' => array( 'trustpilot' ), | |
'microsoft.com' => array( 'bing-', 'microsoft-' ), | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Referenced from WordPress sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-upload-handler.php