Changeset 13659
- Timestamp:
- 05/03/2024 02:31:58 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-trademarks.php
r13465 r13659 113 113 'wocommerce', 114 114 'woocom-', 115 'woocommerce', // technically ending with '-for-woocommerce' is allowed.115 'woocommerce', // technically ending with '-for-woocommerce' is allowed. 116 116 'woocomerce', 117 117 'woo-commerce', … … 146 146 'opera.com' => array( 'opera-' ), 147 147 'adobe.com' => array( 'adobe-' ), 148 'stripe.com' => array( 'stripe-' ), 149 150 // Published plugins can use 'wp-'. 151 'published-plugin' => array( 'wp-' ), 148 152 ); 149 153 … … 300 304 } 301 305 306 // A published plugin gets some exceptions too. 307 if ( $post && in_array( $post->post_status, [ 'publish', 'closed', 'disabled', 'approved' ] ) ) { 308 $exceptions[] = 'published-plugin'; 309 } 310 302 311 return array_unique( $exceptions ); 303 312 }
Note:
See TracChangeset
for help on using the changeset viewer.