|
163 | 163 | <!-- Themes except the twenty* themes. --> |
164 | 164 | <exclude-pattern>/src/wp-content/themes/(?!twenty)*</exclude-pattern> |
165 | 165 |
|
166 | | - <!-- Whitelist the WP DB Class and related tests for usage of direct database access functions. --> |
| 166 | + <!-- Allow the WP DB Class and related tests for usage of direct database access functions. --> |
167 | 167 | <rule ref="WordPress.DB.RestrictedFunctions"> |
168 | 168 | <exclude-pattern>/src/wp-includes/class-wpdb\.php</exclude-pattern> |
169 | 169 | <exclude-pattern>/tests/phpunit/tests/db/charset\.php</exclude-pattern> |
170 | 170 | </rule> |
171 | 171 |
|
172 | | - <!-- Whitelist the WP DB related tests for issues with prepared SQL placeholders |
| 172 | + <!-- Allow the WP DB related tests for issues with prepared SQL placeholders |
173 | 173 | (as the handling of those are being tested). --> |
174 | 174 | <rule ref="WordPress.DB.PreparedSQLPlaceholders.UnfinishedPrepare"> |
175 | 175 | <exclude-pattern>/tests/phpunit/tests/db\.php</exclude-pattern> |
|
185 | 185 | <exclude-pattern>/tests/phpunit/tests/multisite/site\.php</exclude-pattern> |
186 | 186 | </rule> |
187 | 187 |
|
188 | | - <!-- Whitelist the I18n functions file from issues identified by the I18n sniff |
| 188 | + <!-- Allow the I18n functions file for issues identified by the I18n sniff |
189 | 189 | (such as calling the low-level translate() function). --> |
190 | 190 | <rule ref="WordPress.WP.I18n"> |
191 | 191 | <exclude-pattern>/src/wp-includes/l10n\.php</exclude-pattern> |
|
207 | 207 |
|
208 | 208 | <!-- Exclude checking of line endings when reporting errors, but fix them when running phpcbf. |
209 | 209 | Git and SVN manage these pretty well cross-platform as "native". |
210 | | - Whitelist configuration files. --> |
| 210 | + Allow configuration files. --> |
211 | 211 | <rule ref="Generic.Files.LineEndings"> |
212 | 212 | <exclude-pattern>/wp-config\.php</exclude-pattern> |
213 | 213 | <exclude-pattern>/wp-config-sample\.php</exclude-pattern> |
|
227 | 227 | <exclude-pattern>/src/wp-content/themes/twentyfourteen/taxonomy-post_format\.php</exclude-pattern> |
228 | 228 | </rule> |
229 | 229 |
|
230 | | - <!-- Whitelist test classes for select sniffs. --> |
| 230 | + <!-- Allow test classes for select sniffs. --> |
231 | 231 | <rule ref="WordPress.Files.FileName"> |
232 | 232 | <properties> |
233 | 233 | <property name="custom_test_class_whitelist" type="array"> |
|
0 commit comments