Changeset 44061 for branches/4.4/src/wp-includes/class-wp.php
- Timestamp:
- 12/13/2018 01:46:24 AM (6 years ago)
- Location:
- branches/4.4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.4
-
branches/4.4/src/wp-includes/class-wp.php
r36064 r44061 279 279 if ( isset( $this->extra_query_vars[$wpvar] ) ) 280 280 $this->query_vars[$wpvar] = $this->extra_query_vars[$wpvar]; 281 elseif ( isset( $_GET[ $wpvar ] ) && isset( $_POST[ $wpvar ] ) && $_GET[ $wpvar ] !== $_POST[ $wpvar ] ) 282 wp_die( __( 'A variable mismatch has been detected.' ), __( 'Sorry, you are not allowed to view this item.' ), 400 ); 281 283 elseif ( isset( $_POST[$wpvar] ) ) 282 284 $this->query_vars[$wpvar] = $_POST[$wpvar];
Note: See TracChangeset
for help on using the changeset viewer.