Changeset 9783 for sites/trunk/wordpress.org/public_html/wp-content/mu-plugins/pub/wporg-bad-request.php
- Timestamp:
- 04/28/2020 06:37:24 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/mu-plugins/pub/wporg-bad-request.php
r9779 r9783 40 40 // Assumption: WP::$public_query_vars will only ever contain non-array query vars. 41 41 // Assumption invalid. Some fields are valid. 42 $array_fields = [ 'post_type' => true, 'cat' => true , 'author' => true];42 $array_fields = [ 'post_type' => true, 'cat' => true ]; 43 43 44 44 foreach ( (new \WP)->public_query_vars as $field ) {
Note: See TracChangeset
for help on using the changeset viewer.